Changeset 69722ac9 in rtems


Ignore:
Timestamp:
Apr 6, 2009, 3:25:56 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
504fadb
Parents:
8732f1b
Message:

2009-04-06 Joel Sherrill <joel.sherrill@…>

  • startup/linkcmds: Move stack so it does not overlap workarea.
Location:
c/src/lib/libbsp/nios2/nios2_iss
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/nios2/nios2_iss/ChangeLog

    r8732f1b r69722ac9  
     12009-04-06      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * startup/linkcmds: Move stack so it does not overlap workarea.
     4
    152009-03-26      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • c/src/lib/libbsp/nios2/nios2_iss/startup/linkcmds

    r8732f1b r69722ac9  
    2525RamSize = DEFINED(RamSize) ? RamSize : 0x00800000;
    2626HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
     27StackSize = DEFINED(StackSize) ? HeapSize : 1024;
    2728
    2829MEMORY
     
    243244        . = ALIGN(32 / 8);
    244245        __bss_end = ABSOLUTE(.);
     246        _stack_low = ABSOLUTE(.);
     247        . += StackSize;
     248        _stack_high = ABSOLUTE(.);
    245249        WorkAreaBase = .;
    246250    } > onchip_memory_0
     
    324328 * override them to move the stack to a different memory.
    325329 */
    326 PROVIDE( __alt_stack_pointer = __alt_data_end );
    327 PROVIDE( __alt_stack_limit   = _end );
     330PROVIDE( __alt_stack_pointer = _stack_high );
     331PROVIDE( __alt_stack_limit   = _stack_low );
    328332
    329333/*
Note: See TracChangeset for help on using the changeset viewer.