Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/boot/common Four more instructions makes it pos...



details:   https://anonhg.NetBSD.org/src/rev/a754e55c8d96
branches:  trunk
changeset: 486530:a754e55c8d96
user:      ragge <ragge%NetBSD.org@localhost>
date:      Wed May 24 19:53:11 2000 +0000

description:
Four more instructions makes it possible to boot old kernels also.

diffstat:

 sys/arch/vax/boot/common/srt0.s |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r f418555c9404 -r a754e55c8d96 sys/arch/vax/boot/common/srt0.s
--- a/sys/arch/vax/boot/common/srt0.s   Wed May 24 19:36:29 2000 +0000
+++ b/sys/arch/vax/boot/common/srt0.s   Wed May 24 19:53:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: srt0.s,v 1.3 2000/05/20 13:22:39 ragge Exp $ */
+/*     $NetBSD: srt0.s,v 1.4 2000/05/24 19:53:11 ragge Exp $ */
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -70,6 +70,11 @@
        mtpr    $0,$0x18        # stop real time interrupt clock
        movl    4(ap), r6
        movl    20(ap), r9      # end of symbol table
-       movab   _bootrpb,-(sp)
+       movab   _bootrpb,r10    # get RPB address
+       pushl   r10             # argument for new boot
+       ashl    $9,76(r10),r8   # memory size (COMPAT)
+       movl    $3,r11          # ask boot (COMPAT)
+       clrl    r10             # no boot dev (COMPAT)
+
        calls   $1,(r6)
-       ret
+       halt



Home | Main Index | Thread Index | Old Index