From owner-p4-projects@FreeBSD.ORG Tue Jan 29 00:34:19 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 87E7D16A418; Tue, 29 Jan 2008 00:34:19 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D34216A419 for ; Tue, 29 Jan 2008 00:34:19 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3BD1613C468 for ; Tue, 29 Jan 2008 00:34:19 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0T0YJbs055341 for ; Tue, 29 Jan 2008 00:34:19 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0T0YJTs055338 for perforce@freebsd.org; Tue, 29 Jan 2008 00:34:19 GMT (envelope-from imp@freebsd.org) Date: Tue, 29 Jan 2008 00:34:19 GMT Message-Id: <200801290034.m0T0YJTs055338@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 134342 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2008 00:34:19 -0000 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!")