qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 4/7] hw/riscv: simplify riscv_compute_fdt_addr()


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 4/7] hw/riscv: simplify riscv_compute_fdt_addr()
Date: Thu, 19 Jan 2023 20:39:40 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

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 <dbarboza@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é <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]