pub fn acpi_shutdown_s5() -> KernelResult<()>Expand description
Soft power off via ACPI S5.
Writes the S5 SLP_TYP value with SLP_EN to PM1a_CNT. The system should power off; this function does not return on success.
pub fn acpi_shutdown_s5() -> KernelResult<()>Soft power off via ACPI S5.
Writes the S5 SLP_TYP value with SLP_EN to PM1a_CNT. The system should power off; this function does not return on success.