aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-06 00:21:14 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-20 17:44:57 +0100
commitb82f70bb9dddfd6d1315a1c0a710c22dd5089a31 (patch)
tree5f5db5fdf9dea2d805ec2c9b3b3248c3391d5cee /rust/qemu-api/src
parenta9ca97ea9e582a77629db9af61603b5fddc9ba2c (diff)
downloadqemu-b82f70bb9dddfd6d1315a1c0a710c22dd5089a31.zip
qemu-b82f70bb9dddfd6d1315a1c0a710c22dd5089a31.tar.gz
qemu-b82f70bb9dddfd6d1315a1c0a710c22dd5089a31.tar.bz2
target/xtensa: Remove tswap() calls in semihosting simcall() helper
In preparation of heterogeneous emulation where cores with different endianness can run concurrently, replace the pair of cpu_memory_rw_debug() + tswap() calls by put/get_user_u32() ones, which still do the same under the hood, but simplify the code maintenance (having less sites to do endianness code conversion). Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <6e1e69d8-a9f3-4a30-83c8-84c5647578d5@linaro.org>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions