Changeset 85156d3 in mainline for boot/arch/mips32/loader/boot.S
- Timestamp:
- 2009-02-17T00:50:49Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7f341820
- Parents:
- e94f730
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/mips32/loader/boot.S
re94f730 r85156d3 29 29 #include "regname.h" 30 30 31 #define INITIAL_STACK 0x80040000 31 #define INITIAL_STACK 0x80040000 32 #define MSIM_DORDER_ADDRESS 0x90000004 32 33 33 34 .set noat … … 39 40 .global start 40 41 start: 41 lui $sp, INITIAL_STACK >> 1642 ori $sp, $sp, INITIAL_STACK & 0xffff43 42 44 j bootstrap 43 #ifdef MACHINE_msim 44 /* Read dorder value */ 45 la $k0, MSIM_DORDER_ADDRESS 46 lw $k0, ($k0) 47 48 /* If we are not running on BSP 49 end in an infinite loop */ 50 beq $k0, $zero, bsp 45 51 nop 52 53 loop: 54 j loop 55 nop 56 57 #endif 58 59 bsp: 60 /* Setup initial stack */ 61 lui $sp, INITIAL_STACK >> 16 62 ori $sp, $sp, INITIAL_STACK & 0xffff 63 64 j bootstrap 65 nop
Note:
See TracChangeset
for help on using the changeset viewer.