[coreboot] [commit] r5166 - trunk/src/arch/i386

repository service svn at coreboot.org
Fri Feb 26 21:32:08 CET 2010


Author: myles
Date: Fri Feb 26 21:32:08 2010
New Revision: 5166
URL: http://tracker.coreboot.org/trac/coreboot/changeset/5166

Log:
Work around stack size breakage observed on fam10.

Signed-off-by: Zheng Bao <zheng.bao at amd.com>
Signed-off-by: Myles Watson <mylesgw at gmail.com>
Acked-by: Patrick Georgi <patrick.georgi at coresystems.de>

Modified:
   trunk/src/arch/i386/coreboot_ram.ld

Modified: trunk/src/arch/i386/coreboot_ram.ld
==============================================================================
--- trunk/src/arch/i386/coreboot_ram.ld	Thu Feb 25 23:48:33 2010	(r5165)
+++ trunk/src/arch/i386/coreboot_ram.ld	Fri Feb 26 21:32:08 2010	(r5166)
@@ -104,7 +104,7 @@
 	.stack . : {
 		/* Reserve a stack for each possible cpu */
 		/* the stack for ap will be put after pgtbl in 1M to CONFIG_RAMTOP range when VGA and ROM_RUN and CONFIG_RAMTOP>1M*/
-		. = ((CONFIG_CONSOLE_VGA || CONFIG_PCI_ROM_RUN)&&(CONFIG_RAMBASE<0x100000)&&(CONFIG_RAMTOP>0x100000) ) ? CONFIG_STACK_SIZE : (CONFIG_MAX_CPUS*CONFIG_STACK_SIZE);
+		. += ((CONFIG_CONSOLE_VGA || CONFIG_PCI_ROM_RUN)&&(CONFIG_RAMBASE<0x100000)&&(CONFIG_RAMTOP>0x100000) ) ? CONFIG_STACK_SIZE : (CONFIG_MAX_CPUS*CONFIG_STACK_SIZE);
 	}
 	_estack = .;
         _heap = .;




More information about the coreboot mailing list