Home
last modified time | relevance | path

Searched refs:boot_mem_map (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/arch/mips64/kernel/
Dsetup.c83 struct boot_mem_map boot_mem_map; variable
146 int x = boot_mem_map.nr_map; in add_memory_region()
153 boot_mem_map.map[x].addr = start; in add_memory_region()
154 boot_mem_map.map[x].size = size; in add_memory_region()
155 boot_mem_map.map[x].type = type; in add_memory_region()
156 boot_mem_map.nr_map++; in add_memory_region()
163 for (i = 0; i < boot_mem_map.nr_map; i++) { in print_memory_map()
165 (unsigned long long) boot_mem_map.map[i].size, in print_memory_map()
166 (unsigned long long) boot_mem_map.map[i].addr); in print_memory_map()
167 switch (boot_mem_map.map[i].type) { in print_memory_map()
[all …]
/linux-2.4.37.9/arch/mips/kernel/
Dsetup.c86 struct boot_mem_map boot_mem_map; variable
145 int x = boot_mem_map.nr_map; in add_memory_region()
152 boot_mem_map.map[x].addr = start; in add_memory_region()
153 boot_mem_map.map[x].size = size; in add_memory_region()
154 boot_mem_map.map[x].type = type; in add_memory_region()
155 boot_mem_map.nr_map++; in add_memory_region()
162 for (i = 0; i < boot_mem_map.nr_map; i++) { in print_memory_map()
164 (u64) boot_mem_map.map[i].size, in print_memory_map()
165 (u64) boot_mem_map.map[i].addr); in print_memory_map()
167 switch (boot_mem_map.map[i].type) { in print_memory_map()
[all …]
/linux-2.4.37.9/arch/mips/arc/
Dmemory.c153 for (i = 0; i < boot_mem_map.nr_map; i++) { in prom_free_prom_memory()
154 if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA) in prom_free_prom_memory()
157 addr = boot_mem_map.map[i].addr; in prom_free_prom_memory()
158 while (addr < boot_mem_map.map[i].addr in prom_free_prom_memory()
159 + boot_mem_map.map[i].size) { in prom_free_prom_memory()
/linux-2.4.37.9/arch/mips/mips-boards/generic/
Dmemory.c162 for (i = 0; i < boot_mem_map.nr_map; i++) { in prom_free_prom_memory()
163 if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA) in prom_free_prom_memory()
166 addr = boot_mem_map.map[i].addr; in prom_free_prom_memory()
167 while (addr < boot_mem_map.map[i].addr in prom_free_prom_memory()
168 + boot_mem_map.map[i].size) { in prom_free_prom_memory()
/linux-2.4.37.9/include/asm-mips/
Dbootinfo.h217 struct boot_mem_map { struct
226 extern struct boot_mem_map boot_mem_map; argument
/linux-2.4.37.9/include/asm-mips64/
Dbootinfo.h216 struct boot_mem_map { struct
225 extern struct boot_mem_map boot_mem_map; argument
/linux-2.4.37.9/arch/mips64/mm/
Dinit.c231 for (i = 0; i < boot_mem_map.nr_map; i++) { in page_is_ram()
234 if (boot_mem_map.map[i].type != BOOT_MEM_RAM) in page_is_ram()
238 addr = PFN_UP(boot_mem_map.map[i].addr); in page_is_ram()
239 end = PFN_DOWN(boot_mem_map.map[i].addr + in page_is_ram()
240 boot_mem_map.map[i].size); in page_is_ram()
/linux-2.4.37.9/arch/mips/mm/
Dinit.c283 for (i = 0; i < boot_mem_map.nr_map; i++) { in page_is_ram()
286 if (boot_mem_map.map[i].type != BOOT_MEM_RAM) in page_is_ram()
290 addr = PFN_UP(boot_mem_map.map[i].addr); in page_is_ram()
291 end = PFN_DOWN(boot_mem_map.map[i].addr in page_is_ram()
292 + boot_mem_map.map[i].size); in page_is_ram()