From owner-cvs-all Sun Mar 3 23:14:45 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0D38237B420; Sun, 3 Mar 2002 23:12:37 -0800 (PST) Received: (from jake@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g247CbK75794; Sun, 3 Mar 2002 23:12:37 -0800 (PST) (envelope-from jake) Message-Id: <200203040712.g247CbK75794@freefall.freebsd.org> From: Jake Burkholder Date: Sun, 3 Mar 2002 23:12:37 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/include pcpu.h smp.h upa.h src/sys/sparc64/sparc64 genassym.c locore.s mp_locore.s mp_machdep.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jake 2002/03/03 23:12:36 PST Modified files: sys/sparc64/include pcpu.h smp.h upa.h sys/sparc64/sparc64 genassym.c locore.s mp_locore.s mp_machdep.c Log: Add support for starting secondary cpus in kernel, as opposed to relying on the loader to do it. Improve smp startup code to be less racy and to defer certain things until the right time. This almost boots single user on my dual ultra 60, it is still very fragile: SMP: AP CPU #1 Launched! Enter full pathname of shell or RETURN for /bin/sh: # ls Debugger("trapsig") Stopped at Debugger+0x1c: ta %xcc, 1 db> heh No such command db> Revision Changes Path 1.15 +4 -0 src/sys/sparc64/include/pcpu.h 1.7 +18 -10 src/sys/sparc64/include/smp.h 1.3 +11 -1 src/sys/sparc64/include/upa.h 1.26 +10 -4 src/sys/sparc64/sparc64/genassym.c 1.14 +2 -16 src/sys/sparc64/sparc64/locore.s 1.2 +84 -37 src/sys/sparc64/sparc64/mp_locore.s 1.3 +126 -66 src/sys/sparc64/sparc64/mp_machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message