Lines Matching refs:MEMORY_START
59 * MEMORY_START is the physical address of the start of lowmem.
62 * ppc32 and based on how they are set we determine MEMORY_START.
65 * KERNELBASE - PAGE_OFFSET = PHYSICAL_START - MEMORY_START
67 * Also, KERNELBASE >= PAGE_OFFSET and PHYSICAL_START >= MEMORY_START
70 * va = pa + PAGE_OFFSET - MEMORY_START
95 #define MEMORY_START 0UL
97 #define MEMORY_START memstart_addr
99 #define MEMORY_START (PHYSICAL_START + PAGE_OFFSET - KERNELBASE)
103 #define ARCH_PFN_OFFSET (MEMORY_START >> PAGE_SHIFT)
113 * determine MEMORY_START until then. However we can determine PHYSICAL_START
116 * On non-Book-E PPC64 PAGE_OFFSET and MEMORY_START are constants so use
123 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START))
124 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + MEMORY_START)