freebsd-skq/sys/amd64/acpica
iwasaki 1b24a8aa4e 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
..
acpi_machdep.c Add APM compatibility feature to ACPI. 2001-10-26 17:43:05 +00:00
acpi_wakeup.c Don't do sleep state transition if specified sleep state is not 2001-07-22 19:13:54 +00:00
OsdEnvironment.c Now that this code is MD, we don't need the i386 ifdefs. 2001-09-07 03:00:30 +00:00