Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 03:08:12 -0700
From:      Peter Wemm <peter@wemm.org>
To:        alpha@freebsd.org
Subject:   Can somebody please double check this change?
Message-ID:  <20010615100812.9D43E380E@overcee.netplex.com.au>

next in thread | raw e-mail | index | archive | help
I was tempted to commit this blind (I'm not near a 5.x alpha box
right now) as I'm 99.99% sure it cannot hurt.

This is the alpha equivalent of a part of rev 1.136 (August 2000)
of i386/locore.s.

This is because of: mi_startup(void).  It used to be used but no more.
Can anybody quickly confirm that this doesn't break things [any more]?

Index: locore.s
===================================================================
RCS file: /home/ncvs/src/sys/alpha/alpha/locore.s,v
retrieving revision 1.16
diff -u -r1.16 locore.s
--- locore.s    2001/06/15 09:59:25     1.16
+++ locore.s    2001/06/15 10:04:56
@@ -128,13 +128,6 @@
        call_pal PAL_OSF1_tbi
        call_pal PAL_imb

-       /*
-        * Construct a fake trap frame, so execve() can work normally.
-        * Note that setregs() is responsible for setting its contents
-        * to 'reasonable' values.
-        */
-       lda     sp,-288(sp)     /* space for struct trapframe */
-       mov     sp, a0                          /* arg is frame ptr */
        CALL(mi_startup)                        /* go to mi_startup()! */

        /* NOTREACHED */

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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