diff options
| author | Daniel Henrique Barboza | 2022-09-26 19:38:48 +0200 |
|---|---|---|
| committer | Daniel Henrique Barboza | 2022-10-17 21:15:10 +0200 |
| commit | 698af4cb35061d87bbc40d24fa6ccde10030300e (patch) | |
| tree | 38c7527dc4c64a3e5b8e139191c52b4856bbf319 /include/exec/cputlb.h | |
| parent | hw/ppc: set machine->fdt in bamboo_load_device_tree() (diff) | |
| download | qemu-698af4cb35061d87bbc40d24fa6ccde10030300e.tar.gz qemu-698af4cb35061d87bbc40d24fa6ccde10030300e.tar.xz qemu-698af4cb35061d87bbc40d24fa6ccde10030300e.zip | |
hw/ppc: set machine->fdt in sam460ex_load_device_tree()
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
directly from the 'machine' pointer.
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220926173855.1159396-10-danielhb413@gmail.com>
Diffstat (limited to 'include/exec/cputlb.h')
0 files changed, 0 insertions, 0 deletions
