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/boot Pass the numbers of syms down as well.



details:   https://anonhg.NetBSD.org/src/rev/8b29006028d9
branches:  trunk
changeset: 509376:8b29006028d9
user:      matt <matt%NetBSD.org@localhost>
date:      Wed May 02 15:33:14 2001 +0000

description:
Pass the numbers of syms down as well.

diffstat:

 sys/arch/vax/boot/boot/boot.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r cd4bb783bcd3 -r 8b29006028d9 sys/arch/vax/boot/boot/boot.c
--- a/sys/arch/vax/boot/boot/boot.c     Wed May 02 15:14:02 2001 +0000
+++ b/sys/arch/vax/boot/boot/boot.c     Wed May 02 15:33:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot.c,v 1.16 2001/05/02 06:56:54 matt Exp $ */
+/*     $NetBSD: boot.c,v 1.17 2001/05/02 15:33:14 matt Exp $ */
 /*-
  * Copyright (c) 1982, 1986 The Regents of the University of California.
  * All rights reserved.
@@ -144,7 +144,8 @@
                        marks[MARK_START] = 0;
                        err = loadfile(filelist[fileindex].name, marks, LOAD_KERNEL|COUNT_KERNEL);
                        if (err == 0) {
-                               machdep_start((char *)marks[MARK_ENTRY], 0,
+                               machdep_start((char *)marks[MARK_ENTRY],
+                                                     marks[MARK_NSYM],
                                              (void *)marks[MARK_START],
                                              (void *)marks[MARK_SYM],
                                              (void *)marks[MARK_END]);
@@ -234,7 +235,8 @@
        marks[MARK_START] = 0;
        err = loadfile(fn, marks, LOAD_KERNEL|COUNT_KERNEL);
        if (err == 0) {
-               machdep_start((char *)marks[MARK_ENTRY], 0,
+               machdep_start((char *)marks[MARK_ENTRY],
+                                     marks[MARK_NSYM],
                              (void *)marks[MARK_START],
                              (void *)marks[MARK_SYM],
                              (void *)marks[MARK_END]);



Home | Main Index | Thread Index | Old Index