freebsd-skq/sys/amd64
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
amd64 Add a per-thread ucred reference for syscalls and synchronous traps from 2001-10-26 08:12:54 +00:00
conf Add PCI_ENABLE_IO_MODES option, for BIOSen that neglect this. 2001-10-25 04:44:50 +00:00
include Split the per-process Local Descriptor Table out of the PCB and into 2001-10-25 00:53:43 +00:00
isa Backout 1.61 -- both intrcnt and intrnames are already exported 2001-10-25 01:32:24 +00:00
pci It turns out that while Toshiba laptops don't want to route interrupts 2001-08-28 16:35:01 +00:00
Makefile Update tags directive to reflect the new location of soft updates 2000-07-04 00:18:43 +00:00