projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74d6bf8
)
moxie: do not use ram_size global
author
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 28 Oct 2020 10:21:08 +0000
(06:21 -0400)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 10 Dec 2020 17:15:08 +0000
(12:15 -0500)
Use the loader parameters instead.
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/moxie/moxiesim.c
patch
|
blob
|
history
diff --git
a/hw/moxie/moxiesim.c
b/hw/moxie/moxiesim.c
index d07d504c0d70b4d39a1ab3bb8008e6e6f572db4c..f7b57fcae19051c400087a59f1f40fc31558a9f2 100644
(file)
--- 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'",