summary refs log tree commit diff stats
path: root/hw/microblaze/boot.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-11-04 16:36:49 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-31 21:21:34 +0100
commit8f27e70e3bcffe3e3d7236f62d50156555043061 (patch)
tree169d6d7bcca55de513e4da56ed23d79998063fee /hw/microblaze/boot.h
parentd826e47404cdf4f462a3f27b2f47455f21e7764e (diff)
downloadfocaccia-qemu-8f27e70e3bcffe3e3d7236f62d50156555043061.tar.gz
focaccia-qemu-8f27e70e3bcffe3e3d7236f62d50156555043061.zip
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>
Diffstat (limited to 'hw/microblaze/boot.h')
-rw-r--r--hw/microblaze/boot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/microblaze/boot.h b/hw/microblaze/boot.h
index 5a8c2f7975..d179a551a6 100644
--- a/hw/microblaze/boot.h
+++ b/hw/microblaze/boot.h
@@ -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 *));