Rev 1821 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1821 | Rev 1824 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | 44 | ||
45 | #include <arch/types.h> |
45 | #include <arch/types.h> |
46 | #include <arch/boot/boot.h> |
46 | #include <arch/boot/boot.h> |
47 | 47 | ||
48 | #define PA2MA(x) ((start_info.pm_map[((uintptr_t) (x)) >> 12] << 12) + (((uintptr_t) (x)) & 0xfff)) |
48 | #define PA2MA(x) ((start_info.pm_map[((uintptr_t) (x)) >> 12] << 12) + (((uintptr_t) (x)) & 0xfff)) |
49 | - | ||
50 | extern uintptr_t last_frame; |
49 | #define MA2PA(x) ((mp_map[((uintptr_t) (x)) >> 12] << 12) + (((uintptr_t) (x)) & 0xfff)) |
51 | 50 | ||
52 | extern void frame_arch_init(void); |
51 | extern void frame_arch_init(void); |
53 | 52 | ||
54 | #endif /* __ASM__ */ |
53 | #endif /* __ASM__ */ |
55 | #endif /* KERNEL */ |
54 | #endif /* KERNEL */ |