Re: [PATCH 02/15] hw/riscv/spike: use 'fdt' from MachineState

2022-12-23 Thread Bin Meng
On Thu, Dec 22, 2022 at 2:24 AM 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 SpikeState and use MachineState::fdt >

Re: [PATCH 02/15] hw/riscv/spike: use 'fdt' from MachineState

2022-12-22 Thread Alistair Francis
On Thu, Dec 22, 2022 at 4:30 AM 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 SpikeState and use MachineState::fdt >

Re: [PATCH 02/15] hw/riscv/spike: use 'fdt' from MachineState

2022-12-22 Thread Daniel Henrique Barboza
On 12/22/22 11:25, Philippe Mathieu-Daudé wrote: 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 SpikeState

Re: [PATCH 02/15] hw/riscv/spike: use 'fdt' from MachineState

2022-12-22 Thread Philippe Mathieu-Daudé
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 SpikeState and use MachineState::fdt instead. Signed-off-by:

[PATCH 02/15] hw/riscv/spike: use 'fdt' from MachineState

2022-12-21 Thread Daniel Henrique Barboza
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 --- hw/riscv/spike.c