aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4m.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-01 17:56:37 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-01 17:56:37 +0000
commit74287114c98ecb969b7ce4b5c959da8a8a431d0f (patch)
treed82c33d09efeb9dff7a5b9b20324ee507f0458d1 /hw/sun4m.c
parent4f14e88c5991877085b1090508ee222d6f3ef088 (diff)
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/sun4m.c')
-rw-r--r--hw/sun4m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c
index a23baee173..ee34c1b5bc 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -295,7 +295,7 @@ static void sun4m_load_kernel(long vram_size, int 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);
@@ -304,7 +304,7 @@ static void sun4m_load_kernel(long vram_size, int ram_size, int boot_device,
kernel_size = 0;
if (linux_boot) {
- kernel_size = load_elf(kernel_filename, -0xf0000000, NULL);
+ kernel_size = load_elf(kernel_filename, -0xf0000000, NULL, NULL, NULL);
if (kernel_size < 0)
kernel_size = load_aout(kernel_filename, phys_ram_base + KERNEL_LOAD_ADDR);
if (kernel_size < 0)