mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00

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>
11 lines
404 B
C
11 lines
404 B
C
#ifndef MICROBLAZE_BOOT_H
|
|
#define MICROBLAZE_BOOT_H
|
|
|
|
|
|
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 *));
|
|
|
|
#endif /* MICROBLAZE_BOOT_H */
|