Re: [PATCH v3 07/10] hw/riscv/boot.c: use MachineState in riscv_load_initrd()

2022-12-29 Thread Alex Bennée
Daniel Henrique Barboza writes: > On 12/28/22 12:51, Philippe Mathieu-Daudé wrote: >> On 28/12/22 14:33, Daniel Henrique Barboza wrote: >>> 'filename', 'mem_size' and 'fdt' from riscv_load_initrd() can all be >>> retrieved by the MachineState object for all callers. >>> >>> Cc: Palmer Dabbelt

Re: [PATCH v3 07/10] hw/riscv/boot.c: use MachineState in riscv_load_initrd()

2022-12-28 Thread Daniel Henrique Barboza
On 12/28/22 12:51, Philippe Mathieu-Daudé wrote: On 28/12/22 14:33, Daniel Henrique Barboza wrote: 'filename', 'mem_size' and 'fdt' from riscv_load_initrd() can all be retrieved by the MachineState object for all callers. Cc: Palmer Dabbelt Signed-off-by: Daniel Henrique Barboza Reviewed-b

Re: [PATCH v3 07/10] hw/riscv/boot.c: use MachineState in riscv_load_initrd()

2022-12-28 Thread Philippe Mathieu-Daudé
On 28/12/22 14:33, Daniel Henrique Barboza wrote: 'filename', 'mem_size' and 'fdt' from riscv_load_initrd() can all be retrieved by the MachineState object for all callers. Cc: Palmer Dabbelt Signed-off-by: Daniel Henrique Barboza Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Bin Meng ---

[PATCH v3 07/10] hw/riscv/boot.c: use MachineState in riscv_load_initrd()

2022-12-28 Thread Daniel Henrique Barboza
'filename', 'mem_size' and 'fdt' from riscv_load_initrd() can all be retrieved by the MachineState object for all callers. Cc: Palmer Dabbelt Signed-off-by: Daniel Henrique Barboza Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Bin Meng --- hw/riscv/boot.c| 6 -- hw/riscv/mi