Other versions of this page are also available for the following:
This function is implemented by the OEM to initialize all hardware interfaces for the target device.
void OEMInit (void);
This function can register ISRs by calling the kernel function HookInterrupt.
The kernel calls OEMInit after it has performed minimal initialization. In this state, interrupts are disabled and the kernel is unable to handle exceptions. The only kernel service available to this function is HookInterrupt.
For more information, see Implementing the OEMInit Function.
NKGLOBAL is a structure which kernel exports to OEM Adaptation Layer code. All OAL code has access to this structure through a variable declared in Nkstub.lib named
g_pNKGlobal. To update dwProcessorType** field of this structure, in OEMInit, OAL code can do the following:
g_pNKGlobal->dwProcessorType = <process type>;
Similarly other data members in NK Global structure can be updated by OAL in their startup code (OEMInit function).**
|Windows Embedded CE||Windows CE 2.10 and later|