Rev 326 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 326 | Rev 329 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | .set noreorder |
32 | .set noreorder |
33 | .set nomacro |
33 | .set nomacro |
34 | 34 | ||
35 | #include <arch/asm/boot.h> |
35 | #include <arch/asm/boot.h> |
36 | 36 | ||
- | 37 | #ifndef KERNEL_LOAD_ADDRESS |
|
- | 38 | # define KERNEL_LOAD_ADDRESS 0x80010000 |
|
- | 39 | #endif |
|
- | 40 | ||
37 | .global start |
41 | .global start |
38 | start: |
42 | start: |
39 | lui $ra, KERNEL_LOAD_ADDRESS >> 16 |
43 | lui $ra, KERNEL_LOAD_ADDRESS >> 16 |
40 | ori $ra, KERNEL_LOAD_ADDRESS & 0xffff |
44 | ori $ra, KERNEL_LOAD_ADDRESS & 0xffff |
41 | 45 |