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

acpi_hibernate_s4

Function acpi_hibernate_s4 

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

Hibernate (ACPI S4).

Creates a memory image bitmap of all active pages, writes the image to the swap area, then enters S4 via ACPI. On resume from S4, the bootloader or firmware restores the memory image and jumps to the wakeup vector.