Subject: boot load address
To: None <port-vax@netbsd.org>
From: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
List: port-vax
Date: 03/13/2007 18:32:05
--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
The boot program is currently loaded at address 0x2f0000, just below the
first 3MB of physical memory. I just had a problem with a kernel big
enough to cause boot to overwrite its stack and parts of itself while
zeroing bss, which then caused a halt.
I doubt that there are any VAXen with less than 3MB of memory on which
anyone would want to run NetBSD, so moving boot to 0x3f0000 would
probably not harm anyone but give us some more room for future bloat.
I tested this on my 4k90, seems to work ok.
--
%SYSTEM-F-ANARCHISM, The operating system has been overthrown
--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.inc.diff"
Index: sys/arch/vax/boot/Makefile.inc
===================================================================
RCS file: /cvsroot/src/sys/arch/vax/boot/Makefile.inc,v
retrieving revision 1.12
diff -u -r1.12 Makefile.inc
--- sys/arch/vax/boot/Makefile.inc 6 Sep 2006 00:31:22 -0000 1.12
+++ sys/arch/vax/boot/Makefile.inc 13 Mar 2007 17:25:52 -0000
@@ -1,6 +1,6 @@
# $NetBSD: Makefile.inc,v 1.12 2006/09/06 00:31:22 matt Exp $
-RELOC=0x2f0000
+RELOC=0x3f0000
.PATH: ${.CURDIR}/../../vax ${.CURDIR}/../common
CPPFLAGS+=-I.
--8t9RHnE3ZwKMSgU+--