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.