mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hw/microblaze: Propagate CPU endianness to microblaze_load_kernel()
Pass vCPU endianness as argument so we can load kernels with different endianness (different from the qemu-system-binary builtin one). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20241107012223.94337-3-philmd@linaro.org>
This commit is contained in:
parent
d826e47404
commit
8f27e70e3b
5 changed files with 9 additions and 9 deletions
|
@ -2,8 +2,8 @@
|
|||
#define MICROBLAZE_BOOT_H
|
||||
|
||||
|
||||
void microblaze_load_kernel(MicroBlazeCPU *cpu, hwaddr ddr_base,
|
||||
uint32_t ramsize,
|
||||
void microblaze_load_kernel(MicroBlazeCPU *cpu, bool is_little_endian,
|
||||
hwaddr ddr_base, uint32_t ramsize,
|
||||
const char *initrd_filename,
|
||||
const char *dtb_filename,
|
||||
void (*machine_cpu_reset)(MicroBlazeCPU *));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue