Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/stand/loadbsd Branch address was wrong.



details:   https://anonhg.NetBSD.org/src/rev/adf4db37558e
branches:  trunk
changeset: 472492:adf4db37558e
user:      minoura <minoura%NetBSD.org@localhost>
date:      Fri Apr 30 15:31:18 1999 +0000

description:
Branch address was wrong.

diffstat:

 sys/arch/x68k/stand/loadbsd/loadbsd.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 7ee18849a072 -r adf4db37558e sys/arch/x68k/stand/loadbsd/loadbsd.c
--- a/sys/arch/x68k/stand/loadbsd/loadbsd.c     Fri Apr 30 15:31:17 1999 +0000
+++ b/sys/arch/x68k/stand/loadbsd/loadbsd.c     Fri Apr 30 15:31:18 1999 +0000
@@ -19,13 +19,13 @@
  *             -d      use compiled-in rootdev
  *             -r      specify root device
  *
- *     $NetBSD: loadbsd.c,v 1.1 1998/09/01 19:55:33 itohy Exp $
+ *     $NetBSD: loadbsd.c,v 1.2 1999/04/30 15:31:18 minoura Exp $
  */
 
 #include <sys/cdefs.h>
 
-__RCSID("$NetBSD: loadbsd.c,v 1.1 1998/09/01 19:55:33 itohy Exp $");
-#define VERSION        "$Revision: 1.1 $ $Date: 1998/09/01 19:55:33 $"
+__RCSID("$NetBSD: loadbsd.c,v 1.2 1999/04/30 15:31:18 minoura Exp $");
+#define VERSION        "$Revision: 1.2 $ $Date: 1999/04/30 15:31:18 $"
 
 #include <sys/types.h>         /* ntohl */
 #include <sys/reboot.h>
@@ -370,7 +370,7 @@
        if (opt_v)
                xwarnx("trampoline arg at %p", arg);
 
-       arg->bsr_inst = TRAMP_BSR + sizeof(struct tramparg) - 4;
+       arg->bsr_inst = TRAMP_BSR + sizeof(struct tramparg) - 2;
        arg->tmp_stack = (char *) arg + sizeof(struct tramparg)
                                + size_tramp + SIZE_TMPSTACK;
        arg->mpu_type = IOCS_MPU_STAT() & 0xff;



Home | Main Index | Thread Index | Old Index