PERFORCE change 134342 for review
    Warner Losh 
    imp at FreeBSD.org
       
    Mon Jan 28 16:34:19 PST 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=134342
Change 134342 by imp at imp_lighthouse on 2008/01/29 00:34:08
	Remove bogus resetting of the stack before calling mi_start.  This
	makes the stack 8 byte aligned again.
	
	Thanks to gonzo for the unaligned observation.
	
	We now get to the point of mounting the / file system.  I guess I'll
	have to build me one.
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/mips/locore.S#16 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/mips/locore.S#16 (text+ko) ====
@@ -211,10 +211,6 @@
 	jal	platform_start
 	sw	zero, START_FRAME - 8(sp)	# Zero out old fp for debugger
 
-	/* Is this necessary here? -- xxximp */
-	la	sp, _C_LABEL(thread0)
-	lw	a0, TD_PCB(sp)
-	subu	sp, a0, START_FRAME
 	jal	_C_LABEL(mi_startup)		# mi_startup(frame)
 	nop
 	PANIC("Startup failed!")
    
    
More information about the p4-projects
mailing list