On 19/1/23 20:17, Daniel Henrique Barboza wrote:
All callers are using attributes from the MachineState object. Use a
pointer to it instead of passing dram_size (which is always
machine->ram_size) and fdt (always machine->fdt).

Signed-off-by: Daniel Henrique Barboza <dbarb...@ventanamicro.com>
---
  hw/riscv/boot.c         | 6 +++---
  hw/riscv/sifive_u.c     | 4 ++--
  hw/riscv/spike.c        | 4 ++--
  hw/riscv/virt.c         | 3 +--
  include/hw/riscv/boot.h | 2 +-
  5 files changed, 9 insertions(+), 10 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to