Re: [PATCH v6 06/14] hw/ppc: set machine->fdt in sam460ex_load_device_tree()

2022-09-05 Thread Daniel Henrique Barboza
On 9/5/22 04:15, BALATON Zoltan wrote: On Sun, 4 Sep 2022, Daniel Henrique Barboza wrote: This will enable support for 'dumpdtb' QMP/HMP command for the sam460ex machine. Setting machine->fdt requires a MachineState pointer to be used inside sam460ex_load_device_tree(). Let's change the func

Re: [PATCH v6 06/14] hw/ppc: set machine->fdt in sam460ex_load_device_tree()

2022-09-05 Thread BALATON Zoltan
On Sun, 4 Sep 2022, Daniel Henrique Barboza wrote: This will enable support for 'dumpdtb' QMP/HMP command for the sam460ex machine. Setting machine->fdt requires a MachineState pointer to be used inside sam460ex_load_device_tree(). Let's change the function to receive this pointer from the calle

[PATCH v6 06/14] hw/ppc: set machine->fdt in sam460ex_load_device_tree()

2022-09-04 Thread Daniel Henrique Barboza
This will enable support for 'dumpdtb' QMP/HMP command for the sam460ex machine. Setting machine->fdt requires a MachineState pointer to be used inside sam460ex_load_device_tree(). Let's change the function to receive this pointer from the caller. 'ramsize' and 'kernel_cmdline' can be retrieved di