Date: Sun, 3 Mar 2002 23:12:37 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> 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 Message-ID: <200203040712.g247CbK75794@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203040712.g247CbK75794>
