freebsd-dev/sys/i386
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
apm KSE Milestone 2 2001-09-12 08:38:13 +00:00
bios KSE Milestone 2 2001-09-12 08:38:13 +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 driver, which got recently removed. 2001-10-25 19:45:39 +00:00
i386 Add a per-thread ucred reference for syscalls and synchronous traps from 2001-10-26 08:12:54 +00:00
ibcs2 KSE Milestone 2 2001-09-12 08:38:13 +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
linux Implement linux_chown and linux_lchown. The fchown syscall maps 2001-10-16 06:15:36 +00:00
pci It turns out that while Toshiba laptops don't want to route interrupts 2001-08-28 16:35:01 +00:00
svr4 If we have a p variable pointing to td->td_proc already, use it instead of 2001-09-18 21:20:58 +00:00
Makefile Update tags directive to reflect the new location of soft updates 2000-07-04 00:18:43 +00:00