Changeset 971cf31f in mainline for arch/mips32/src/start.S
- Timestamp:
- 2006-06-10T11:05:21Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0182a665
- Parents:
- 88636f68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/src/start.S
r88636f68 r971cf31f 183 183 lui $sp, %hi(end_stack) 184 184 ori $sp, $sp, %lo(end_stack) 185 185 186 /* $a1 contains physical address of bootinfo_t */ 187 /* $a2 contains size of bootinfo_t */ 188 189 beq $a2, $0, bootinfo_end 190 186 191 /* Not sure about this, but might be needed for PIC code???? */ 187 192 lui $gp, 0x8000 193 194 lui $a3, 0x8000 195 addu $a1, $a1, $a3 196 197 lui $a3, %hi(bootinfo) 198 ori $a3, $a3, %lo(bootinfo) 199 200 bootinfo_loop: 201 202 lw $v0, 0($a1) 203 sw $v0, 0($a3) 204 205 addi $a1, $a1, 4 206 addi $a3, $a3, 4 207 addi $a2, $a2, -4 208 209 bgtz $a2, bootinfo_loop 210 nop 211 212 bootinfo_end: 188 213 189 214 jal arch_pre_main
Note:
See TracChangeset
for help on using the changeset viewer.