From owner-cvs-all Mon Mar 4 10:46:22 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2659637B417; Mon, 4 Mar 2002 10:46:14 -0800 (PST) Received: (from iwasaki@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g24IkEU53060; Mon, 4 Mar 2002 10:46:14 -0800 (PST) (envelope-from iwasaki) Message-Id: <200203041846.g24IkEU53060@freefall.freebsd.org> From: Mitsuru IWASAKI Date: Mon, 4 Mar 2002 10:46:13 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/dev/acpica acpi_acad.c acpi_cpu.c acpi_powerprofile.c acpi_thermal.c acpivar.h src/sys/i386/apm apm.c src/sys/i386/i386 identcpu.c src/sys/kern subr_power.c src/sys/modules/acpi Makefile src/sys/sys power.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iwasaki 2002/03/04 10:46:13 PST Modified files: sys/conf files sys/dev/acpica acpi_acad.c acpi_cpu.c acpi_thermal.c acpivar.h sys/i386/apm apm.c sys/i386/i386 identcpu.c sys/kern subr_power.c sys/modules/acpi Makefile sys/sys power.h Removed files: sys/dev/acpica acpi_powerprofile.c Log: Add generalized power profile code. This makes other power-management system (APM for now) to be able to generate power profile change events (ie. AC-line status changes), and other kernel components, not only the ACPI components, can be notified the events. - move subroutines in acpi_powerprofile.c (removed) to kern/subr_power.c - call power_profile_set_state() also from APM driver when AC-line status changes - add call-back function for Crusoe LongRun controlling on power profile changes for a example Revision Changes Path 1.606 +0 -1 src/sys/conf/files 1.12 +2 -1 src/sys/dev/acpica/acpi_acad.c 1.12 +25 -6 src/sys/dev/acpica/acpi_cpu.c 1.3 +0 -65 src/sys/dev/acpica/acpi_powerprofile.c (dead) 1.24 +14 -6 src/sys/dev/acpica/acpi_thermal.c 1.30 +0 -15 src/sys/dev/acpica/acpivar.h 1.125 +20 -0 src/sys/i386/apm/apm.c 1.103 +70 -0 src/sys/i386/i386/identcpu.c 1.2 +31 -0 src/sys/kern/subr_power.c 1.19 +1 -1 src/sys/modules/acpi/Makefile 1.2 +14 -0 src/sys/sys/power.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message