Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2011 16:50:18 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r219671 - projects/altix/sys/ia64/ia64
Message-ID:  <201103151650.p2FGoIcP048824@svn.freebsd.org>

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



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