Operating System

[Function List]

Address Conversion

OSPhysicalToCached
OSPhysicalToUncached
OSCachedToPhysical
OSUncachedToPhysical
OSCachedToUncached
OSUncachedToCached

OSRoundUp32B
OSRoundDown32B

Alarms

OSCancelAlarm
OSCancelAlarms
OSCreateAlarm
OSSetAlarm
OSSetAlarmTag
OSSetPeriodicAlarm
OSSetAlarmUserData
OSGetAlarmUserData

Arena

OSAllocFromMEM1ArenaHi
OSAllocFromMEM1ArenaLo
OSAllocFromMEM2ArenaHi
OSAllocFromMEM2ArenaLo
OSGetMEM1ArenaHi
OSGetMEM1ArenaLo
OSGetMEM2ArenaHi
OSGetMEM2ArenaLo
OSSetMEM1ArenaHi
OSSetMEM1ArenaLo
OSSetMEM2ArenaHi
OSSetMEM2ArenaLo

Cache

DCFlushRange
DCFlushRangeNoSync
DCFreeze
DCInvalidateRange
DCStoreRange
DCStoreRangeNoSync
DCTouchRange
DCUnfreeze
DCZeroRange
ICFreeze
ICInvalidateRange
ICUnfreeze
LCDisable
LCEnable
LCGetBase
LCFlushQueue
LCLoadBlocks
LCLoadData
LCQueueLength
LCQueueWait
LCStoreBlocks
LCStoreData

Error

ASSERT
ASSERTMSG
OSFatal
OSHalt
OSProtectRange
OSReport
OSSetErrorHandler

Execution

OSExecl
OSExecv

Font

Introduction
OSGetFontEncode
OSGetFontTexel
OSGetFontTexture
OSGetFontWidth
OSInitFont
OSLoadFont

Idle Function

OSGetIdleFunction
OSSetIdleFunction

Initialization

OSGetConsoleSimulatedMem1Size
OSGetConsoleSimulatedMem2Size
OSGetConsoleType
OSGetPhysicalMem1Size
OSGetPhysicalMem2Size
OSInit

Interrupts

OSDisableInterrupts
OSEnableInterrupts
OSRestoreInterrupts

Memory Allocation
(MEM Library is recommended)

OSAddToHeap
OSAlloc
OSAllocFixed
OSAllocFromHeap
OSCheckHeap
OSCreateHeap
OSDestroyHeap
OSDumpHeap
OSFree
OSFreeToHeap
OSInitAlloc
OSSetCurrentHeap

Reset

Introduction
OSGetResetCode
OSGetSaveRegion
OSGetSavedRegion
OSIsRestart
OSSetSaveRegion

OSRebootSystem
OSRestart
OSReturnToMenu
OSShutdownSystem

RESET

OSGetResetButtonState
OSSetResetCallback
OSSetPowerCallback

Relocatable Module System

Introduction
OSLink
OSLinkFixed
OSUnlink
OSSearchModule
OSSetStringTable

Stack

OSClearStack
OSGetStackPointer
OSSwitchFiber
OSSwitchStack

Stopwatch

OSInitStopwatch
OSStartStopwatch
OSStopStopwatch
OSCheckStopwatch
OSResetStopwatch
OSDumpStopwatch

Synchronization

PPCSync

Time

OSDiffTick

OSGetTime
OSGetTick

OSTicksToCycles
OSTicksToSeconds
OSTicksToMilliseconds
OSTicksToMicroseconds
OSTicksToNanoseconds
OSSecondsToTicks
OSMillisecondsToTicks
OSMicrosecondsToTicks
OSNanosecondsToTicks

OSCalendarTimeToTicks
OSTicksToCalendarTime

Thread

OSCancelThread
OSCheckActiveThreads
OSCreateThread
OSDetachThread
OSDisableScheduler
OSEnableScheduler
OSExitThread
OSGetCurrentThread
OSGetThreadPriority
OSGetThreadSpecific
OSInitThreadQueue
OSIsThreadSuspended
OSIsThreadTerminated
OSJoinThread
OSResumeThread
OSSetThreadPriority
OSSetThreadSpecific
OSSetSwitchThreadCallback
OSSleepThread
OSSuspendThread
OSWakeupThread
OSYieldThread
OSSleepMicroseconds
OSSleepMilliseconds
OSSleepNanoseconds
OSSleepSeconds
OSSleepTicks

Thread Synchronization

Mutexes and Condition Variables

OSInitCond
OSInitMutex
OSLockMutex
OSSignalCond
OSTryLockMutex
OSUnlockMutex
OSWaitCond

Message Queues

OSInitMessageQueue
OSJamMessage
OSReceiveMessage
OSSendMessage

Semaphores

OSGetSemaphoreCount
OSInitSemaphore
OSSignalSemaphore
OSTryWaitSemaphore
OSWaitSemaphore


CONFIDENTIAL