Rev 933 | Rev 953 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 933 | Rev 950 | ||
|---|---|---|---|
| Line 29... | Line 29... | ||
| 29 | #include "main.h" |
29 | #include "main.h" |
| 30 | #include "printf.h" |
30 | #include "printf.h" |
| 31 | #include "ofw.h" |
31 | #include "ofw.h" |
| 32 | #include "asm.h" |
32 | #include "asm.h" |
| 33 | 33 | ||
| 34 | #define KERNEL_LOAD_ADDRESS 0x800000 |
34 | #define KERNEL_LOAD_ADDRESS 0x400000 |
| 35 | #define KERNEL_START &_binary_____________kernel_kernel_bin_start |
35 | #define KERNEL_START &_binary_____________kernel_kernel_bin_start |
| 36 | #define KERNEL_END &_binary_____________kernel_kernel_bin_end |
36 | #define KERNEL_END &_binary_____________kernel_kernel_bin_end |
| 37 | #define KERNEL_SIZE ((unsigned int) KERNEL_END - (unsigned int) KERNEL_START) |
37 | #define KERNEL_SIZE ((unsigned int) KERNEL_END - (unsigned int) KERNEL_START) |
| 38 | 38 | ||
| 39 | void bootstrap(void) |
39 | void bootstrap(void) |