diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-28 06:17:31 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-10 12:15:09 -0500 |
commit | ead2b283ad7b828252011c35a9407204010138af (patch) | |
tree | 92fc9e1d91b2888152678f38f9289910432010c3 /hw/ppc/prep.c | |
parent | 541693a4195508a077fc10e5803d0a5b4f76838a (diff) | |
download | qemu-ead2b283ad7b828252011c35a9407204010138af.zip qemu-ead2b283ad7b828252011c35a9407204010138af.tar.gz qemu-ead2b283ad7b828252011c35a9407204010138af.tar.bz2 |
ppc: do not use ram_size global
Use the machine properties instead.
Cc: qemu-ppc@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ppc/prep.c')
-rw-r--r-- | hw/ppc/prep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c index c6b9d1d..7e72f6e 100644 --- a/hw/ppc/prep.c +++ b/hw/ppc/prep.c @@ -420,7 +420,7 @@ static void ibm_40p_init(MachineState *machine) /* Prepare firmware configuration for Open Hack'Ware */ if (m48t59) { - PPC_NVRAM_set_params(m48t59, NVRAM_SIZE, "PREP", ram_size, + PPC_NVRAM_set_params(m48t59, NVRAM_SIZE, "PREP", machine->ram_size, boot_device, kernel_base, kernel_size, machine->kernel_cmdline, |