Home
last modified time | relevance | path

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

1234

/openbmc/linux/arch/mips/ath79/
H A 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()
/openbmc/qemu/hw/microblaze/
H A Dboot.c48 uint32_t initrd_start; member
61 env->regs[6] = boot_info.initrd_start; in main_cpu_reset()
71 uint32_t initrd_start, in microblaze_load_dtb() argument
99 if (initrd_start) { in microblaze_load_dtb()
101 initrd_start); in microblaze_load_dtb()
181 boot_info.initrd_start = high; in microblaze_load_kernel()
182 initrd_offset = boot_info.initrd_start - ddr_base; in microblaze_load_kernel()
185 boot_info.initrd_start, in microblaze_load_kernel()
189 boot_info.initrd_start, in microblaze_load_kernel()
197 boot_info.initrd_end = boot_info.initrd_start + initrd_size; in microblaze_load_kernel()
[all …]
/openbmc/linux/arch/mips/sibyte/common/
H A Dcfe.c41 extern unsigned long initrd_start, initrd_end;
89 initrd_pstart = CPHYSADDR(initrd_start); in prom_meminit()
91 if (initrd_start && in prom_meminit()
108 if (initrd_start) { in prom_meminit()
142 if (initrd_start) { in prom_meminit()
186 initrd_start = simple_strtoul(tmp, &endptr, 16); in initrd_setup()
190 initrd_end = initrd_start + initrd_size; in initrd_setup()
191 printk("Found initrd of %lx@%lx\n", initrd_size, initrd_start); in initrd_setup()
195 initrd_start = 0; in initrd_setup()
/openbmc/u-boot/board/ti/ks2_evm/
H A Dboard.c175 u64 initrd_start, initrd_end; in ft_board_setup_ex() local
184 initrd_start = __be64_to_cpu(*prop1); in ft_board_setup_ex()
185 initrd_start -= CONFIG_SYS_SDRAM_BASE; in ft_board_setup_ex()
186 initrd_start += CONFIG_SYS_LPAE_SDRAM_BASE; in ft_board_setup_ex()
187 initrd_start = __cpu_to_be64(initrd_start); in ft_board_setup_ex()
205 &initrd_start, in ft_board_setup_ex()
206 sizeof(initrd_start)); in ft_board_setup_ex()
/openbmc/linux/arch/alpha/boot/
H A 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()
/openbmc/linux/arch/mips/kernel/
H A Dsetup.c133 initrd_start = start; in rd_start_early()
156 if (!initrd_start || initrd_end <= initrd_start) in init_initrd()
159 if (initrd_start & ~PAGE_MASK) { in init_initrd()
173 initrd_start = (unsigned long)__va(__pa(initrd_start)); in init_initrd()
175 if (initrd_start < PAGE_OFFSET) { in init_initrd()
183 initrd_start = 0; in init_initrd()
197 if (!memcmp((void *)initrd_start, "070701", 6)) in maybe_bswap_initrd()
205 buf = swab64p((u64 *)initrd_start); in maybe_bswap_initrd()
232 memblock_reserve(__pa(initrd_start), size); in finalize_initrd()
236 initrd_start, size); in finalize_initrd()
[all …]
/openbmc/linux/init/
H A Dinitramfs.c583 initrd_start = initrd_end = 0; in reserve_initrd_mem()
612 initrd_end = initrd_start + phys_initrd_size; in reserve_initrd_mem()
618 initrd_start = 0; in reserve_initrd_mem()
651 memset((void *)initrd_start, 0, initrd_end - initrd_start); in kexec_free_initrd()
652 if (initrd_start < crashk_start) in kexec_free_initrd()
680 written = xwrite(file, (char *)initrd_start, initrd_end - initrd_start, in populate_initrd_image()
682 if (written != initrd_end - initrd_start) in populate_initrd_image()
684 written, initrd_end - initrd_start); in populate_initrd_image()
704 err = unpack_to_rootfs((char *)initrd_start, initrd_end - initrd_start); in do_populate_rootfs()
719 free_initrd_mem(initrd_start, initrd_end); in do_populate_rootfs()
[all …]
/openbmc/linux/arch/csky/mm/
H A Dinit.c50 if (initrd_start >= initrd_end) { in setup_initrd()
60 size = initrd_end - initrd_start; in setup_initrd()
62 if (memblock_is_region_reserved(__pa(initrd_start), size)) { in setup_initrd()
64 __pa(initrd_start), size); in setup_initrd()
68 memblock_reserve(__pa(initrd_start), size); in setup_initrd()
71 (void *)(initrd_start), size); in setup_initrd()
78 initrd_start = initrd_end = 0; in setup_initrd()
/openbmc/linux/arch/arm/boot/bootp/
H A Dinitrd.S2 .type initrd_start,#object
3 .globl initrd_start
4 initrd_start: label
/openbmc/linux/arch/x86/mm/
H A Dmem_encrypt_identity.c293 unsigned long initrd_start, initrd_end, initrd_len; in sme_encrypt_kernel() local
327 initrd_start = 0; in sme_encrypt_kernel()
334 initrd_start = (unsigned long)bp->hdr.ramdisk_image | in sme_encrypt_kernel()
336 initrd_end = PAGE_ALIGN(initrd_start + initrd_len); in sme_encrypt_kernel()
337 initrd_len = initrd_end - initrd_start; in sme_encrypt_kernel()
437 ppd.paddr = initrd_start; in sme_encrypt_kernel()
438 ppd.vaddr = initrd_start; in sme_encrypt_kernel()
444 ppd.paddr = initrd_start; in sme_encrypt_kernel()
445 ppd.vaddr = initrd_start + decrypted_base; in sme_encrypt_kernel()
466 sme_encrypt_execute(initrd_start, initrd_start + decrypted_base, in sme_encrypt_kernel()
[all …]
/openbmc/linux/arch/nios2/kernel/
H A Dsetup.c117 initrd_start = r5; in nios2_boot_init()
168 if (initrd_start) { in setup_arch()
169 memblock_reserve(virt_to_phys((void *)initrd_start), in setup_arch()
170 initrd_end - initrd_start); in setup_arch()
/openbmc/u-boot/arch/nios2/lib/
H A Dbootm.c15 ulong initrd_start = images->rd_start; in do_bootm_linux() local
42 debug("initrd=0x%lx-0x%lx\n", (ulong)initrd_start, (ulong)initrd_end); in do_bootm_linux()
52 kernel(NIOS_MAGIC, initrd_start, initrd_end, commandline); in do_bootm_linux()
/openbmc/u-boot/arch/xtensa/lib/
H A Dbootm.c137 ulong initrd_start, initrd_end; in do_bootm_linux() local
146 initrd_start = images->rd_start; in do_bootm_linux()
149 initrd_start = 0; in do_bootm_linux()
160 if (initrd_start) in do_bootm_linux()
161 params = setup_ramdisk_tag(params, initrd_start, initrd_end); in do_bootm_linux()
/openbmc/linux/arch/sparc/mm/
H A Dinit_32.c112 initrd_start = sparc_ramdisk_image + phys_base; in find_ramdisk()
113 initrd_end = initrd_start + sparc_ramdisk_size; in find_ramdisk()
118 initrd_start = 0; in find_ramdisk()
121 size = initrd_end - initrd_start; in find_ramdisk()
122 memblock_reserve(initrd_start, size); in find_ramdisk()
124 initrd_start = (initrd_start - phys_base) + PAGE_OFFSET; in find_ramdisk()
/openbmc/linux/arch/m68k/kernel/
H A Dsetup_no.c160 if ((initrd_start > 0) && (initrd_start < initrd_end) && in setup_arch()
162 memblock_reserve(initrd_start, initrd_end - initrd_start); in setup_arch()
H A 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()
/openbmc/linux/arch/openrisc/kernel/
H A 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()
273 if (initrd_start == initrd_end) { in setup_arch()
275 initrd_start = 0; in setup_arch()
279 (void *)(initrd_start), initrd_end - initrd_start); in setup_arch()
/openbmc/linux/arch/um/kernel/
H A Dinitrd.c30 initrd_start = (unsigned long) area; in read_initrd()
31 initrd_end = initrd_start + size; in read_initrd()
/openbmc/linux/arch/parisc/mm/
H A Dinit.c299 if (initrd_start) { in setup_bootmem()
300 printk(KERN_INFO "initrd: %08lx-%08lx\n", initrd_start, initrd_end); in setup_bootmem()
301 if (__pa(initrd_start) < mem_max) { in setup_bootmem()
305 initrd_reserve = mem_max - __pa(initrd_start); in setup_bootmem()
307 initrd_reserve = initrd_end - initrd_start; in setup_bootmem()
310 …NFO "initrd: reserving %08lx-%08lx (mem_max %08lx)\n", __pa(initrd_start), __pa(initrd_start) + in… in setup_bootmem()
312 memblock_reserve(__pa(initrd_start), initrd_reserve); in setup_bootmem()
637 printk(KERN_INFO "initrd: mapping %08lx-%08lx\n", initrd_start, initrd_end); in pagetable_init()
638 map_pages(initrd_start, __pa(initrd_start), in pagetable_init()
639 initrd_end - initrd_start, PAGE_KERNEL, 0); in pagetable_init()
/openbmc/qemu/hw/arm/
H A Dboot.c302 WRITE_WORD(p, info->initrd_start); in set_kernel_args()
381 WRITE_WORD(p, info->initrd_start); in set_kernel_args_old()
642 acells, binfo->initrd_start); in arm_load_dtb()
650 binfo->initrd_start + in arm_load_dtb()
1031 info->initrd_start = info->loader_start + in arm_setup_direct_kernel_boot()
1034 info->initrd_start = MAX(info->initrd_start, image_high_addr); in arm_setup_direct_kernel_boot()
1036 info->initrd_start = TARGET_PAGE_ALIGN(info->initrd_start); in arm_setup_direct_kernel_boot()
1043 if (info->initrd_start >= ram_end) { in arm_setup_direct_kernel_boot()
1049 info->initrd_start, in arm_setup_direct_kernel_boot()
1053 info->initrd_start, in arm_setup_direct_kernel_boot()
[all …]
/openbmc/linux/arch/arm/boot/compressed/
H A Datags_to_fdt.c197 uint32_t initrd_start, initrd_size; in atags_to_fdt() local
198 initrd_start = atag->u.initrd.start; in atags_to_fdt()
201 initrd_start); in atags_to_fdt()
203 initrd_start + initrd_size); in atags_to_fdt()
/openbmc/u-boot/arch/mips/lib/
H A Dbootm.c127 rd_start = images->initrd_start; in linux_cmdline_append()
128 rd_size = images->initrd_end - images->initrd_start; in linux_cmdline_append()
185 rd_start = UNCACHED_SDRAM(images->initrd_start); in linux_env_legacy()
186 rd_size = images->initrd_end - images->initrd_start; in linux_env_legacy()
232 rd_len, &images->initrd_start, &images->initrd_end); in boot_reloc_ramdisk()
/openbmc/u-boot/arch/nds32/lib/
H A Dbootm.c30 static void setup_initrd_tag(bd_t *bd, ulong initrd_start, ulong initrd_end);
188 static void setup_initrd_tag(bd_t *bd, ulong initrd_start, ulong initrd_end) in setup_initrd_tag() argument
196 params->u.initrd.start = initrd_start; in setup_initrd_tag()
197 params->u.initrd.size = initrd_end - initrd_start; in setup_initrd_tag()
/openbmc/linux/arch/sh/kernel/
H A 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()
/openbmc/u-boot/arch/arm/lib/
H A Dbootm.c171 static void setup_initrd_tag(bd_t *bd, ulong initrd_start, ulong initrd_end) in setup_initrd_tag() argument
179 params->u.initrd.start = initrd_start; in setup_initrd_tag()
180 params->u.initrd.size = initrd_end - initrd_start; in setup_initrd_tag()
258 if (images->initrd_start && images->initrd_end) { in boot_prep_linux()
259 setup_initrd_tag(gd->bd, images->initrd_start, in boot_prep_linux()

1234