Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2003 11:16:49 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: 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
Message-ID:  <20031115111512.Y54428@root.org>
In-Reply-To: <20031115185905.470C916A4F6@hub.freebsd.org>
References:  <20031115185905.470C916A4F6@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031115111512.Y54428>