Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/stand/xxboot Set heap area explicitly.
details: https://anonhg.NetBSD.org/src/rev/72d974db3764
branches: trunk
changeset: 744264:72d974db3764
user: isaki <isaki%NetBSD.org@localhost>
date: Tue Jan 28 12:02:02 2020 +0000
description:
Set heap area explicitly.
Until the load address was moved, the heap was placed at _end (it's default)
and it was large space. After moving, this default space was too small.
diffstat:
sys/arch/x68k/stand/xxboot/Makefile.xxboot | 3 ++-
sys/arch/x68k/stand/xxboot/boot.S | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r 088030f0500d -r 72d974db3764 sys/arch/x68k/stand/xxboot/Makefile.xxboot
--- a/sys/arch/x68k/stand/xxboot/Makefile.xxboot Tue Jan 28 11:57:22 2020 +0000
+++ b/sys/arch/x68k/stand/xxboot/Makefile.xxboot Tue Jan 28 12:02:02 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.xxboot,v 1.11 2020/01/18 07:25:12 isaki Exp $
+# $NetBSD: Makefile.xxboot,v 1.12 2020/01/28 12:02:02 isaki Exp $
NOMAN= # defined
@@ -36,6 +36,7 @@
CPPFLAGS+= -DTDSIZE="$(TEXTDATASIZE)"
CPPFLAGS+= -DPROG=\"$(PROG)\" -DBOOT_VERS=\"$(VERSION)\"
CPPFLAGS+= -DBOOT_STAGE1 $(BOOTCPPFLAGS)
+CPPFLAGS+= -DHEAP_START=0x00100000
CPPFLAGS+= -nostdinc -I${.OBJDIR} -I${S}
CPPFLAGS+= -I$M/stand/libiocs -I$M/stand/libsa -I$M/stand/common
AFLAGS= ${CFLAGS:M-[ID]*}
diff -r 088030f0500d -r 72d974db3764 sys/arch/x68k/stand/xxboot/boot.S
--- a/sys/arch/x68k/stand/xxboot/boot.S Tue Jan 28 11:57:22 2020 +0000
+++ b/sys/arch/x68k/stand/xxboot/boot.S Tue Jan 28 12:02:02 2020 +0000
@@ -2,7 +2,7 @@
| author: chapuni(webmaster%chapuni.com@localhost)
| ITOH Yasufumi
|
-| $NetBSD: boot.S,v 1.11 2020/01/28 11:57:22 isaki Exp $
+| $NetBSD: boot.S,v 1.12 2020/01/28 12:02:02 isaki Exp $
|
| (1) IPL (or previous stage loader) loads first 1KB of this primary
@@ -37,6 +37,7 @@
| ~ ~ ~ ~ ~ ~
| : : : :<-SP : :<-SP
| + - - - - - -+ + - - - - - -+ + - - - - - -+ 0x100000
+| : : :(heap) : :(heap) :
| : : : : : :
|
Home |
Main Index |
Thread Index |
Old Index