aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vhost-user-gpu.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-17 10:47:00 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-25 17:09:58 +0200
commit33fa8f02a91986c6c3e7de748964a312c14a5a0d (patch)
treeac179cea87da8f776079c8e8431394cba70b1cf2 /hw/display/vhost-user-gpu.c
parent56f8fb6886c49a99962d50912a8dde9e8dbfc306 (diff)
downloadqemu-33fa8f02a91986c6c3e7de748964a312c14a5a0d.zip
qemu-33fa8f02a91986c6c3e7de748964a312c14a5a0d.tar.gz
qemu-33fa8f02a91986c6c3e7de748964a312c14a5a0d.tar.bz2
target/mips: Check CPU endianness at runtime using env_is_bigendian()
Since CPU endianness can be toggled at runtime before resetting, checking the endianness at build time preprocessing the TARGET_BIG_ENDIAN definition isn't correct. We have to call mips_env_is_bigendian() to get the CPU endianness at runtime. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250417131004.47205-4-philmd@linaro.org>
Diffstat (limited to 'hw/display/vhost-user-gpu.c')
0 files changed, 0 insertions, 0 deletions