From owner-freebsd-smp Wed Dec 4 14:33:04 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.8.3/8.7.3) id OAA19805 for smp-outgoing; Wed, 4 Dec 1996 14:33:04 -0800 (PST) Received: (from fsmp@localhost) by freefall.freebsd.org (8.8.3/8.7.3) id OAA19798 for freebsd-smp; Wed, 4 Dec 1996 14:33:02 -0800 (PST) Date: Wed, 4 Dec 1996 14:33:02 -0800 (PST) From: Steve Passe Message-Id: <199612042233.OAA19798@freefall.freebsd.org> To: freebsd-smp Subject: cvs commit: sys/kern init_smp.c sys/i386/i386 mp_machdep.c mpapic.c mpboot.s mplock.s swtch.s sys/i386/include smp.h Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fsmp 96/12/04 14:33:02 Modified: kern init_smp.c Log: cleanup of SMP_AUTOSTART code. most of it is now default, hopefully supporting >2 CPUs. SMP_AUTOSTART is still an option, and still is BROKEN. cleanup of APIC initialization code. Revision Changes Path 1.43 +54 -43 sys/kern/init_smp.c Modified: i386/include smp.h Log: function declaration for cleanup of APIC initialization code. Revision Changes Path 1.24 +2 -2 sys/i386/include/smp.h Modified: i386/i386 mp_machdep.c mpapic.c mpboot.s mplock.s swtch.s Log: cleanup of APIC initialization code in mpboot.s. cleanup of mp_lock handling in swtch.s. new functionality for initializing AP APICs. better support for SMP_AUTOSTART, but SMP_AUTOSTART still BROKEN. 3/4 CPUs hopefully now start correctly with "sysctl -w kern.smp_active=4" Note: I have NOT yet merged the various patches sent today for throttling to 2 CPUs when "options SMP=2" is set. Revision Changes Path 1.31 +2 -2 sys/i386/i386/mp_machdep.c 1.23 +87 -80 sys/i386/i386/mpapic.c 1.14 +20 -45 sys/i386/i386/mpboot.s 1.15 +13 -5 sys/i386/i386/mplock.s 1.30 +19 -8 sys/i386/i386/swtch.s