diff options
author | Mats O Jansson <maja@cvs.openbsd.org> | 1998-02-03 11:48:31 +0000 |
---|---|---|
committer | Mats O Jansson <maja@cvs.openbsd.org> | 1998-02-03 11:48:31 +0000 |
commit | 9ed632e46e42580a8096adcdc71262d39072b0ac (patch) | |
tree | a8aeb1e0336bde2f3cf386977a3cea5fffad8e05 /sys/arch/vax/boot/start.s | |
parent | b9eff3dc2da109a570cf5e41a8c720473110e9cc (diff) |
Sync with NetBSD 970827. Forgot this one last time. -moj
Diffstat (limited to 'sys/arch/vax/boot/start.s')
-rw-r--r-- | sys/arch/vax/boot/start.s | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/sys/arch/vax/boot/start.s b/sys/arch/vax/boot/start.s index 6a21d6ef1e8..61f75d87ba4 100644 --- a/sys/arch/vax/boot/start.s +++ b/sys/arch/vax/boot/start.s @@ -1,5 +1,5 @@ -/* $OpenBSD: start.s,v 1.5 1997/05/29 00:04:27 niklas Exp $ */ -/* $NetBSD: start.s,v 1.8 1996/08/02 11:22:47 ragge Exp $ */ +/* $OpenBSD: start.s,v 1.6 1998/02/03 11:48:29 maja Exp $ */ +/* $NetBSD: start.s,v 1.10 1997/03/22 12:47:32 ragge Exp $ */ /* * Copyright (c) 1995 Ludd, University of Lule}, Sweden. * All rights reserved. @@ -181,8 +181,11 @@ relocated: # now relocation is done !!! * hoppabort() is called when jumping to the newly loaded program. */ ENTRY(hoppabort, 0) - movl 4(ap),r6 - movl 8(ap),r11 - movl 0xc(ap),r10 - calls $0,(r6) + movl 4(ap),r6 + movl 8(ap),r11 + movl 0xc(ap),r10 + movl _memsz, r8 + mnegl $1, ap # Hack to figure out boot device. + jmp 2(r6) +# calls $0,(r6) halt |