]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/microblaze: Evaluate TARGET_BIG_ENDIAN at compile time
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 17 Apr 2025 08:18:35 +0000 (10:18 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 25 Apr 2025 15:09:58 +0000 (17:09 +0200)
commiteb3020b6ed2baca63c2a3fad012335670841ead6
tree873c0cfeae9ea3a80d11be63164ccc818f796a39
parent1b079a6eebb879d14da193919afafc303e938427
hw/microblaze: Evaluate TARGET_BIG_ENDIAN at compile time

Rather than evaluating TARGET_BIG_ENDIAN at preprocessing
time via #ifdef'ry, do it in C at compile time

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250417131004.47205-8-philmd@linaro.org>
hw/microblaze/petalogix_ml605_mmu.c
hw/microblaze/xlnx-zynqmp-pmu.c