cvs commit: src/sys/amd64/include pcpu.h src/sys/amd64/amd64 machdep.c src/sys/ia64/include pcpu.h src/sys/ia64/ia64 machdep.c

Nate Lawson nate at root.org
Sat Nov 15 11:16:50 PST 2003


On Sat, 15 Nov 2003, Nate Lawson wrote:
>   Modified files:
>     sys/amd64/include    pcpu.h
>     sys/amd64/amd64      machdep.c
>     sys/ia64/include     pcpu.h
>     sys/ia64/ia64        machdep.c
>   Log:
>   Add the pc_acpi_id PCPU member.  The new acpi_cpu driver uses this to
>   dereference the softc.
>
>   Revision  Changes    Path
>   1.598     +2 -0      src/sys/amd64/amd64/machdep.c
>   1.37      +2 -1      src/sys/amd64/include/pcpu.h
>   1.171     +1 -0      src/sys/ia64/ia64/machdep.c
>   1.16      +2 -1      src/sys/ia64/include/pcpu.h

This adds a place to store the ACPI id for each cpu.  Platform maintainers
should fill this out from the MADT for the SMP case.  The i386
mp_machdep.c and i386/acpica/madt.c show how to do this.

-Nate


More information about the cvs-src mailing list