diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2024-10-12 17:27:39 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2024-10-22 14:56:20 +0000 |
commit | f41ef9d80b3d272e08dd9e2ea3c1d8d3f2818066 (patch) | |
tree | da8f3cd1cc64e3276870e5619fc024c48aa553cb /sys/boot/uboot/lib/Makefile | |
parent | 6a07e67fb7a8b5687a492d9d70a10651d5933ff5 (diff) | |
download | src-main.tar.gz src-main.zip |
ACPI sleep states are only implemented on x86 systems, so having the
ACPI power button attempt to enter "S5" (or other state as configured
via the hw.acpi.power_button_state sysctl) is not useful.
On non-x86 systems, implement the power button with a call to
shutdown_nice(RB_POWEROFF)
to shut down the system.
Reviewed by: Andrew
Tested on: Graviton 2
MFC after: 2 weeks
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D47094
Diffstat (limited to 'sys/boot/uboot/lib/Makefile')
0 files changed, 0 insertions, 0 deletions