Changeset 5166


Ignore:
Timestamp:
Feb 26, 2010, 9:32:08 PM (5 years ago)
Author:
myles
Message:

Work around stack size breakage observed on fam10.

Signed-off-by: Zheng Bao <zheng.bao@…>
Signed-off-by: Myles Watson <mylesgw@…>
Acked-by: Patrick Georgi <patrick.georgi@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/arch/i386/coreboot_ram.ld

    r5105 r5166  
    105105                /* Reserve a stack for each possible cpu */
    106106                /* the stack for ap will be put after pgtbl in 1M to CONFIG_RAMTOP range when VGA and ROM_RUN and CONFIG_RAMTOP>1M*/
    107                 . = ((CONFIG_CONSOLE_VGA || CONFIG_PCI_ROM_RUN)&&(CONFIG_RAMBASE<0x100000)&&(CONFIG_RAMTOP>0x100000) ) ? CONFIG_STACK_SIZE : (CONFIG_MAX_CPUS*CONFIG_STACK_SIZE);
     107                . += ((CONFIG_CONSOLE_VGA || CONFIG_PCI_ROM_RUN)&&(CONFIG_RAMBASE<0x100000)&&(CONFIG_RAMTOP>0x100000) ) ? CONFIG_STACK_SIZE : (CONFIG_MAX_CPUS*CONFIG_STACK_SIZE);
    108108        }
    109109        _estack = .;
Note: See TracChangeset for help on using the changeset viewer.