Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2011 23:21:35 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218468 - head/sys/sparc64/sparc64
Message-ID:  <201102082321.p18NLZ4x063511@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102082321.p18NLZ4x063511>