Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/acpi



In article <1159.1134433898%splode.eterna.com.au@localhost>,
matthew green  <mrg%eterna.com.au@localhost> 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?

christos




Home | Main Index | Thread Index | Old Index