On Thu, Dec 22, 2022 at 2:24 AM Daniel Henrique Barboza <dbarb...@ventanamicro.com> wrote: > > 'filename', 'mem_size' and 'fdt' from riscv_load_initrd() can all be > retrieved by the MachineState object for all callers. > > Cc: Palmer Dabbelt <pal...@dabbelt.com> > Signed-off-by: Daniel Henrique Barboza <dbarb...@ventanamicro.com> > --- > hw/riscv/boot.c | 6 ++++-- > hw/riscv/microchip_pfsoc.c | 3 +-- > hw/riscv/sifive_u.c | 3 +-- > hw/riscv/spike.c | 3 +-- > hw/riscv/virt.c | 3 +-- > include/hw/riscv/boot.h | 3 +-- > 6 files changed, 9 insertions(+), 12 deletions(-) >
Reviewed-by: Bin Meng <bm...@tinylab.org>