freebsd-nq/sys/i386/acpica
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
..
acpi_machdep.c Add APM compatibility feature to ACPI. 2001-10-26 17:43:05 +00:00
acpi_wakecode.S
acpi_wakeup.c Don't do sleep state transition if specified sleep state is not 2001-07-22 19:13:54 +00:00
genwakecode.pl
Makefile Add `-I.' option to CFLAGS so that we can compile asm code together 2001-09-04 15:46:32 +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