Changeset 660 for trunk/softs
- Timestamp:
- Mar 10, 2014, 1:28:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/tsar_boot/src/reset.S
r659 r660 10 10 * 11 11 * 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) 13 13 * - Processor 0 uses a larger stack: 64 Kbytes. 14 14 * - Other processors use a smaller stack: 512 bytes. 15 * => the s eg_stack_size cannot be smaller than 0x90000 bytes (576 K).15 * => the stack size cannot be smaller than 0x90000 bytes (576 K). 16 16 * Those stacks can be used by both the preloader and the boot-loader code. 17 17 * … … 38 38 39 39 .extern seg_reset_stack_base 40 .extern seg_reset_stack_size41 40 42 41 .section .reset,"ax",@progbits … … 130 129 131 130 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 */ 133 132 addu sp, k0, k1 /* P0 stack from base to (base + 64K) */ 134 133
Note: See TracChangeset
for help on using the changeset viewer.