Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2003 14:32:04 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 db_interface.c machdep.c mp_machdep.c mpboot.s pmap.c src/sys/i386/include smp.h smptests.h
Message-ID:  <200311032232.hA3MW4uj097848@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2003/11/03 14:32:04 PST

  FreeBSD src repository

  Modified files:
    sys/i386/i386        db_interface.c machdep.c mp_machdep.c 
                         mpboot.s pmap.c 
    sys/i386/include     smp.h smptests.h 
  Log:
  New i386 SMP code:
  
  - The MP code no longer knows anything specific about an MP Table.
    Instead, the local APIC code adds CPUs via the cpu_add() function when
    a local APIC is enumerated by an APIC enumerator.
  - Don't divide the argument to mp_bootaddress() by 1024 just so that we
    can turn around and mulitply it by 1024 again.
  - We no longer panic if SMP is enabled but we are booted on a UP machine.
  - init_secondary(), the asm code between init_secondary() and ap_init()
    in mpboot.s and ap_init() have all been merged together in C into
    init_secondary().
  - We now use the cpuid feature bits to determine if we should enable
    PSE, PGE, or VME on each AP.
  - Due to the change in the implementation of critical sections, acquire
    the SMP TLB mutex around a slightly larger chunk of code for TLB
    shootdowns.
  - Remove some of the debug code from the original SMP implementation
    that is no longer used or no longer applies to the new APIC code.
  - Use a temporary hack to disable the ACPI module until the SMP code has
    been further reorganized to allow ACPI to work as a module again.
  - Add a DDB command to dump the interesting contents of the IDT.
  
  Revision  Changes     Path
  1.76      +1 -0       src/sys/i386/i386/db_interface.c
  1.580     +43 -11     src/sys/i386/i386/machdep.c
  1.220     +369 -1987  src/sys/i386/i386/mp_machdep.c
  1.23      +27 -43     src/sys/i386/i386/mpboot.s
  1.454     +35 -21     src/sys/i386/i386/pmap.c
  1.77      +25 -97     src/sys/i386/include/smp.h
  1.45      +0 -35      src/sys/i386/include/smptests.h



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