Date: Tue, 29 Jan 2008 00:34:19 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 134342 for review Message-ID: <200801290034.m0T0YJTs055338@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134342 Change 134342 by imp@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!")
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801290034.m0T0YJTs055338>