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

acpi_suspend_s3

Function acpi_suspend_s3 

Source
pub fn acpi_suspend_s3() -> KernelResult<()>
Expand description

Suspend to RAM (ACPI S3).

Saves CPU state, flushes caches, writes SLP_TYP|SLP_EN to PM1a_CNT to enter S3 sleep. On wake, firmware jumps to the FACS waking vector which restores CPU context and returns here.