/openbmc/qemu/hw/mips/ |
H A D | mipssim.c | 59 const char *initrd_filename; member 88 if (loaderparams.initrd_filename) { in load_kernel() 89 initrd_size = get_image_size(loaderparams.initrd_filename); in load_kernel() 94 loaderparams.initrd_filename); in load_kernel() 97 initrd_size = load_image_targphys(loaderparams.initrd_filename, in load_kernel() 102 loaderparams.initrd_filename); in load_kernel() 144 const char *initrd_filename = machine->initrd_filename; in mips_mipssim_init() local 201 loaderparams.initrd_filename = initrd_filename; in mips_mipssim_init()
|
H A D | fuloong2e.c | 69 const char *initrd_filename; member 119 if (loaderparams.initrd_filename) { in load_kernel() 120 initrd_size = get_image_size(loaderparams.initrd_filename); in load_kernel() 125 loaderparams.initrd_filename); in load_kernel() 128 initrd_size = load_image_targphys(loaderparams.initrd_filename, in load_kernel() 134 loaderparams.initrd_filename); in load_kernel() 213 const char *initrd_filename = machine->initrd_filename; in mips_fuloong2e_init() local 258 loaderparams.initrd_filename = initrd_filename; in mips_fuloong2e_init()
|
H A D | loongson3_virt.c | 112 const char *initrd_filename; member 372 if (loaderparams.initrd_filename) { in load_kernel() 373 initrd_size = get_image_size(loaderparams.initrd_filename); in load_kernel() 380 loaderparams.initrd_filename); in load_kernel() 384 initrd_size = load_image_targphys(loaderparams.initrd_filename, in load_kernel() 391 loaderparams.initrd_filename); in load_kernel() 495 const char *initrd_filename = machine->initrd_filename; in mips_loongson3_virt_init() local 634 loaderparams.initrd_filename = initrd_filename; in mips_loongson3_virt_init()
|
H A D | malta.c | 116 const char *initrd_filename; member 901 if (loaderparams.initrd_filename) { in load_kernel() 902 initrd_size = get_image_size(loaderparams.initrd_filename); in load_kernel() 914 loaderparams.initrd_filename); in load_kernel() 917 initrd_size = load_image_targphys(loaderparams.initrd_filename, in load_kernel() 923 loaderparams.initrd_filename); in load_kernel() 1085 const char *initrd_filename = machine->initrd_filename; in mips_malta_init() local 1161 loaderparams.initrd_filename = initrd_filename; in mips_malta_init()
|
/openbmc/qemu/hw/alpha/ |
H A D | dp264.c | 51 const char *initrd_filename = machine->initrd_filename; in clipper_init() local 180 if (initrd_filename) { in clipper_init() 184 initrd_size = get_image_size(initrd_filename); in clipper_init() 187 initrd_filename); in clipper_init() 193 load_image_targphys(initrd_filename, initrd_base, in clipper_init()
|
/openbmc/qemu/hw/loongarch/ |
H A D | boot.c | 192 if (info->initrd_filename) { in load_kernel_info() 193 initrd_size = get_image_size(info->initrd_filename); in load_kernel_info() 199 info->initrd_filename); in load_kernel_info() 203 initrd_size = load_image_targphys(info->initrd_filename, initrd_offset, in load_kernel_info() 209 info->initrd_filename); in load_kernel_info() 248 if (info->initrd_filename) { in fw_cfg_add_kernel_info() 251 info->initrd_filename, false); in fw_cfg_add_kernel_info() 332 info->initrd_filename = ms->initrd_filename; in loongarch_load_kernel()
|
/openbmc/qemu/hw/microblaze/ |
H A D | boot.c | 119 const char *initrd_filename, in microblaze_load_kernel() argument 176 if (initrd_filename) { in microblaze_load_kernel() 184 initrd_size = load_ramdisk(initrd_filename, in microblaze_load_kernel() 188 initrd_size = load_image_targphys(initrd_filename, in microblaze_load_kernel() 194 initrd_filename); in microblaze_load_kernel()
|
H A D | boot.h | 7 const char *initrd_filename,
|
/openbmc/qemu/hw/ppc/ |
H A D | ppc440_bamboo.c | 153 const char *initrd_filename = machine->initrd_filename; in bamboo_init() local 264 if (initrd_filename) { in bamboo_init() 265 initrd_size = load_image_targphys(initrd_filename, RAMDISK_ADDR, in bamboo_init() 270 initrd_filename, RAMDISK_ADDR); in bamboo_init()
|
H A D | ppc405_boards.c | 244 if (machine->initrd_filename) { in boot_from_kernel() 246 initrd_size = load_image_targphys(machine->initrd_filename, initrd_base, in boot_from_kernel() 250 machine->initrd_filename); in boot_from_kernel() 326 if (machine->initrd_filename) { in ppc405_init() 328 initrd_size = load_image_targphys(machine->initrd_filename, in ppc405_init() 333 machine->initrd_filename); in ppc405_init()
|
H A D | virtex_ml507.c | 284 if (machine->initrd_filename) { in virtex_init() 286 initrd_size = load_image_targphys(machine->initrd_filename, in virtex_init() 291 machine->initrd_filename); in virtex_init()
|
H A D | mac_oldworld.c | 181 if (machine->initrd_filename) { in ppc_heathrow_init() 184 initrd_size = load_image_targphys(machine->initrd_filename, in ppc_heathrow_init() 189 machine->initrd_filename); in ppc_heathrow_init()
|
H A D | prep.c | 369 if (machine->initrd_filename) { in ibm_40p_init() 371 initrd_size = load_image_targphys(machine->initrd_filename, in ibm_40p_init() 376 machine->initrd_filename); in ibm_40p_init()
|
H A D | sam460ex.c | 519 if (machine->initrd_filename) { in sam460ex_init() 520 initrd_size = load_image_targphys(machine->initrd_filename, in sam460ex_init() 525 machine->initrd_filename, RAMDISK_ADDR); in sam460ex_init()
|
/openbmc/qemu/hw/m68k/ |
H A D | virt.c | 122 const char *initrd_filename = machine->initrd_filename; in virt_init() local 284 if (initrd_filename) { in virt_init() 285 initrd_size = get_image_size(initrd_filename); in virt_init() 288 initrd_filename); in virt_init() 293 load_image_targphys(initrd_filename, initrd_base, in virt_init()
|
H A D | q800.c | 262 const char *initrd_filename = machine->initrd_filename; in q800_machine_init() local 632 if (initrd_filename) { in q800_machine_init() 633 initrd_size = get_image_size(initrd_filename); in q800_machine_init() 636 initrd_filename); in q800_machine_init() 641 load_image_targphys(initrd_filename, initrd_base, in q800_machine_init()
|
/openbmc/qemu/hw/sh4/ |
H A D | r2d.c | 234 const char *initrd_filename = machine->initrd_filename; in r2d_init() local 343 if (initrd_filename) { in r2d_init() 346 initrd_size = load_image_targphys(initrd_filename, in r2d_init() 351 error_report("qemu: could not load initrd '%s'", initrd_filename); in r2d_init()
|
/openbmc/qemu/hw/xtensa/ |
H A D | xtfpga.c | 235 const char *initrd_filename = machine->initrd_filename; in xtfpga_init() local 345 if (initrd_filename) { in xtfpga_init() 375 if (initrd_filename) { in xtfpga_init() 377 int initrd_size = load_ramdisk(initrd_filename, cur_lowmem, in xtfpga_init() 381 initrd_size = load_image_targphys(initrd_filename, in xtfpga_init() 386 error_report("could not load initrd '%s'", initrd_filename); in xtfpga_init()
|
/openbmc/qemu/hw/i386/ |
H A D | x86-common.c | 643 const char *initrd_filename = machine->initrd_filename; in x86_load_linux() local 682 if (load_multiboot(x86ms, fw_cfg, f, kernel_filename, initrd_filename, in x86_load_linux() 705 if (initrd_filename) { in x86_load_linux() 711 mapped_file = g_mapped_file_new(initrd_filename, false, &gerr); in x86_load_linux() 714 initrd_filename, gerr->message); in x86_load_linux() 846 if (initrd_filename) { in x86_load_linux() 857 mapped_file = g_mapped_file_new(initrd_filename, false, &gerr); in x86_load_linux() 860 initrd_filename, gerr->message); in x86_load_linux()
|
H A D | multiboot.c | 150 const char *initrd_filename, in load_multiboot() argument 296 if (initrd_filename) { in load_multiboot() 297 const char *r = initrd_filename; in load_multiboot() 298 cmdline_len += strlen(initrd_filename) + 1; in load_multiboot()
|
H A D | multiboot.h | 11 const char *initrd_filename,
|
/openbmc/qemu/hw/hppa/ |
H A D | machine.c | 336 const char *initrd_filename = machine->initrd_filename; in machine_HP_common_init_tail() local 478 if (initrd_filename) { in machine_HP_common_init_tail() 482 initrd_size = get_image_size(initrd_filename); in machine_HP_common_init_tail() 485 initrd_filename); in machine_HP_common_init_tail() 503 load_image_targphys(initrd_filename, initrd_base, initrd_size); in machine_HP_common_init_tail()
|
/openbmc/qemu/hw/arm/ |
H A D | boot.c | 1041 if (info->initrd_filename) { in arm_setup_direct_kernel_boot() 1048 initrd_size = load_ramdisk_as(info->initrd_filename, in arm_setup_direct_kernel_boot() 1052 initrd_size = load_image_targphys_as(info->initrd_filename, in arm_setup_direct_kernel_boot() 1060 info->initrd_filename); in arm_setup_direct_kernel_boot() 1066 info->initrd_filename); in arm_setup_direct_kernel_boot() 1187 info->initrd_filename, false); in arm_setup_firmware_boot() 1231 info->initrd_filename = ms->initrd_filename; in arm_load_kernel()
|
/openbmc/qemu/hw/riscv/ |
H A D | boot.c | 179 const char *filename = machine->initrd_filename; in riscv_load_initrd() 266 if (load_initrd && machine->initrd_filename) { in riscv_load_kernel() 466 machine->initrd_filename, false); in riscv_setup_firmware_boot()
|
/openbmc/qemu/hw/sparc64/ |
H A D | sun4u.c | 155 const char *initrd_filename, in sun4u_load_kernel() argument 198 if (initrd_filename && kernel_top) { in sun4u_load_kernel() 201 *initrd_size = load_image_targphys(initrd_filename, in sun4u_load_kernel() 206 initrd_filename); in sun4u_load_kernel() 683 machine->initrd_filename, in sun4uv_init()
|