diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-06 00:21:14 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-20 17:44:57 +0100 |
| commit | b82f70bb9dddfd6d1315a1c0a710c22dd5089a31 (patch) | |
| tree | 5f5db5fdf9dea2d805ec2c9b3b3248c3391d5cee /hw/core/sysbus-fdt.c | |
| parent | a9ca97ea9e582a77629db9af61603b5fddc9ba2c (diff) | |
| download | focaccia-qemu-b82f70bb9dddfd6d1315a1c0a710c22dd5089a31.tar.gz focaccia-qemu-b82f70bb9dddfd6d1315a1c0a710c22dd5089a31.zip | |
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 'hw/core/sysbus-fdt.c')
0 files changed, 0 insertions, 0 deletions