Rev 2071 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2089 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | 40 | ||
41 | 41 | ||
42 | #ifdef KERNEL |
42 | #ifdef KERNEL |
43 | #ifndef __ASM__ |
43 | #ifndef __ASM__ |
44 | 44 | ||
45 | #include <arch/types.h> |
- | |
46 | #include <arch/boot/boot.h> |
- | |
47 | - | ||
48 | #define PA2MA(x) ((start_info.pm_map[((uintptr_t) (x)) >> 12] << 12) + (((uintptr_t) (x)) & 0xfff)) |
45 | #define PA2MA(x) ((start_info.pm_map[((uintptr_t) (x)) >> 12] << 12) + (((uintptr_t) (x)) & 0xfff)) |
49 | #define MA2PA(x) ((mp_map[((uintptr_t) (x)) >> 12] << 12) + (((uintptr_t) (x)) & 0xfff)) |
46 | #define MA2PA(x) ((mp_map[((uintptr_t) (x)) >> 12] << 12) + (((uintptr_t) (x)) & 0xfff)) |
50 | 47 | ||
51 | extern void frame_arch_init(void); |
48 | extern void frame_arch_init(void); |
52 | 49 |