⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

acpi_shutdown_s5

Function acpi_shutdown_s5 

Source
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.