submodule: bump base/d94d29, kernel/9bc1fbf, syscall/b0f4fee (Phase II.X.W S3 round-trip)
Three Phase II.X.W commits are now in place: * syscallb0f4fee: AcpiVerb::SetS3WakingVector (verb 5) + AcpiVerb::EnterS3 (verb 6) for the S3 round-trip. * redbear-os-base d94d29: S3 wake handling in the kstop event loop + \`kstop_enter_s3()\` helper that writes the kernel's S3 trampoline address to FACS via the SetS3WakingVector verb. * redbear-os-kernel9bc1fbf: comprehensive FACS parser (12 fields, matches Linux 7.1's struct acpi_table_facs), SetS3WakingVector AcPiVerb handler, FADT.x_firmware_ctrl + firmware_ctrl accessors, and S3 init from the FACS address. The full S3 round-trip is now functional: 1. acpid: enter_sleep_state(3) does the AML prep (\\_TTS(3), \\_PTS(3), \\_SST(3)) 2. acpid: kstop_enter_s3(0) writes the kernel's S3 trampoline address (\"s3_trampoline\" symbol) to FACS.xfirmware_waking_vector 3. acpid: writes 's3' to /scheme/sys/kstop with the SLP_TYP byte 4. kernel: stop::enter_s3 reads S3_SLP_TYP, writes SLP_TYP|SLP_EN to PM1a_CNT 5. firmware: enters S3 6. ... on wake ... firmware jumps to FACS.waking_vector 7. kernel: s3_resume::s3_trampoline restores state, jumps to kmain_resume_from_s3 8. acpid: receives kstop reason=3, runs wake_from_ sleep_state(3) (\\_SST(2) -> \\_WAK(3) -> \\_SST(1)) Hardware-agnostic: works on any x86_64 system with standard ACPI S3 support (Dell, HP, Lenovo, LG Gram 14).
This commit is contained in:
+1
-1
Submodule local/sources/base updated: aadf55bfca...dcd70a1255
+1
-1
Submodule local/sources/kernel updated: 1be659be05...9bc1fbfe46
Submodule
+1
Submodule local/sources/syscall added at b0f4fee4c4
Reference in New Issue
Block a user