Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Other versions of this page are also available for the following:
8/27/2008
This function is implemented by the OEM to initialize all hardware interfaces for the target device.
void OEMInit (void);
None.
None.
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).**
Header | nkintr.h |
Library | Nk.lib, Nkstub.lib |
Windows Embedded CE | Windows CE 2.10 and later |
MainMemoryEndAddress
pQueryPerformanceCounter
pQueryPerformanceFrequency
pReadRegistryFromOEM
pWriteRegistryToOEM
CEProcessorType