mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
moxie: do not use ram_size global
Use the loader parameters instead. Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
74d6bf8525
commit
eb09df9272
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ static void load_kernel(MoxieCPU *cpu, LoaderParams *loader_params)
|
||||||
}
|
}
|
||||||
initrd_size = load_image_targphys(loader_params->initrd_filename,
|
initrd_size = load_image_targphys(loader_params->initrd_filename,
|
||||||
initrd_offset,
|
initrd_offset,
|
||||||
ram_size);
|
loader_params->ram_size);
|
||||||
}
|
}
|
||||||
if (initrd_size == (target_ulong)-1) {
|
if (initrd_size == (target_ulong)-1) {
|
||||||
error_report("could not load initial ram disk '%s'",
|
error_report("could not load initial ram disk '%s'",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue