Kernel Functions Available to the OAL (Compact 2013)
10/16/2014
The following table shows kernel functions that the OEM adaptation layer (OAL) can use.
Programming element |
Description |
---|---|
Releases all resources used by a critical section object that is not owned. |
|
Waits for ownership of the specified critical section object. |
|
Initiates a power-up or power-down sequence for all loaded file-system drivers. |
|
Initiates a power-down or suspend state for the device. |
|
Registers an interrupt service routine (ISR) with the kernel, specifying a particular hardware interrupt indicated by its interrupt request (IRQ) line value. |
|
Initializes a critical section object. |
|
Initializes a public key to use for signature verification. |
|
Disables all interrupts. |
|
Enables all interrupts. |
|
Releases ownership of the specified critical section object. |
|
Loads a DLL into the kernel's address space. |
|
Acquires an OAL spin lock to protect shared resources. |
|
Determines which chained, or shared, interrupt device triggered an IRQ event. |
|
Calls an OEM adaptation layer function that must be run in ring zero. |
|
Logs an event, if CeLog is loaded and is capturing standard data. |
|
Creates a static virtual memory address that maps to a physical address. |
|
Deletes the virtual memory allocated by the NKCreateStaticMapping function. |
|
Converts file time to system time format. |
|
Forces the OS to boot from a clean object store file system when called from the OEMInit function. |
|
Returns the last error from the current thread. |
|
Determines whether a particular interrupt identifier (SYSINTR) value is valid. |
|
Writes a string to the debug monitor port. |
|
Translates a physical address in memory to a virtual address. |
|
Is a C wrapper function for the x86 RDMSR instruction. |
|
Reboots the OS. |
|
Releases the handle of the specified key. |
|
Creates a specified key. |
|
Writes all the attributes of the specified open registry key into the registry. |
|
Opens the specified key. |
|
Retrieves the type and data for a specified value name associated with an open registry key. |
|
Stores data in the value field of an open registry key. |
|
Sends a platform-specific interprocessor interrupt (IPI) to the specified processor. |
|
Allows an OEM to replace the default abort handler on an ARM platform. |
|
Allows an OEM to cause an artificial interrupt event. |
|
Sets the last error for the current thread. |
|
Suspends the execution of the current thread for a specified interval. |
|
Converts system time to file time format. |
|
Translates a virtual address to a physical address in memory. |
|
Is a C wrapper function for the x86 WRMSR instruction. |
|
Notifies the system that a system setting was changed. |
|
Is a custom allocator function for heaps. |
|
Is a custom deallocator function for heaps. |
|
Calls the kernel to do the final power-down steps before suspending the device. |
|
Enables enhanced memory management features of Windows Embedded Compact. |
|
Deregisters an ISR with a specific hardware interrupt. |
|
Enables an OEM to change the per-page attributes for a range of virtual memory, which is usually copied from a physical location not known to the kernel. |