Export (0) Print
Expand All

OEMIdle (Compact 2013)

3/26/2014

This function places the CPU in the idle state when there are no threads ready to run.


void OEMIdle(
  DWORD dwIdleParam 
); 

dwIdleParam

[in] Base value for program status register (PSR) to allow interrupts to be enabled. Not used by all CPU families.

This function is called by the kernel.

Exceptions are blocked when this routine is called and must not be re-enabled unless the function is going to return immediately.

This function places the CPU into a reduced power state and stop it. It is important to be able to resume execution quickly upon receiving an interrupt.

For performance management data, this function can track the time it is being run by using the curridlelow and curridlehigh kernel global variables.

Header

Developer Implemented

Library

OEMMain.lib or OEMMain_StaticKITL.lib

Show:
© 2014 Microsoft