[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/15] hw/riscv/spike: use 'fdt' from MachineState
From: |
Bin Meng |
Subject: |
Re: [PATCH 02/15] hw/riscv/spike: use 'fdt' from MachineState |
Date: |
Fri, 23 Dec 2022 17:09:56 +0800 |
On Thu, Dec 22, 2022 at 2:24 AM Daniel Henrique Barboza
<dbarboza@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 SpikeState and use MachineState::fdt
> instead.
>
> Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
> ---
> hw/riscv/spike.c | 12 +++++-------
> include/hw/riscv/spike.h | 2 --
> 2 files changed, 5 insertions(+), 9 deletions(-)
>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
- Re: [PATCH 01/15] tests/avocado: add RISC-V opensbi boot test, (continued)
Re: [PATCH 01/15] tests/avocado: add RISC-V opensbi boot test, Alistair Francis, 2022/12/22
Re: [PATCH 01/15] tests/avocado: add RISC-V opensbi boot test, Wainer dos Santos Moschetta, 2022/12/27
[PATCH 02/15] hw/riscv/spike: use 'fdt' from MachineState, Daniel Henrique Barboza, 2022/12/21
[PATCH 03/15] hw/riscv/sifive_u: use 'fdt' from MachineState, Daniel Henrique Barboza, 2022/12/21
[PATCH 05/15] hw/riscv/boot.c: introduce riscv_default_firmware_name(), Daniel Henrique Barboza, 2022/12/21
[PATCH 04/15] hw/riscv/boot.c: make riscv_find_firmware() static, Daniel Henrique Barboza, 2022/12/21