From owner-cvs-src@FreeBSD.ORG Mon Nov 3 14:32:05 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6046316A4CE; Mon, 3 Nov 2003 14:32:05 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D79B843FB1; Mon, 3 Nov 2003 14:32:04 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA3MW4XJ097849; Mon, 3 Nov 2003 14:32:04 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA3MW4uj097848; Mon, 3 Nov 2003 14:32:04 -0800 (PST) (envelope-from jhb) Message-Id: <200311032232.hA3MW4uj097848@repoman.freebsd.org> From: John Baldwin Date: Mon, 3 Nov 2003 14:32:04 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 22:32:05 -0000 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