Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/stand bootxx links at 0x340000



details:   https://anonhg.NetBSD.org/src/rev/92b1b80302fe
branches:  trunk
changeset: 482769:92b1b80302fe
user:      pk <pk%NetBSD.org@localhost>
date:      Mon Feb 21 15:07:32 2000 +0000

description:
bootxx links at 0x340000
2nd-stage boot programs choices: 0x200000,0x300000,0x400000,0x700000 (default: 0x300000)

diffstat:

 sys/arch/sparc/stand/Makefile.buildboot |  11 +++++++----
 sys/arch/sparc/stand/bootxx/Makefile    |   4 ++--
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r ded0cd172290 -r 92b1b80302fe sys/arch/sparc/stand/Makefile.buildboot
--- a/sys/arch/sparc/stand/Makefile.buildboot   Mon Feb 21 14:52:01 2000 +0000
+++ b/sys/arch/sparc/stand/Makefile.buildboot   Mon Feb 21 15:07:32 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.buildboot,v 1.10 2000/02/21 14:41:22 pk Exp $
+#      $NetBSD: Makefile.buildboot,v 1.11 2000/02/21 15:07:32 pk Exp $
 
 S=     ${.CURDIR}/../../../..
 
@@ -10,9 +10,12 @@
 MKMAN=         no
 BINMODE=       444
 
-RELOCS=                240000 340000 440000 700000
-# Note: a `RELOC' value of 0x340000 seems to work on most machines
-RELOC_DEFAULT?=        340000
+RELOCS=                200000 300000 400000 700000
+# Note: a `RELOC' value of 0x300000 seems to work on most machines
+RELOC_DEFAULT?=        300000
+# `bootxx' is linked at a different address to circumvent i-cache
+# flushing issues on Hypersparcs
+RELOC_BOOTXX=  340000
 
 CPPFLAGS+=     -D_STANDALONE -DSUN4 -DSUN4C -DSUN_BOOTPARAMS -DHEAP_VARIABLE
 
diff -r ded0cd172290 -r 92b1b80302fe sys/arch/sparc/stand/bootxx/Makefile
--- a/sys/arch/sparc/stand/bootxx/Makefile      Mon Feb 21 14:52:01 2000 +0000
+++ b/sys/arch/sparc/stand/bootxx/Makefile      Mon Feb 21 15:07:32 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2000/02/21 14:44:18 pk Exp $
+#      $NetBSD: Makefile,v 1.13 2000/02/21 15:07:34 pk Exp $
 
 PROG=          bootxx
 PROGSOURCE=    bootxx.c
@@ -7,7 +7,7 @@
 
 CPPFLAGS+=     -DBOOTXX -DLIBSA_NO_CLOSE
 STRIPFLAG=
-LINKFLAGS=     -N -Ttext ${RELOC_DEFAULT} -e start
+LINKFLAGS=     -N -Ttext ${RELOC_BOOTXX} -e start
 
 ${PROG}: ${OBJS} ${LIBSA} ${LIBKERN}
        ${LD} -o ${.TARGET} ${LINKFLAGS} ${OBJS} ${LIBSA} ${LIBKERN}



Home | Main Index | Thread Index | Old Index