summaryrefslogtreecommitdiffstats
path: root/sys/i386/acpica/acpi_machdep.c
Commit message (Collapse)AuthorAgeFilesLines
* Add APM compatibility feature to ACPI.iwasaki2001-10-261-0/+335
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
OpenPOWER on IntegriCloud