Home
last modified time | relevance | path

Searched refs:initrd_start (Results 1 – 25 of 50) sorted by relevance

12

/arch/mips/ath79/
Dprom.c28 initrd_start = fw_getenvl("initrd_start"); in prom_init()
29 if (initrd_start) { in prom_init()
30 initrd_start = KSEG0ADDR(initrd_start); in prom_init()
31 initrd_end = initrd_start + fw_getenvl("initrd_size"); in prom_init()
/arch/mips/sibyte/common/
Dcfe.c47 extern unsigned long initrd_start, initrd_end;
95 initrd_pstart = CPHYSADDR(initrd_start); in prom_meminit()
97 if (initrd_start && in prom_meminit()
114 if (initrd_start) { in prom_meminit()
158 if (initrd_start) { in prom_meminit()
202 initrd_start = simple_strtoul(tmp, &endptr, 16); in initrd_setup()
206 initrd_end = initrd_start + initrd_size; in initrd_setup()
207 printk("Found initrd of %lx@%lx\n", initrd_size, initrd_start); in initrd_setup()
211 initrd_start = 0; in initrd_setup()
/arch/arm/boot/bootp/
Dinitrd.S2 .type initrd_start,#object
3 .globl initrd_start symbol
4 initrd_start: label
Dinit.S23 add r4, r4, lr @ r4 = initrd_start + load addr
76 data: .word initrd_start @ source initrd address
/arch/csky/mm/
Dinit.c44 if (initrd_start >= initrd_end) { in setup_initrd()
54 size = initrd_end - initrd_start; in setup_initrd()
56 if (memblock_is_region_reserved(__pa(initrd_start), size)) { in setup_initrd()
58 __pa(initrd_start), size); in setup_initrd()
62 memblock_reserve(__pa(initrd_start), size); in setup_initrd()
65 (void *)(initrd_start), size); in setup_initrd()
72 initrd_start = initrd_end = 0; in setup_initrd()
/arch/alpha/boot/
Dbootp.c150 static unsigned long initrd_start; in start_kernel() local
167 initrd_start = ((START_ADDR + 5*KERNEL_SIZE + PAGE_SIZE) | in start_kernel()
170 srm_printk("Initrd positioned at %#lx\n", initrd_start); in start_kernel()
177 move_stack(initrd_start - PAGE_SIZE); in start_kernel()
201 load(initrd_start, KERNEL_ORIGIN+KERNEL_SIZE, INITRD_IMAGE_SIZE); in start_kernel()
209 ((long *)(ZERO_PGE+256))[0] = initrd_start; in start_kernel()
/arch/mips/kernel/
Dsetup.c129 initrd_start = start; in rd_start_early()
152 if (!initrd_start || initrd_end <= initrd_start) in init_initrd()
155 if (initrd_start & ~PAGE_MASK) { in init_initrd()
169 initrd_start = (unsigned long)__va(__pa(initrd_start)); in init_initrd()
171 if (initrd_start < PAGE_OFFSET) { in init_initrd()
179 initrd_start = 0; in init_initrd()
193 if (!memcmp((void *)initrd_start, "070701", 6)) in maybe_bswap_initrd()
197 if (decompress_method((unsigned char *)initrd_start, 8, NULL)) in maybe_bswap_initrd()
201 buf = swab64p((u64 *)initrd_start); in maybe_bswap_initrd()
207 for (i = initrd_start; i < ALIGN(initrd_end, 8); i += 8) in maybe_bswap_initrd()
[all …]
/arch/nios2/kernel/
Dsetup.c119 initrd_start = r5; in nios2_boot_init()
170 if (initrd_start) { in setup_arch()
171 memblock_reserve(virt_to_phys((void *)initrd_start), in setup_arch()
172 initrd_end - initrd_start); in setup_arch()
/arch/c6x/kernel/
Dsetup.c335 if (initrd_start < initrd_end) in setup_arch()
336 if (memblock_is_region_memory(initrd_start, in setup_arch()
337 initrd_end - initrd_start)) in setup_arch()
338 memblock_reserve(initrd_start, in setup_arch()
339 initrd_end - initrd_start); in setup_arch()
363 if (initrd_start < initrd_end) { in setup_arch()
364 if (!memblock_is_region_memory(initrd_start, in setup_arch()
365 initrd_end - initrd_start)) in setup_arch()
366 enable_caching(CACHE_REGION_START(initrd_start), in setup_arch()
/arch/alpha/mm/
Dnuma.c179 initrd_start = INITRD_START; in setup_memory()
180 if (initrd_start) { in setup_memory()
183 initrd_end = initrd_start+INITRD_SIZE; in setup_memory()
185 (void *) initrd_start, INITRD_SIZE); in setup_memory()
194 nid = kvaddr_to_nid(initrd_start); in setup_memory()
195 memblock_reserve(virt_to_phys((void *)initrd_start), in setup_memory()
/arch/x86/mm/
Dmem_encrypt_identity.c294 unsigned long initrd_start, initrd_end, initrd_len; in sme_encrypt_kernel() local
322 initrd_start = 0; in sme_encrypt_kernel()
329 initrd_start = (unsigned long)bp->hdr.ramdisk_image | in sme_encrypt_kernel()
331 initrd_end = PAGE_ALIGN(initrd_start + initrd_len); in sme_encrypt_kernel()
332 initrd_len = initrd_end - initrd_start; in sme_encrypt_kernel()
440 ppd.paddr = initrd_start; in sme_encrypt_kernel()
441 ppd.vaddr = initrd_start; in sme_encrypt_kernel()
447 ppd.paddr = initrd_start; in sme_encrypt_kernel()
448 ppd.vaddr = initrd_start + decrypted_base; in sme_encrypt_kernel()
469 sme_encrypt_execute(initrd_start, initrd_start + decrypted_base, in sme_encrypt_kernel()
[all …]
/arch/sparc/mm/
Dinit_32.c113 initrd_start = sparc_ramdisk_image + phys_base; in find_ramdisk()
114 initrd_end = initrd_start + sparc_ramdisk_size; in find_ramdisk()
119 initrd_start = 0; in find_ramdisk()
122 size = initrd_end - initrd_start; in find_ramdisk()
123 memblock_reserve(initrd_start, size); in find_ramdisk()
125 initrd_start = (initrd_start - phys_base) + PAGE_OFFSET; in find_ramdisk()
/arch/m68k/kernel/
Dsetup_no.c157 if ((initrd_start > 0) && (initrd_start < initrd_end) && in setup_arch()
159 memblock_reserve(initrd_start, initrd_end - initrd_start); in setup_arch()
Duboot.c82 initrd_start = uboot_initrd_start; in parse_uboot_commandline()
85 pr_info("initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end); in parse_uboot_commandline()
/arch/openrisc/kernel/
Dsetup.c80 if (initrd_start && (initrd_end > initrd_start)) { in setup_memory()
81 unsigned long aligned_start = ALIGN_DOWN(initrd_start, PAGE_SIZE); in setup_memory()
302 if (initrd_start == initrd_end) { in setup_arch()
304 initrd_start = 0; in setup_arch()
308 (void *)(initrd_start), initrd_end - initrd_start); in setup_arch()
/arch/parisc/mm/
Dinit.c302 if (initrd_start) { in setup_bootmem()
303 printk(KERN_INFO "initrd: %08lx-%08lx\n", initrd_start, initrd_end); in setup_bootmem()
304 if (__pa(initrd_start) < mem_max) { in setup_bootmem()
308 initrd_reserve = mem_max - __pa(initrd_start); in setup_bootmem()
310 initrd_reserve = initrd_end - initrd_start; in setup_bootmem()
313 …NFO "initrd: reserving %08lx-%08lx (mem_max %08lx)\n", __pa(initrd_start), __pa(initrd_start) + in… in setup_bootmem()
315 memblock_reserve(__pa(initrd_start), initrd_reserve); in setup_bootmem()
642 printk(KERN_INFO "initrd: mapping %08lx-%08lx\n", initrd_start, initrd_end); in pagetable_init()
643 map_pages(initrd_start, __pa(initrd_start), in pagetable_init()
644 initrd_end - initrd_start, PAGE_KERNEL, 0); in pagetable_init()
/arch/um/kernel/
Dinitrd.c46 initrd_start = (unsigned long) area; in read_initrd()
47 initrd_end = initrd_start + size; in read_initrd()
/arch/arm/boot/compressed/
Datags_to_fdt.c196 uint32_t initrd_start, initrd_size; in atags_to_fdt() local
197 initrd_start = atag->u.initrd.start; in atags_to_fdt()
200 initrd_start); in atags_to_fdt()
202 initrd_start + initrd_size); in atags_to_fdt()
/arch/sh/kernel/
Dsetup.c167 initrd_start = (unsigned long)__va(start); in check_for_initrd()
168 initrd_end = initrd_start + INITRD_SIZE; in check_for_initrd()
170 memblock_reserve(__pa(initrd_start), INITRD_SIZE); in check_for_initrd()
176 initrd_start = initrd_end = 0; in check_for_initrd()
/arch/parisc/include/asm/
Dkexec.h20 unsigned long initrd_start; member
/arch/xtensa/kernel/
Dsetup.c61 extern unsigned long initrd_start;
118 initrd_start = (unsigned long)__va(mi->start); in parse_tag_initrd()
339 if (initrd_start < initrd_end && in setup_arch()
340 !mem_reserve(__pa(initrd_start), __pa(initrd_end))) in setup_arch()
343 initrd_start = 0; in setup_arch()
/arch/microblaze/mm/
Dinit.c287 if (initrd_start) { in mmu_init()
289 size = initrd_end - initrd_start; in mmu_init()
290 memblock_reserve(__virt_to_phys(initrd_start), size); in mmu_init()
/arch/arc/mm/
Dinit.c130 initrd_start = (unsigned long)__va(phys_initrd_start); in setup_arch_memory()
131 initrd_end = initrd_start + phys_initrd_size; in setup_arch_memory()
/arch/alpha/kernel/
Dsetup.c294 size = initrd_end - initrd_start; in move_initrd()
297 initrd_start = initrd_end = 0; in move_initrd()
300 memmove(start, (void *)initrd_start, size); in move_initrd()
301 initrd_start = (unsigned long)start; in move_initrd()
302 initrd_end = initrd_start + size; in move_initrd()
374 initrd_start = INITRD_START; in setup_memory()
375 if (initrd_start) { in setup_memory()
376 initrd_end = initrd_start+INITRD_SIZE; in setup_memory()
378 (void *) initrd_start, INITRD_SIZE); in setup_memory()
387 memblock_reserve(virt_to_phys((void *)initrd_start), in setup_memory()
/arch/ia64/include/uapi/asm/
Dsetup.h21 __u64 initrd_start; member

12