From 274cf3fbf9b1ba23369d830d643a9098c1f09d8e Mon Sep 17 00:00:00 2001 From: cgd Date: Thu, 16 Jan 1997 07:50:34 +0000 Subject: [PATCH] move the secondary bootstrap down (to 0x20004000), and add a HEAP_LIMIT so that we don't exhaust our bootstrap address space (when using the new, not yet checked in, memory allocator). --- sys/arch/alpha/stand/Makefile.inc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/sys/arch/alpha/stand/Makefile.inc b/sys/arch/alpha/stand/Makefile.inc index 1121eec8d023..7795c5748f3f 100644 --- a/sys/arch/alpha/stand/Makefile.inc +++ b/sys/arch/alpha/stand/Makefile.inc @@ -1,14 +1,20 @@ -# $NetBSD: Makefile.inc,v 1.3 1996/10/06 18:32:22 cgd Exp $ +# $NetBSD: Makefile.inc,v 1.4 1997/01/16 07:50:34 cgd Exp $ .include # for ELF_TOOLCHAIN definition BINDIR= /usr/mdec -PRIMARY_LOAD_ADDRESS= 20000000 -SECONDARY_LOAD_ADDRESS= 20020000 +# For descriptions of regions available to bootstrap programs, see +# section 3.4.1.2 (pp. III 3-14 - III 3-18) of the second edition of +# the Alpha AXP Architecture Reference Manual. + +PRIMARY_LOAD_ADDRESS= 20000000 # "Region 1 start" +SECONDARY_LOAD_ADDRESS= 20004000 # "Region 1 start" + 32k +HEAP_LIMIT= 20040000 # "Region 1 start" + 256k CPPFLAGS+= -DPRIMARY_LOAD_ADDRESS="0x${PRIMARY_LOAD_ADDRESS}" CPPFLAGS+= -DSECONDARY_LOAD_ADDRESS="0x${SECONDARY_LOAD_ADDRESS}" +CPPFLAGS+= -DHEAP_LIMIT="0x${HEAP_LIMIT}" .if !defined(ELF_TOOLCHAIN) CPPFLAGS+= -DECOFF_COMPAT