Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: thorpej
Date: Fri Apr 18 01:31:35 UTC 2003
Modified Files:
src/sys/dev/acpi: acpi.c acpi_button.c acpi_lid.c
src/sys/dev/sysmon: sysmon.c sysmon_power.c sysmonconf.h sysmonvar.h
src/sys/sys: Makefile
Added Files:
src/sys/sys: power.h
Log Message:
* Add a generic power management event API, defined in <sys/power.h>.
Right now, only power switch state change events are supported. This
is a work-in-progress.
* Add support to sysmon for delivering power mangement events to userland.
Add poll, kqueue, and read entry points to sysmon.
* Adapt ACPI to use the new generic <sys/power.h> event types.
This provides the kernel support for a forthcoming powerd(8) which can
do nice things like gracefully shut the system down when an ACPI power
button is pressed.
To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 src/sys/dev/acpi/acpi.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/acpi/acpi_button.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/acpi/acpi_lid.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/sysmon/sysmon.c
cvs rdiff -r1.1 -r1.2 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -r1.2 -r1.3 src/sys/dev/sysmon/sysmonconf.h
cvs rdiff -r1.5 -r1.6 src/sys/dev/sysmon/sysmonvar.h
cvs rdiff -r1.53 -r1.54 src/sys/sys/Makefile
cvs rdiff -r0 -r1.1 src/sys/sys/power.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index