Index: kernel/arch/sparc64/src/sun4v/start.S
===================================================================
--- kernel/arch/sparc64/src/sun4v/start.S	(revision 34bf3d57b654a7c5ea18d1c73a769dbf49c8eee4)
+++ kernel/arch/sparc64/src/sun4v/start.S	(revision d354d57caee72a5cbe1a16c069ff43d067f07966)
@@ -252,4 +252,11 @@
 	or %l1, %g0, %o0
 	
+	/*
+	 * Create the first stack frame.
+	 */
+	save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp
+	flushw
+	add %g0, -STACK_BIAS, %fp
+
 	call main_bsp
 	nop
@@ -285,4 +292,11 @@
 	add %g1, OFFSET_SP, %g1
 	ldx [%g1], %o6
+
+	/*
+	 * Create the first stack frame.
+	 */
+	save %sp, -(STACK_WINDWO_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp
+	flushw
+	add %g0, -STACK_BIAS, %fp
 
 	call main_ap
