Subject: Re: CVS commit: src/sys/dev/acpi
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 12/13/2005 00:59:15
In article <firstname.lastname@example.org>,
matthew green <email@example.com> 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)
>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?