Re: [PATCH 05/13] hw/mips: Add cpu_is_bigendian field to BlCpuCfg structure

2024-10-01 Thread Pierrick Bouvier
On 9/30/24 00:34, Philippe Mathieu-Daudé wrote: Add the BlCpuCfg::cpu_is_bigendian field, initialize it in machine code. Bootloader API use the ld/st_endian_p() to dispatch to target endianness. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/mips/bootloader.h | 1 + hw/mips/bootloader

[PATCH 05/13] hw/mips: Add cpu_is_bigendian field to BlCpuCfg structure

2024-09-30 Thread Philippe Mathieu-Daudé
Add the BlCpuCfg::cpu_is_bigendian field, initialize it in machine code. Bootloader API use the ld/st_endian_p() to dispatch to target endianness. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/mips/bootloader.h | 1 + hw/mips/bootloader.c | 10 +- hw/mips/boston.c