Function uacpi::sleep::prepare_for_sleep

source ยท
pub fn prepare_for_sleep(state: SleepState) -> Result<(), Status>
Expand description

Prepare for a given sleep state. Must be called with interrupts ENABLED.