On 21/12/22 19:22, Daniel Henrique Barboza wrote:
The MachineState object provides a 'fdt' pointer that is already being
used by other RISC-V machines, and it's also used by the 'dumpdtb' QMP
command.

Remove the 'fdt' pointer from SiFiveUState and use MachineState::fdt
instead.

Cc: Palmer Dabbelt <[email protected]>
Signed-off-by: Daniel Henrique Barboza <[email protected]>
---
  hw/riscv/sifive_u.c         | 15 ++++++---------
  include/hw/riscv/sifive_u.h |  3 ---
  2 files changed, 6 insertions(+), 12 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to