From owner-cvs-all Mon Jan 7 21: 2:18 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 AADBD37B402; Mon, 7 Jan 2002 21:02:13 -0800 (PST) Received: (from jake@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0852DL30674; Mon, 7 Jan 2002 21:02:13 -0800 (PST) (envelope-from jake) Message-Id: <200201080502.g0852DL30674@freefall.freebsd.org> From: Jake Burkholder Date: Mon, 7 Jan 2002 21:02:13 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 locore.s machdep.c pmap.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/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