Move /dev/apm related acpi code to acpi_apm.c which is only built on
authortobhe <tobhe@openbsd.org>
Sat, 8 Jul 2023 08:01:10 +0000 (08:01 +0000)
committertobhe <tobhe@openbsd.org>
Sat, 8 Jul 2023 08:01:10 +0000 (08:01 +0000)
commitc75690924c3df592a3a5078fe57c951f808a8350
treeeb3b89b7051e063e5e694cacf00b032abeea2114
parent26be10ed55187b663901b7f9781f5b0060d26c23
Move /dev/apm related acpi code to acpi_apm.c which is only built on
amd64 and i386. This is the first step towards a machine independent
safe sleep API.

tested by yasuoka@ bluhm@
ok deraadt@ kettenis@
sys/arch/amd64/conf/files.amd64
sys/arch/i386/conf/files.i386
sys/dev/acpi/acpi.c
sys/dev/acpi/acpi_apm.c [new file with mode: 0644]