Rev 341 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 341 | Rev 457 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | 30 | ||
31 | .set noat |
31 | .set noat |
32 | .set noreorder |
32 | .set noreorder |
33 | .set nomacro |
33 | .set nomacro |
34 | 34 | ||
35 | #include <arch/asm/boot.h> |
- | |
36 | - | ||
37 | #ifndef KERNEL_LOAD_ADDRESS |
- | |
38 | # define KERNEL_LOAD_ADDRESS 0x80100000 |
35 | #define KERNEL_LOAD_ADDRESS 0x80100000 |
39 | #endif |
- | |
40 | 36 | ||
41 | .global start |
37 | .global start |
42 | start: |
38 | start: |
43 | lui $ra, KERNEL_LOAD_ADDRESS >> 16 |
39 | lui $ra, KERNEL_LOAD_ADDRESS >> 16 |
44 | ori $ra, KERNEL_LOAD_ADDRESS & 0xffff |
40 | ori $ra, KERNEL_LOAD_ADDRESS & 0xffff |