Date: Mon, 7 Jan 2002 21:02:13 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 locore.s machdep.c pmap.c Message-ID: <200201080502.g0852DL30674@freefall.freebsd.org>
index | next in thread | raw e-mail
jake 2002/01/07 21:02:13 PST
Modified files:
sys/sparc64/sparc64 locore.s machdep.c pmap.c
Log:
Update comments about _start, the kernel entry point, to reflect new
parameters needed for smp support.
If we are not the boot processor, jump to the smp startup code instead.
Implement a per-cpu panic stack, which is used for bootstrapping both
primary and secondary processors and during faults on the kernel stack.
Arrange the per-cpu page like the pcb, with the struct pcpu at the end
of the page and the panic stack before it.
Use the boot processor's panic stack for calling sparc64_init.
Split the code to set preloaded global registers and to map the kernel
tsb out into functions, which non-boot processors can call.
Allocate the kstack for thread0 dynamically in pmap_bootstrap, and give
it a guard page too.
Revision Changes Path
1.12 +126 -10 src/sys/sparc64/sparc64/locore.s
1.30 +28 -70 src/sys/sparc64/sparc64/machdep.c
1.22 +43 -13 src/sys/sparc64/sparc64/pmap.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201080502.g0852DL30674>
