Simplify the (so far unused) apm_record_event() function a bit and use it
authorkettenis <kettenis@openbsd.org>
Sun, 22 Jan 2023 13:14:21 +0000 (13:14 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 22 Jan 2023 13:14:21 +0000 (13:14 +0000)
commitdcc3b6294b1491ca2d8b4f6dc2ba83a2fe5ac962
treea85fa1908d4f74f341f84a1dc018bdb93d74c0fd
parent4b9bfff397aff6d98d71e75e47b7998362e97d0a
Simplify the (so far unused) apm_record_event() function a bit and use it
to send a resume event to userland when we come out of suspend.

ok deraadt@
sys/arch/arm64/dev/apm.c
sys/arch/arm64/include/apmvar.h