Changeset 660 for trunk/softs


Ignore:
Timestamp:
Mar 10, 2014, 1:28:56 PM (11 years ago)
Author:
bouyer
Message:

Revert previous, not all platform defines seg_reset_stack_size.
Remove all references to seg_reset_stack_size to avoid confusion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/src/reset.S

    r659 r660  
    1010 *
    1111 * This preloader uses a stack segment allocated in cluster 0, defined
    12  * by the seg_reset_stack_base and seg_reset_stack_size parameters in ldscript.
     12 * by the seg_reset_stack_base parameters in ldscript, of size 0x10000 (64k)
    1313 * - Processor 0 uses a larger stack:         64 Kbytes.
    1414 * - Other processors use a smaller stack:    512 bytes.
    15  *     => the seg_stack_size cannot be smaller than 0x90000 bytes (576 K).
     15 *     => the stack size cannot be smaller than 0x90000 bytes (576 K).
    1616 * Those stacks can be used by both the preloader and the boot-loader code.
    1717 *
     
    3838
    3939    .extern seg_reset_stack_base 
    40     .extern seg_reset_stack_size   
    4140
    4241    .section .reset,"ax",@progbits
     
    130129
    131130   la      k0,      seg_reset_stack_base
    132    li      k1,      seg_reset_stack_size /* k1 <= P0 stack size == 64 Kbytes           */
     131   li      k1,      0x10000        /* k1 <= P0 stack size == 64 Kbytes           */
    133132   addu    sp,      k0,     k1      /* P0 stack from base to (base + 64K)         */
    134133
Note: See TracChangeset for help on using the changeset viewer.