/SPARTAN/trunk/arch/ia32/include/mm/page.h |
---|
36,8 → 36,8 |
#define PAGE_SIZE FRAME_SIZE |
#define KA2PA(x) (((__address) (x)) - 0x80000000) |
#define PA2KA(x) (((__address) (x)) + 0x80000000) |
#define KA2PA(x) ((x) - 0x80000000) |
#define PA2KA(x) ((x) + 0x80000000) |
/* |
* Implementation of generic 4-level page table interface. |
/SPARTAN/trunk/arch/ppc/include/mm/page.h |
---|
35,8 → 35,8 |
#define PAGE_SIZE FRAME_SIZE |
#define KA2PA(x) (((__address) (x)) - 0x80000000) |
#define PA2KA(x) (((__address) (x)) + 0x80000000) |
#define KA2PA(x) ((x) - 0x80000000) |
#define PA2KA(x) ((x) + 0x80000000) |
#define PTL0_INDEX_ARCH(vaddr) 0 |
#define PTL1_INDEX_ARCH(vaddr) 0 |
/SPARTAN/trunk/arch/amd64/include/mm/page.h |
---|
35,8 → 35,8 |
#define PAGE_SIZE FRAME_SIZE |
#define KA2PA(x) (((__address) (x)) - 0x80000000) |
#define PA2KA(x) (((__address) (x)) + 0x80000000) |
#define KA2PA(x) ((x) - 0x80000000) |
#define PA2KA(x) ((x) + 0x80000000) |
#define PTL0_INDEX_ARCH(vaddr) 0 |
#define PTL1_INDEX_ARCH(vaddr) 0 |
/SPARTAN/trunk/arch/ia64/include/mm/page.h |
---|
34,8 → 34,8 |
#define PAGE_SIZE FRAME_SIZE |
#define KA2PA(x) (((__address) (x))-0x8000000000000000) |
#define PA2KA(x) (((__address) (x))+0x8000000000000000) |
#define KA2PA(x) ((x)-0x8000000000000000) |
#define PA2KA(x) ((x)+0x8000000000000000) |
#define page_arch_init() ; |
/SPARTAN/trunk/arch/mips/include/mm/page.h |
---|
37,8 → 37,8 |
#define PAGE_SIZE FRAME_SIZE |
#define KA2PA(x) (((__address) (x)) - 0x80000000) |
#define PA2KA(x) (((__address) (x)) + 0x80000000) |
#define KA2PA(x) ((x) - 0x80000000) |
#define PA2KA(x) ((x) + 0x80000000) |
/* |
* Implementation of generic 4-level page table interface. |