Home
last modified time | relevance | path

Searched refs:memory_start (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v4.19/arch/nios2/kernel/
Dsetup.c29 unsigned long memory_start; variable
30 EXPORT_SYMBOL(memory_start);
150 memory_start = PAGE_ALIGN((unsigned long)__pa(_end)); in setup_arch()
162 min_low_pfn = PFN_UP(memory_start); in setup_arch()
181 memory_start, memory_end - memory_start); in setup_arch()
182 free_bootmem(memory_start, memory_end - memory_start); in setup_arch()
192 pr_debug("reserve_bootmem(%#lx, %#x)\n", memory_start, bootmap_size); in setup_arch()
193 reserve_bootmem(memory_start, bootmap_size, BOOTMEM_DEFAULT); in setup_arch()
/Linux-v4.19/arch/microblaze/mm/
Dinit.c43 unsigned long memory_start; variable
44 EXPORT_SYMBOL(memory_start);
124 memory_start = (u32)reg->base; in setup_memory()
126 if ((memory_start <= (u32)_text) && in setup_memory()
127 ((u32)_text <= (memory_start + lowmem_size - 1))) { in setup_memory()
129 PAGE_OFFSET = memory_start; in setup_memory()
131 __func__, (u32) memory_start, in setup_memory()
137 if (!memory_start || !memory_size) { in setup_memory()
139 __func__, (u32) memory_start, (u32) memory_size); in setup_memory()
162 min_low_pfn = memory_start >> PAGE_SHIFT; /* minimum for allocation */ in setup_memory()
[all …]
Dpgtable.c75 p >= memory_start && p < virt_to_phys(high_memory) && in __ioremap()
168 p = memory_start; in mapin_ram()
/Linux-v4.19/arch/m68k/kernel/
Dsetup_no.c45 unsigned long memory_start; variable
48 EXPORT_SYMBOL(memory_start);
89 memory_start = PAGE_ALIGN(_ramstart); in setup_arch()
141 __bss_stop, memory_start, memory_start, memory_end); in setup_arch()
143 memblock_add(memory_start, memory_end - memory_start); in setup_arch()
158 min_low_pfn = PFN_DOWN(memory_start); in setup_arch()
/Linux-v4.19/arch/m68k/sun3/
Dconfig.c110 static void __init sun3_bootmem_alloc(unsigned long memory_start, in sun3_bootmem_alloc() argument
116 memory_start = ((memory_start + (PAGE_SIZE-1)) & PAGE_MASK); in sun3_bootmem_alloc()
119 start_page = __pa(memory_start) >> PAGE_SHIFT; in sun3_bootmem_alloc()
123 availmem = memory_start; in sun3_bootmem_alloc()
131 unsigned long memory_start, memory_end; in config_sun3() local
147 memory_start = ((((unsigned long)_end) + 0x2000) & ~0x1fff); in config_sun3()
154 sun3_bootmem_alloc(memory_start, memory_end); in config_sun3()
/Linux-v4.19/arch/c6x/kernel/
Dsetup.c64 unsigned long memory_start; variable
335 memory_start = PAGE_ALIGN((unsigned int) &_end); in setup_arch()
338 memory_start, memory_end); in setup_arch()
353 init_mm.end_data = memory_start; in setup_arch()
354 init_mm.brk = memory_start; in setup_arch()
361 memory_start >> PAGE_SHIFT, in setup_arch()
364 memblock_reserve(memory_start, bootmap_size); in setup_arch()
415 min_low_pfn = PFN_UP(memory_start); in setup_arch()
Dsys_c6x.c29 if (memory_start <= addr && (addr + size - 1) < memory_end) in _access_ok()
/Linux-v4.19/arch/sh/drivers/pci/
Dpci-sh5.c103 unsigned long memStart = __pa(memory_start); in sh5pci_init()
183 memSize = memory_end - memory_start; in sh5pci_init()
199 SH5PCI_WRITE(CSR_MBAR0, memory_start); in sh5pci_init()
200 SH5PCI_WRITE(LAR0, memory_start); in sh5pci_init()
Dpci-sh7780.c303 memphys = __pa(memory_start); in sh7780_pci_init()
304 memsize = roundup_pow_of_two(memory_end - memory_start); in sh7780_pci_init()
/Linux-v4.19/arch/h8300/kernel/
Dsetup.c46 unsigned long memory_start; variable
75 memory_end = memory_start = 0; in bootmem_init()
79 memory_start = region->base; in bootmem_init()
87 min_low_pfn = PFN_UP(memory_start); in bootmem_init()
/Linux-v4.19/arch/h8300/mm/
Dinit.c60 unsigned long start_mem = PAGE_ALIGN(memory_start); in paging_init()
93 pr_devel("Mem_init: start=%lx, end=%lx\n", memory_start, memory_end); in mem_init()
/Linux-v4.19/arch/openrisc/kernel/
Dsetup.c57 phys_addr_t memory_start, memory_end; in setup_memory() local
60 memory_end = memory_start = 0; in setup_memory()
64 memory_start = region->base; in setup_memory()
67 memory_start, memory_end); in setup_memory()
74 ram_start_pfn = PFN_UP(memory_start); in setup_memory()
/Linux-v4.19/arch/nds32/kernel/
Dsetup.c231 phys_addr_t memory_start, memory_end; in setup_memory() local
234 memory_end = memory_start = 0; in setup_memory()
238 memory_start = region->base; in setup_memory()
241 memory_start, memory_end); in setup_memory()
/Linux-v4.19/arch/nds32/mm/
Dinit.c188 phys_addr_t memory_start = memblock_start_of_DRAM(); in mem_init() local
217 (unsigned long)__va(memory_start), (unsigned long)high_memory, in mem_init()
219 (unsigned long)__va(memory_start)) >> 20, in mem_init()
/Linux-v4.19/arch/sh/mm/
Dinit.c309 memory_start = (unsigned long)__va(__MEMORY_START); in paging_init()
310 memory_end = memory_start + (memory_limit ?: memblock_phys_mem_size()); in paging_init()
389 (unsigned long)memory_start, (unsigned long)high_memory, in mem_init()
390 ((unsigned long)high_memory - (unsigned long)memory_start) >> 20, in mem_init()
/Linux-v4.19/arch/h8300/include/asm/
Dpage.h14 extern unsigned long memory_start;
/Linux-v4.19/arch/microblaze/include/asm/
Dpage.h137 extern unsigned long memory_start;
170 # define ARCH_PFN_OFFSET (memory_start >> PAGE_SHIFT)
Duaccess.h56 return ((addr < memory_start) || in ___range_ok()
57 ((addr + size - 1) > (memory_start + memory_size - 1))); in ___range_ok()
Dpgtable.h309 ((pte_val(x) - memory_start) >> PAGE_SHIFT))
380 pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \
/Linux-v4.19/arch/sh/kernel/
Dsetup.c96 unsigned long memory_start; variable
97 EXPORT_SYMBOL(memory_start);
/Linux-v4.19/arch/m68k/include/asm/
Dpage_no.h7 extern unsigned long memory_start;
/Linux-v4.19/arch/nios2/mm/
Dinit.c70 pr_debug("mem_init: start=%lx, end=%lx\n", memory_start, memory_end); in mem_init()
/Linux-v4.19/arch/nios2/include/asm/
Dpage.h73 extern unsigned long memory_start;
/Linux-v4.19/include/asm-generic/
Dpage.h61 extern unsigned long memory_start;
/Linux-v4.19/arch/sh/include/asm/
Dpage.h53 extern unsigned long memory_start, memory_end, memory_limit;

12