Source-Changes-HG archive

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

[src/kqueue]: src/sys/arch/evbsh3/evbsh3 get rev. 1.42 change:



details:   https://anonhg.NetBSD.org/src/rev/b61bfe447401
branches:  kqueue
changeset: 512559:b61bfe447401
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Oct 16 21:30:21 2002 +0000

description:
get rev. 1.42 change:
initSH3(): prefix the extern edata[], end[] with '_', so that the kernel links
XXX this is probably wrong, other sh3 platforms don't need/have this

diffstat:

 sys/arch/evbsh3/evbsh3/machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 277974f229e5 -r b61bfe447401 sys/arch/evbsh3/evbsh3/machdep.c
--- a/sys/arch/evbsh3/evbsh3/machdep.c  Wed Oct 16 19:50:08 2002 +0000
+++ b/sys/arch/evbsh3/evbsh3/machdep.c  Wed Oct 16 21:30:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.27.2.3 2002/06/23 17:36:03 jdolecek Exp $        */
+/*     $NetBSD: machdep.c,v 1.27.2.4 2002/10/16 21:30:21 jdolecek Exp $        */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -220,11 +220,11 @@
 void
 initSH3(void *pc)      /* XXX return address */
 {
-       extern char edata[], end[];
+       extern char _edata[], _end[];
        vaddr_t kernend;
 
        /* Clear bss */
-       memset(edata, 0, end - edata);
+       memset(_edata, 0, _end - _edata);
 
        /* Initilize CPU ops. */
 #if defined(SH3) && defined(SH4)
@@ -258,7 +258,7 @@
        consinit();
 
        /* Load memory to UVM */
-       kernend = atop(round_page(SH3_P1SEG_TO_PHYS(end)));
+       kernend = atop(round_page(SH3_P1SEG_TO_PHYS(_end)));
        physmem = atop(IOM_RAM_SIZE);
        uvm_page_physload(
                kernend, atop(IOM_RAM_BEGIN + IOM_RAM_SIZE),



Home | Main Index | Thread Index | Old Index