Rev 969 | Rev 981 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 969 | Rev 971 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | #include "main.h" |
29 | #include "main.h" |
30 | #include "printf.h" |
30 | #include "printf.h" |
31 | #include "asm.h" |
31 | #include "asm.h" |
32 | 32 | ||
33 | #define KERNEL_PHYSICAL_ADDRESS 0x1000 |
33 | #define KERNEL_PHYSICAL_ADDRESS 0x2000 |
34 | #define KERNEL_VIRTUAL_ADDRESS 0x80001000 |
34 | #define KERNEL_VIRTUAL_ADDRESS 0x80002000 |
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 | memmap_t memmap; |
39 | memmap_t memmap; |