freebsd-skq/sys
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
..
alpha Detach the prom console when platform.cons_init is called. This seems 2001-10-26 16:13:47 +00:00
amd64 Add APM compatibility feature to ACPI. 2001-10-26 17:43:05 +00:00
arm Remove funky right justification. 2001-10-23 00:42:15 +00:00
boot Just use ${MACHINE}, it's already special-casing pc98. 2001-10-25 09:05:47 +00:00
cam Add a quirk entry so that the Maxtor 3000LE USB drive will work. 2001-10-15 02:05:06 +00:00
coda Change the vnode list under the mount point from a LIST to a TAILQ 2001-10-23 01:21:29 +00:00
compat Reporting device drivers by traversing cdevsw[] is at best a hack 2001-10-26 15:30:44 +00:00
conf Add APM compatibility feature to ACPI. 2001-10-26 17:43:05 +00:00
contrib Remove file obsoleted by the 20010920 snapshot. 2001-10-04 23:17:35 +00:00
crypto properly check DES weak key. KAME PR 363. 2001-07-03 17:46:48 +00:00
ddb Make the flag field in the ps output one char wider to account for recent 2001-10-20 03:22:23 +00:00
dev Add APM compatibility feature to ACPI. 2001-10-26 17:43:05 +00:00
fs Change the vnode list under the mount point from a LIST to a TAILQ 2001-10-23 01:21:29 +00:00
geom KSE Milestone 2 2001-09-12 08:38:13 +00:00
gnu Change the vnode list under the mount point from a LIST to a TAILQ 2001-10-23 01:21:29 +00:00
i4b fix kvprintf panic in attach routine 2001-10-24 14:12:47 +00:00
i386 Add APM compatibility feature to ACPI. 2001-10-26 17:43:05 +00:00
ia64 Add APM compatibility feature to ACPI. 2001-10-26 17:43:05 +00:00
isa Break out the bus front ends into their own files. Rewrite 2001-10-23 15:17:33 +00:00
isofs/cd9660 KSE Milestone 2 2001-09-12 08:38:13 +00:00
kern Make cdevsw[] static. 2001-10-26 15:31:22 +00:00
libkern Implement these using mux1 and extr.u. I'll update the userland versions 2001-10-06 08:35:05 +00:00
modules Add APM compatibility feature to ACPI. 2001-10-26 17:43:05 +00:00
net Remove extra memory region kept by "struct pfil_head pfil_head_t;". 2001-10-22 08:46:23 +00:00
netatalk KSE Milestone 2 2001-09-12 08:38:13 +00:00
netatm KSE Milestone 2 2001-09-12 08:38:13 +00:00
netgraph Fix bug that cheated hook names out of the last 2 bytes. 2001-10-10 19:58:11 +00:00
netinet Don't use the ip_timestamp structure to access timestamp options, as the 2001-10-25 06:27:51 +00:00
netinet6 Pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2. 2001-10-17 18:07:05 +00:00
netipx KSE Milestone 2 2001-09-12 08:38:13 +00:00
netkey Fixed the value of the prefixlen in the sadb_address structure. 2001-10-22 20:19:47 +00:00
netnatm
netncp Change the kernel's ucred API as follows: 2001-10-11 23:38:17 +00:00
netns
netsmb Map errdos:67 to the ENOENT. 2001-08-21 09:16:57 +00:00
nfs Unwind some more macros. NFSMADV() was kinda silly since it was right 2001-09-28 04:37:08 +00:00
nfsclient o Note an additional potential problem here: LOCKD_MSG directly exports 2001-10-24 02:48:38 +00:00
nfsserver Now that nfsm_reply() does not usually set 'error' to 0, we need 2001-10-25 19:07:56 +00:00
pc98 cn_tab no longer exists, use cnadd() to add a console device. Note that 2001-10-24 18:30:05 +00:00
pccard Add a tunable (hw.pcic.boot_deactivated) which will boot the system 2001-10-23 07:04:03 +00:00
pci Defs for three (unused so far) bits in PCI command/status register 2001-10-25 17:43:26 +00:00
posix4 KSE Milestone 2 2001-09-12 08:38:13 +00:00
powerpc Remove funky right justification. 2001-10-23 00:42:15 +00:00
rpc
sparc64 Add a per-thread ucred reference for syscalls and synchronous traps from 2001-10-26 08:12:54 +00:00
svr4
sys Add a per-thread ucred reference for syscalls and synchronous traps from 2001-10-26 08:12:54 +00:00
tools KSE Milestone 2 2001-09-12 08:38:13 +00:00
ufs Implement kern.maxvnodes. adjusting kern.maxvnodes now actually has a 2001-10-26 00:08:05 +00:00
vm Move recently added procedure which was incorrectly placed within an 2001-10-26 16:27:54 +00:00
Makefile