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).
This commit is contained in:
cgd 1997-01-16 07:50:34 +00:00
parent b6b71e4383
commit 274cf3fbf9
1 changed files with 9 additions and 3 deletions

View File

@ -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 <bsd.own.mk> # 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