Subject: re: CVS commit: src/sys/dev/acpi
To: Christos Zoulas <>
From: matthew green <>
List: source-changes
Date: 12/13/2005 14:06:27
   In article <>,
   matthew green  <> wrote:
   >   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.
   >regardless of what freebsd uses, "machdep" in MD code seems wrong.
   You mean MI code? MachDep is just that. In this particular case, not every
   machine has ACPI. To compare, how about a machine that has turbochannel and
   needs a sysctl? I think that the precedence is hw.*, right?

indeed, i do mean MI.  yes, "hw" seems right.