diff options
author | Paolo Bonzini | 2020-10-28 11:21:08 +0100 |
---|---|---|
committer | Paolo Bonzini | 2020-12-10 18:15:08 +0100 |
commit | eb09df927274c7a873557588a1a23398af47fbb6 (patch) | |
tree | 021df0df2ec79331077352f04a9abaf819caa88b /hw/moxie | |
parent | mips: do not use ram_size global (diff) | |
download | qemu-eb09df927274c7a873557588a1a23398af47fbb6.tar.gz qemu-eb09df927274c7a873557588a1a23398af47fbb6.tar.xz qemu-eb09df927274c7a873557588a1a23398af47fbb6.zip |
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>
Diffstat (limited to 'hw/moxie')
-rw-r--r-- | hw/moxie/moxiesim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/moxie/moxiesim.c b/hw/moxie/moxiesim.c index d07d504c0d..f7b57fcae1 100644 --- a/hw/moxie/moxiesim.c +++ b/hw/moxie/moxiesim.c @@ -82,7 +82,7 @@ static void load_kernel(MoxieCPU *cpu, LoaderParams *loader_params) } initrd_size = load_image_targphys(loader_params->initrd_filename, initrd_offset, - ram_size); + loader_params->ram_size); } if (initrd_size == (target_ulong)-1) { error_report("could not load initial ram disk '%s'", |