Rev 1058 | Rev 1075 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1058 | Rev 1068 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | #define PAGE_WIDTH 12 |
33 | #define PAGE_WIDTH 12 |
34 | 34 | ||
35 | #define TRANS_SIZE 1024 |
35 | #define TRANS_SIZE 1024 |
36 | #define TRANS_ITEM_SIZE 4 |
36 | #define TRANS_ITEM_SIZE 4 |
37 | 37 | ||
38 | #define KERNEL_START_ADDR 0x80002000 |
38 | #define KERNEL_START_ADDR 0x80004000 |
39 | 39 | ||
40 | #ifndef __ASM__ |
40 | #ifndef __ASM__ |
41 | 41 | ||
42 | extern void *trans[TRANS_SIZE]; |
42 | extern void *trans[TRANS_SIZE]; |
43 | 43 | ||
44 | extern void halt(); |
44 | extern void halt(); |
45 | extern void jump_to_kernel(void *memmap, void *trans, unsigned int cnt, void *real_mode) __attribute__((noreturn)); |
45 | extern void jump_to_kernel(void *memmap, void *trans, unsigned int kernel_size, void *real_mode) __attribute__((noreturn)); |
46 | extern void real_mode(); |
46 | extern void real_mode(); |
47 | 47 | ||
48 | #endif |
48 | #endif |
49 | 49 | ||
50 | #endif |
50 | #endif |