Rev 1068 | Rev 1146 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1068 | Rev 1075 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | 37 | ||
38 | #define KERNEL_START_ADDR 0x80004000 |
38 | #define KERNEL_START_ADDR 0x80004000 |
39 | 39 | ||
40 | #ifndef __ASM__ |
40 | #ifndef __ASM__ |
41 | 41 | ||
- | 42 | #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) |
|
- | 43 | ||
42 | extern void *trans[TRANS_SIZE]; |
44 | extern void *trans[TRANS_SIZE]; |
43 | 45 | ||
44 | extern void halt(); |
46 | extern void halt(); |
45 | extern void jump_to_kernel(void *memmap, void *trans, unsigned int kernel_size, void *real_mode) __attribute__((noreturn)); |
47 | extern void jump_to_kernel(void *memmap, void *trans, unsigned int kernel_size, void *real_mode) __attribute__((noreturn)); |
46 | extern void real_mode(); |
48 | extern void real_mode(); |