Set sc_state to ACPI_STATE_S0 at the end of resume instead of at the start
authorkettenis <kettenis@openbsd.org>
Mon, 27 May 2024 09:31:58 +0000 (09:31 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 27 May 2024 09:31:58 +0000 (09:31 +0000)
commit4a85b22348c505c8763cd3c7518aa7bf100aae03
treecc517cc6218aac38284b9071306f0cd00eae637c
parent8b59a3f8d6865303b978f865f52d10da305f434f
Set sc_state to ACPI_STATE_S0 at the end of resume instead of at the start
such that ACPI resume code can see what state we're resuming from.

ok deraadt@
sys/dev/acpi/acpi_x86.c