svn commit: r218468 - head/sys/sparc64/sparc64
Marius Strobl
marius at FreeBSD.org
Tue Feb 8 23:21:35 UTC 2011
Author: marius
Date: Tue Feb 8 23:21:35 2011
New Revision: 218468
URL: http://svn.freebsd.org/changeset/base/218468
Log:
Set td_kstack_pages for thread0.
Modified:
head/sys/sparc64/sparc64/machdep.c
Modified: head/sys/sparc64/sparc64/machdep.c
==============================================================================
--- head/sys/sparc64/sparc64/machdep.c Tue Feb 8 23:19:40 2011 (r218467)
+++ head/sys/sparc64/sparc64/machdep.c Tue Feb 8 23:21:35 2011 (r218468)
@@ -548,6 +548,7 @@ sparc64_init(caddr_t mdp, u_long o1, u_l
proc0.p_md.md_sigtramp = NULL;
proc0.p_md.md_utrap = NULL;
thread0.td_kstack = kstack0;
+ thread0.td_kstack_pages = KSTACK_PAGES;
thread0.td_pcb = (struct pcb *)
(thread0.td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1;
frame0.tf_tstate = TSTATE_IE | TSTATE_PEF | TSTATE_PRIV;
More information about the svn-src-head
mailing list