Home
last modified time | relevance | path

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

12

/arch/h8300/kernel/
Dsetup.c52 unsigned long memory_start; variable
98 memory_start = (unsigned long) &_ramstart; in setup_arch()
101 if (memcmp((void *)memory_start, "-rom1fs-", 8) == 0) { in setup_arch()
103 initrd_start = memory_start; in setup_arch()
104 initrd_end = memory_start += be32_to_cpu(((unsigned long *) (memory_start))[2]); in setup_arch()
106 memory_start += be32_to_cpu(((unsigned long *) memory_start)[2]); in setup_arch()
109 memory_start = PAGE_ALIGN(memory_start); in setup_arch()
143 (int) &_ebss, (int) memory_start, in setup_arch()
144 (int) memory_start, (int) memory_end, in setup_arch()
169 memory_start >> PAGE_SHIFT, /* map goes here */ in setup_arch()
[all …]
/arch/m68k/sun3/
Dconfig.c109 static void __init sun3_bootmem_alloc(unsigned long memory_start, in sun3_bootmem_alloc() argument
115 memory_start = ((memory_start + (PAGE_SIZE-1)) & PAGE_MASK); in sun3_bootmem_alloc()
118 start_page = __pa(memory_start) >> PAGE_SHIFT; in sun3_bootmem_alloc()
122 availmem = memory_start; in sun3_bootmem_alloc()
134 unsigned long memory_start, memory_end; in config_sun3() local
150 memory_start = ((((unsigned long)_end) + 0x2000) & ~0x1fff); in config_sun3()
157 sun3_bootmem_alloc(memory_start, memory_end); in config_sun3()
/arch/m68knommu/kernel/
Dsetup.c38 unsigned long memory_start; variable
41 EXPORT_SYMBOL(memory_start);
118 memory_start = PAGE_ALIGN(_ramstart); in setup_arch()
175 (int) &_ebss, (int) memory_start, in setup_arch()
176 (int) memory_start, (int) memory_end); in setup_arch()
199 memory_start >> PAGE_SHIFT, /* map goes here */ in setup_arch()
206 free_bootmem(memory_start, memory_end - memory_start); in setup_arch()
207 reserve_bootmem(memory_start, bootmap_size, BOOTMEM_DEFAULT); in setup_arch()
/arch/cris/kernel/
Dsetup.c64 unsigned long memory_start; in setup_arch() local
78 memory_start = (unsigned long) &_end; in setup_arch()
82 memory_start = romfs_start + romfs_length; in setup_arch()
102 start_pfn = PFN_UP(memory_start); /* usually c0000000 + kernel + romfs */ in setup_arch()
/arch/m68knommu/mm/
Dinit.c65 extern unsigned long memory_start;
81 unsigned long start_mem = PAGE_ALIGN(memory_start); in paging_init()
130 unsigned long start_mem = memory_start; /* DAVIDM - these must start at end of kernel */ in mem_init()
/arch/h8300/mm/
Dinit.c64 extern unsigned long memory_start;
80 unsigned long start_mem = PAGE_ALIGN(memory_start); in paging_init()
130 unsigned long start_mem = memory_start; /* DAVIDM - these must start at end of kernel */ in mem_init()
/arch/frv/kernel/
Duaccess.c32 if ((unsigned long) src < memory_start) in strncpy_from_user()
83 if ((unsigned long) src < memory_start) in strnlen_user()
Dsetup.c99 unsigned long __nongprelbss memory_start; variable
741 memory_end = memory_start + mem_size; in parse_cmdline_early()
802 printk("Memory %08lx-%08lx\n", memory_start, memory_end); in setup_arch()
804 BUG_ON(memory_start == memory_end); in setup_arch()
892 memory_start >> PAGE_SHIFT, /* start of RAM */ in setup_linux_memory()
897 max_mapnr = num_physpages = (memory_end - memory_start) >> PAGE_SHIFT; in setup_linux_memory()
912 min_low_pfn = memory_start >> PAGE_SHIFT; in setup_linux_memory()
920 free_bootmem(memory_start, low_top_pfn << PAGE_SHIFT); in setup_linux_memory()
975 memory_start >> PAGE_SHIFT, /* start of RAM */ in setup_uclinux_memory()
980 free_bootmem(memory_start, memory_end - memory_start); in setup_uclinux_memory()
[all …]
Dfrv_ksyms.c45 EXPORT_SYMBOL(memory_start);
/arch/sh/drivers/pci/
Dops-cayman.c87 return sh5pci_init(__pa(memory_start), in pcibios_init_platform()
88 __pa(memory_end) - __pa(memory_start)); in pcibios_init_platform()
Dpci-sh5.c172 memSize = memory_end - memory_start; in sh5pci_init()
188 SH5PCI_WRITE(CSR_MBAR0, memory_start); in sh5pci_init()
189 SH5PCI_WRITE(LAR0, memory_start); in sh5pci_init()
/arch/blackfin/mm/
Dinit.c76 pr_debug("start_mem is %#lx virtual_end is %#lx\n", PAGE_ALIGN(memory_start), end_mem); in paging_init()
93 PAGE_ALIGN(memory_start), end_mem); in paging_init()
138 unsigned long start_mem = memory_start; in mem_init()
/arch/m32r/kernel/
Dsetup.c83 unsigned long memory_start; variable
101 memory_start = (unsigned long)CONFIG_MEMORY_START+PAGE_OFFSET; in parse_mem_cmdline()
102 memory_end = memory_start+(unsigned long)CONFIG_MEMORY_SIZE; in parse_mem_cmdline()
114 memory_end = memory_start + mem_size; in parse_mem_cmdline()
157 curr_pfn = PFN_UP(__pa(memory_start)); in setup_memory()
/arch/sh/kernel/
Dsetup.c89 unsigned long memory_start; variable
90 EXPORT_SYMBOL(memory_start);
102 memory_start = (unsigned long)__va(__MEMORY_START); in early_parse_mem()
115 memory_end = memory_start + size; in early_parse_mem()
369 memory_start = (unsigned long)__va(__MEMORY_START); in setup_arch()
371 memory_end = memory_start + __MEMORY_SIZE; in setup_arch()
/arch/blackfin/kernel/
Dsetup.c37 unsigned long memory_start, memory_end, physical_mem_end; variable
41 EXPORT_SYMBOL(memory_start);
482 memory_start = (_ramstart + 0x3fffff) & ~0x3fffff; in memory_setup()
484 memory_start = PAGE_ALIGN(_ramstart); in memory_setup()
640 add_memory_region(memory_start, in setup_bootmem_allocator()
641 memory_end - memory_start, BFIN_MEMMAP_RAM); in setup_bootmem_allocator()
654 if (min_low_pfn < memory_start >> PAGE_SHIFT) in setup_bootmem_allocator()
655 min_low_pfn = memory_start >> PAGE_SHIFT; in setup_bootmem_allocator()
665 memory_start >> PAGE_SHIFT, /* map goes here */ in setup_bootmem_allocator()
703 memory_start + bootmap_size + PAGE_SIZE - 1 - PAGE_OFFSET, in setup_bootmem_allocator()
Dprocess.c335 if (addr >= memory_start && (addr + size) <= memory_end) in _access_ok()
346 if (addr >= memory_start && (addr + size) <= physical_mem_end) in _access_ok()
/arch/arm/include/asm/
Dpage-nommu.h46 extern unsigned long memory_start;
/arch/blackfin/include/asm/
Dbfin-global.h103 extern unsigned long memory_start, memory_end, physical_mem_end;
Dpage.h54 extern unsigned long memory_start;
/arch/avr32/include/asm/
Dpage.h46 extern unsigned long memory_start, memory_end;
/arch/m68k/include/asm/
Dpage_no.h46 extern unsigned long memory_start;
/arch/h8300/include/asm/
Dpage.h46 extern unsigned long memory_start;
/arch/blackfin/kernel/cplb-mpu/
Dcplbinit.c74 for (; addr < memory_start; addr += 4 * 1024 * 1024) { in generate_cplb_tables_cpu()
/arch/frv/mm/
Dinit.c119 unsigned long npages = (memory_end - memory_start) >> PAGE_SHIFT; in mem_init()
/arch/sh/include/asm/
Dpage.h51 extern unsigned long memory_start, memory_end;

12