diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-06 00:09:24 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-20 17:44:57 +0100 |
commit | 6277e181a7dabbe1b4003e1509656c1ee477aa65 (patch) | |
tree | 29f5849b31d2b6b988e44c130ba6e456207c028b /rust/qemu-api/src | |
parent | b82f70bb9dddfd6d1315a1c0a710c22dd5089a31 (diff) | |
download | qemu-6277e181a7dabbe1b4003e1509656c1ee477aa65.zip qemu-6277e181a7dabbe1b4003e1509656c1ee477aa65.tar.gz qemu-6277e181a7dabbe1b4003e1509656c1ee477aa65.tar.bz2 |
target/mips: Remove tswap() calls in semihosting uhi_fstat_cb()
In preparation of heterogeneous emulation where cores with
different endianness can run concurrently, we need to remove
the tswap() calls -- which use a fixed per-binary endianness.
Get the endianness of the UHI CPU accessed using
mips_env_is_bigendian() and replace the tswap() calls
by bswap() ones when necessary.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20241211230357.97036-3-philmd@linaro.org>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions