CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2025/06/16 14:21:33

Modified files:
        sys/arch/arm64/dev: aplsmc.c 
        sys/dev/acpi   : acpi.c acpi_x86.c acpibtn.c acpisurface.c 
                         acpivar.h 
        sys/dev/fdt    : dapmic.c qcpon.c rkpmic.c 
        sys/kern       : kern_xxx.c subr_suspend.c 
        sys/sys        : device.h systm.h 

Log message:
Introduce a generic powerbutton_event() function that does everything
we expect from a power button event in a consistent manner.  This gets
rid of some duplicated code and means all drivers now prevent shutdown
within the first 10 seconds after resume.

tested by hastings@, jca@
ok landry@, deraadt@

Reply via email to