feat: ACPI shutdown hardening with timeout, PM1b retry, and keyboard reset fallback
Phase A1 from BOOT-PROCESS-AUDIT. The ACPI shutdown path now: - Validates PM1a port is non-zero before writing - Waits 3 seconds for power-off, then retries with PM1b+SLEEP_EN - Falls back to keyboard controller reset (0x64=0xFE) on failure - Handles SLP_TYPb correctly - Removes fragile Pio::new()+write() without validation
This commit is contained in:
@@ -12,6 +12,7 @@ patches = [
|
||||
"P3-usbhidd-hardening.patch",
|
||||
"P3-init-colored-output.patch",
|
||||
"P4-logd-persistent-logging.patch",
|
||||
"P4-acpi-shutdown-hardening.patch",
|
||||
]
|
||||
|
||||
[build]
|
||||
|
||||
Reference in New Issue
Block a user