OEMIdle (Windows CE 5.0)
This function is called by the kernel to place the CPU in the idle state when there are no threads ready to run.
void OEMIdle( DWORD dwIdleParam );
- [in] Used by MIPS CPU only. Base value for program status register (PSR) to allow interrupts to be enabled.
Exceptions are blocked when this routine is called and must not be re-enabled unless the function is going to return immediately.
OEMIdle should place the CPU into a reduced power state and stop it. It is important to be able to resume execution quickly upon receiving an interrupt.
This function takes a parameter that is only used by the MIPS CPU and that is undefined for other CPUs. It is a base value for the PSR to allow interrupts to be enabled.
OS Versions: Windows CE 2.10 and later.
Header: Not applicable.
Link Library: Nk.lib.
Send Feedback on this topic to the authors