On Thu, Dec 22, 2022 at 2:29 AM Daniel Henrique Barboza <dbarb...@ventanamicro.com> 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 <pal...@dabbelt.com> > Signed-off-by: Daniel Henrique Barboza <dbarb...@ventanamicro.com> > --- > hw/riscv/sifive_u.c | 15 ++++++--------- > include/hw/riscv/sifive_u.h | 3 --- > 2 files changed, 6 insertions(+), 12 deletions(-) >
Reviewed-by: Bin Meng <bm...@tinylab.org>