7.5. OSPM usage of _PTS, _TTS, and _WAK¶
OSPM will invoke _PTS, _TTS,and _WAK in the following order:
OSPM decides (through a policy scheme) to place the system into a sleeping state StepNumList-1 OSPM decides (through a policy scheme) to place the system into a sleeping state
_TTS(Sx) is run, where Sx is the desired sleep state to enter
OSPM notifies all native device drivers of the sleep state transition
_PTS is run
OSPM readies system for the sleep state transition
OSPM writes the sleep vector and the system enters the specified Sx sleep state
System Wakes up
OSPM readies system for the return from the sleep state transition
_WAK is run
OSPM notifies all native device drivers of the return from the sleep state transition
_TTS(0) is run to indicate the return to the S0 state

Fig. 7.1 Working / Sleeping State object evaluation flow¶