CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2022/02/08 10:25:12
Modified files: sys/arch/amd64/amd64: acpi_machdep.c sys/arch/amd64/conf: GENERIC sys/arch/i386/i386: acpi_machdep.c sys/arch/i386/conf: GENERIC sys/arch/arm64/arm64: acpi_machdep.c sys/conf : files sys/dev/acpi : acpi.c acpibtn.c acpisony.c acpithinkpad.c acpitoshiba.c acpivar.h sys/sys : device.h Added files: sys/kern : subr_suspend.c Log message: The suspend/resume code is a sticky mess of MI, MD, and ACPI sequencing. This splits out the MI sequencing, backing it with per-architecture helper functions. Further steps will be neccesary because ACPI and MD are too tightly coupled, but soon we'll be able to use this code for more architectures (which depends on figuring out the lowest-level cpu sleeping method) ok kettenis