diff options
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2023-01-02 08:52:32 -0300 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-01-20 10:14:13 +1000 |
commit | 3139929da4da015f372c11f9e9e1f2538f9767ed (patch) | |
tree | e8f2d05c1e2bb7824dddb8b918a9b9fa55055a60 /include/hw/riscv | |
parent | db2b9a59ca633602c4a18474a104182920858060 (diff) | |
download | qemu-3139929da4da015f372c11f9e9e1f2538f9767ed.zip qemu-3139929da4da015f372c11f9e9e1f2538f9767ed.tar.gz qemu-3139929da4da015f372c11f9e9e1f2538f9767ed.tar.bz2 |
hw/riscv/spike: use 'fdt' from MachineState
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 SpikeState and use MachineState::fdt
instead.
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
Message-Id: <20230102115241.25733-3-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'include/hw/riscv')
-rw-r--r-- | include/hw/riscv/spike.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/riscv/spike.h b/include/hw/riscv/spike.h index 73bf2a9..0c2a223 100644 --- a/include/hw/riscv/spike.h +++ b/include/hw/riscv/spike.h @@ -37,8 +37,6 @@ struct SpikeState { /*< public >*/ RISCVHartArrayState soc[SPIKE_SOCKETS_MAX]; - void *fdt; - int fdt_size; }; enum { |