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 Add code to pass symbol table from ...



details:   https://anonhg.NetBSD.org/src/rev/3891a446c041
branches:  trunk
changeset: 522435:3891a446c041
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Feb 18 23:06:14 2002 +0000

description:
Add code to pass symbol table from loadfile to kernel.

diffstat:

 sys/arch/vax/boot/common/srt0.s |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 3976788839e0 -r 3891a446c041 sys/arch/vax/boot/common/srt0.s
--- a/sys/arch/vax/boot/common/srt0.s   Mon Feb 18 22:24:17 2002 +0000
+++ b/sys/arch/vax/boot/common/srt0.s   Mon Feb 18 23:06:14 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: srt0.s,v 1.8 2000/11/01 14:06:44 ragge Exp $ */
+/*     $NetBSD: srt0.s,v 1.9 2002/02/18 23:06:14 matt Exp $ */
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -72,11 +72,13 @@
        mtpr    $0,$0x18        # stop real time interrupt clock
        movl    4(ap), r6
        movl    20(ap), r9      # end of symbol table
+       pushl   8(ap)           # number of symbols
+       pushl   12(ap)          # start of symbols
        movab   _C_LABEL(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)
+       calls   $3,(r6)
        halt



Home | Main Index | Thread Index | Old Index