freebsd-skq/sys/ia64
Mitsuru IWASAKI f86214b6b8 Add APM compatibility feature to ACPI.
This emulates APM device node interface APIs (mainly ioctl) and
provides APM services for the applications.  The goal is to support
most of APM applications without any changes.
Implemented ioctls in this commit are:
 - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl)
 - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl)
 - APMIO_GETINFO and APMIO_GETINFO_OLD
 - APMIO_GETPWSTATUS

With above, many APM applications which get batteries, ac-line
info. and transition the system into suspend/standby mode (such as
wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-)

Reviewed by:	arch@, audit@ and some guys
2001-10-26 17:43:05 +00:00
..
acpica Add APM compatibility feature to ACPI. 2001-10-26 17:43:05 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf Remove wx. 2001-10-20 18:50:31 +00:00
ia64 Add a per-thread ucred reference for syscalls and synchronous traps from 2001-10-26 08:12:54 +00:00
include Add data serialisations after ptc and mov to rr[] instructions. 2001-10-23 10:20:04 +00:00
isa Repo copy i8237.h to dev/ic so we can get rid of some of the final vestiges 2001-06-30 05:29:11 +00:00
pci Delete legacy pcib code - we can't possibly work without acpi on ia64. 2001-10-06 10:09:57 +00:00