From 0571a95262be0d58dc28a3f0fba2c69dc543b018 Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Wed, 4 Jan 2006 20:42:49 +0000 Subject: [PATCH] CONFIG_LB_TOPK 8M above support git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2153 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/config/linuxbios_ram.ld | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/config/linuxbios_ram.ld b/src/config/linuxbios_ram.ld index a159ce035e..5d84bddac5 100644 --- a/src/config/linuxbios_ram.ld +++ b/src/config/linuxbios_ram.ld @@ -93,7 +93,7 @@ SECTIONS .stack . : { /* Reserve a stack for each possible cpu */ /* the stack for ap will be put after pgtbl in 1M to CONFIG_LB_MEM_TOPK range when VGA and ROM_RUN and CONFIG_LB_MEM_TOPK>1024*/ - . = ((CONFIG_CONSOLE_VGA || CONFIG_PCI_ROM_RUN)&&(_RAMBASE<0x100000)&&((CONFIG_LB_MEM_TOPK<<10)>0x100000) ) ? STACK_SIZE : (CONFIG_MAX_CPUS*STACK_SIZE); + . = ((CONFIG_CONSOLE_VGA || CONFIG_PCI_ROM_RUN)&&(_RAMBASE<0x100000)&&(CONFIG_LB_MEM_TOPK>(0x100000>>10)) ) ? STACK_SIZE : (CONFIG_MAX_CPUS*STACK_SIZE); } _estack = .; _heap = .; @@ -109,8 +109,10 @@ SECTIONS _ram_seg = _text; _eram_seg = _eheap; + _bogus = ASSERT( ((_eram_seg>>10)0xa0000))) , "please increase CONFIG_LB_MEM_TOPK and if still fail, try to set _RAMBASE more than 1M"); - + /DISCARD/ : { *(.comment) *(.note)