Intel IXP400 Frozen Dessert Maker User Manual


 
Intel
®
IXP400 Software
Operating System Abstraction Layer (OSAL)
April 2005 IXP400 Software Version 2.0 Programmer’s Guide
320 Document Number: 252539, Revision: 007
Table 62. OSAL Core Interface (Sheet 1 of 2)
IxOsalVoidFnPtr alias for void (void) functions
IxOsalVoidFnVoidPtr alias for void (void *) functions
IxOsalSemaphore semaphore object
IxOsalMutex mutex object
IxOsalFastMutex test-and-set fast mutex object
IxOsalThread thread object
IxOsalThreadAttr thread attributes object
IxOsalTimeval time structure
Types
IxOsalTimer timer handle
PRIVATE #defined as “static”, except for debug
builds
Symbols
PUBLIC #defined as an empty labelling symbol
ixOsalIrqBind binds interrupts to handlers
ixOsalIrqUnbind unbind interrupts from handlers
ixOsalIrqLock disables all interrupts
ixOsalIrqUnlock enables all interrupts
ixOsalIrqLevelSet selectively disables interrupts
ixOsalIrqEnable enables an interrupt level
Interrupts
ixOsalIrqDisable disables an interrupt level
ixOsalMemAlloc allocates memory
ixOsalMemFree frees memory
ixOsalMemCopy copies memory zones
ixOsalMemSet fills a memory zone
ixOsalCacheDmaMalloc allocates cache-safe memory
ixOsalCacheDmaFree frees cache-safe memory
IX_OSAL_MMU_PHYS_TO_VIRT physical to virtual address translation
IX_OSAL_MMU_VIRT_TO_PHYS virtual to physical address translation
IX_OSAL_CACHE_FLUSH cache to memory flush
Memory
IX_OSAL_CACHE_INVALIDATE cache line invalidate
ixOsalThreadCreate creates a new thread
ixOsalThreadStart starts a newly created thread
ixOsalThreadKill kills an existing thread
ixOsalThreadExit exits a running thread
ixOsalThreadPrioritySet sets the priority of an existing thread
ixOsalThreadSuspend suspends thread execution
Threads
ixOsalThreadResume resumes thread execution
ixOsalMessageQueueCreate creates a message queue
ixOsalMessageQueueDelete deletes a message queue
ixOsalMessageSend sends a message to a message queue
IPC
ixOsalMessageReceive receives a message from a message queue