cvs commit: src/sys/amd64/acpica madt.c src/sys/amd64/amd64 local_apic.c mp_machdep.c mptable.c src/sys/amd64/include apicvar.h src/sys/i386/acpica madt.c src/sys/i386/i386 local_apic.c mp_machdep.c mptable.c src/sys/i386/include apicvar.h

John Baldwin jhb at FreeBSD.org
Tue May 8 22:01:05 UTC 2007


jhb         2007-05-08 22:01:04 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/acpica     madt.c 
    sys/amd64/amd64      local_apic.c mp_machdep.c mptable.c 
    sys/amd64/include    apicvar.h 
    sys/i386/acpica      madt.c 
    sys/i386/i386        local_apic.c mp_machdep.c mptable.c 
    sys/i386/include     apicvar.h 
  Log:
  Handle CPUs with APIC IDs higher than 32 (at least one IBM server uses
  an APIC ID of 38 for its second CPU):
  - Add a new MAX_APIC_ID constant for the highest valid APIC ID for modern
    systems.
  - Size the various arrays in the MADT, MP Table, and SMP code that are
    indexed by APIC IDs to allow for up to MAX_APIC_ID.
  - Explicitly go through and assign logical cpu ids to local APICs before
    starting any of the APs up rather than doing it while starting up the
    APs.  This step is now where we honor MAXCPU.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.24      +7 -10     src/sys/amd64/acpica/madt.c
  1.40      +2 -9      src/sys/amd64/amd64/local_apic.c
  1.284     +57 -30    src/sys/amd64/amd64/mp_machdep.c
  1.240     +15 -13    src/sys/amd64/amd64/mptable.c
  1.25      +1 -0      src/sys/amd64/include/apicvar.h
  1.27      +7 -10     src/sys/i386/acpica/madt.c
  1.42      +2 -9      src/sys/i386/i386/local_apic.c
  1.278     +55 -27    src/sys/i386/i386/mp_machdep.c
  1.245     +10 -8     src/sys/i386/i386/mptable.c
  1.25      +1 -0      src/sys/i386/include/apicvar.h


More information about the cvs-src mailing list