diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-01 17:56:37 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-01 17:56:37 +0000 |
commit | 74287114c98ecb969b7ce4b5c959da8a8a431d0f (patch) | |
tree | d82c33d09efeb9dff7a5b9b20324ee507f0458d1 /hw/sun4u.c | |
parent | 4f14e88c5991877085b1090508ee222d6f3ef088 (diff) | |
download | qemu-74287114c98ecb969b7ce4b5c959da8a8a431d0f.zip qemu-74287114c98ecb969b7ce4b5c959da8a8a431d0f.tar.gz qemu-74287114c98ecb969b7ce4b5c959da8a8a431d0f.tar.bz2 |
Improved initrd support for mips.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2574 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sun4u.c')
-rw-r--r-- | hw/sun4u.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -292,7 +292,7 @@ static void sun4u_init(int ram_size, int vga_ram_size, int boot_device, prom_offset | IO_MEM_ROM); snprintf(buf, sizeof(buf), "%s/%s", bios_dir, PROM_FILENAME); - ret = load_elf(buf, 0, NULL); + ret = load_elf(buf, 0, NULL, NULL, NULL); if (ret < 0) { fprintf(stderr, "qemu: could not load prom '%s'\n", buf); @@ -303,7 +303,7 @@ static void sun4u_init(int ram_size, int vga_ram_size, int boot_device, initrd_size = 0; if (linux_boot) { /* XXX: put correct offset */ - kernel_size = load_elf(kernel_filename, 0, NULL); + kernel_size = load_elf(kernel_filename, 0, NULL, NULL, NULL); if (kernel_size < 0) kernel_size = load_aout(kernel_filename, phys_ram_base + KERNEL_LOAD_ADDR); if (kernel_size < 0) |