/trunk/kernel/arch/sparc64/include/mm/page.h |
53,11 → 53,6 |
|
#define MMU_PAGES_PER_PAGE (1 << (PAGE_WIDTH - MMU_PAGE_WIDTH)) |
|
/* |
* With 16K pages, there is only one page color. |
*/ |
#define PAGE_COLOR_BITS 0 /**< 14 - 14; 2^14 == 16K == alias boundary. */ |
|
#ifdef KERNEL |
|
#ifndef __ASM__ |
/trunk/kernel/arch/ia64/include/mm/page.h |
41,8 → 41,6 |
#define PAGE_SIZE FRAME_SIZE |
#define PAGE_WIDTH FRAME_WIDTH |
|
#define PAGE_COLOR_BITS 0 /* dummy */ |
|
#ifdef KERNEL |
|
/** Bit width of the TLB-locked portion of kernel address space. */ |
/trunk/kernel/arch/arm32/include/mm/page.h |
43,8 → 43,6 |
#define PAGE_WIDTH FRAME_WIDTH |
#define PAGE_SIZE FRAME_SIZE |
|
#define PAGE_COLOR_BITS 0 /* dummy */ |
|
#ifndef __ASM__ |
# define KA2PA(x) (((uintptr_t) (x)) - 0x80000000) |
# define PA2KA(x) (((uintptr_t) (x)) + 0x80000000) |
/trunk/kernel/arch/mips32/include/mm/page.h |
40,8 → 40,6 |
#define PAGE_WIDTH FRAME_WIDTH |
#define PAGE_SIZE FRAME_SIZE |
|
#define PAGE_COLOR_BITS 0 /* dummy */ |
|
#ifndef __ASM__ |
# define KA2PA(x) (((uintptr_t) (x)) - 0x80000000) |
# define PA2KA(x) (((uintptr_t) (x)) + 0x80000000) |