Revision dcac9679 hw/ppc_oldworld.c
b/hw/ppc_oldworld.c | ||
---|---|---|
231 | 231 |
/* load initrd */ |
232 | 232 |
if (initrd_filename) { |
233 | 233 |
initrd_base = INITRD_LOAD_ADDR; |
234 |
initrd_size = load_image(initrd_filename,
|
|
235 |
phys_ram_base + initrd_base);
|
|
234 |
initrd_size = load_image_targphys(initrd_filename, initrd_base,
|
|
235 |
ram_size - initrd_base);
|
|
236 | 236 |
if (initrd_size < 0) { |
237 | 237 |
cpu_abort(env, "qemu: could not load initial ram disk '%s'\n", |
238 | 238 |
initrd_filename); |
Also available in: Unified diff