Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1823 → Rev 1824

/trunk/kernel/arch/xen32/include/mm/frame.h
46,9 → 46,8
#include <arch/boot/boot.h>
 
#define PA2MA(x) ((start_info.pm_map[((uintptr_t) (x)) >> 12] << 12) + (((uintptr_t) (x)) & 0xfff))
#define MA2PA(x) ((mp_map[((uintptr_t) (x)) >> 12] << 12) + (((uintptr_t) (x)) & 0xfff))
 
extern uintptr_t last_frame;
 
extern void frame_arch_init(void);
 
#endif /* __ASM__ */