svn commit: r219671 - projects/altix/sys/ia64/ia64

Marcel Moolenaar marcel at FreeBSD.org
Tue Mar 15 16:50:18 UTC 2011


Author: marcel
Date: Tue Mar 15 16:50:17 2011
New Revision: 219671
URL: http://svn.freebsd.org/changeset/base/219671

Log:
  Reserve 24KB for the static kernel stack. We use this stack to call into
  the firmware for physical mode calls and the Altix doesn't work when it's
  16KB.

Modified:
  projects/altix/sys/ia64/ia64/locore.S

Modified: projects/altix/sys/ia64/ia64/locore.S
==============================================================================
--- projects/altix/sys/ia64/ia64/locore.S	Tue Mar 15 15:59:37 2011	(r219670)
+++ projects/altix/sys/ia64/ia64/locore.S	Tue Mar 15 16:50:17 2011	(r219671)
@@ -34,7 +34,11 @@
 #include <machine/intrcnt.h>
 #include <assym.s>
 
-#define	FW_STACK_SIZE	16384
+/*
+ * The Altix 350 needs more than the architected 16KB (8KB for stack and
+ * 8KB for RSE backing store) when calling EFI to setup virtual mode.
+ */
+#define	FW_STACK_SIZE	3*PAGE_SIZE
 
 	.section .data.kstack, "aw"
 	.align	PAGE_SIZE


More information about the svn-src-projects mailing list