Subject: CVS commit: src/sys/dev/acpi
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 12/12/2005 15:04:50
Module Name:	src
Committed By:	cube
Date:		Mon Dec 12 15:04:50 UTC 2005

Modified Files:
	src/sys/dev/acpi: acpi.c acpivar.h
	src/sys/dev/acpi/acpica/Osd: OsdEnvironment.c

Log Message:
Move the (one liner) logic of AcpiOsGetRootPointer() out of acpica/Osd to
acpi.c and take the opportunity to create a sysctl node that contains the
address of the main ACPI table.

The name of the node, "machdep.acpi_root", is questionable but matches the
one FreeBSD has, which will make it easier to port their acpidump(8)
program.


To generate a diff of this commit:
cvs rdiff -r1.77 -r1.78 src/sys/dev/acpi/acpi.c
cvs rdiff -r1.24 -r1.25 src/sys/dev/acpi/acpivar.h
cvs rdiff -r1.5 -r1.6 src/sys/dev/acpi/acpica/Osd/OsdEnvironment.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.