Files
qemu/include
Thomas Huth aeb931d82b include/exec: Provide the tswap() functions for target independent code, too
In some cases of target independent code, it would be useful to have access
to the functions that swap endianess in case it differs between guest and
host. Thus re-implement the tswapXX() functions in a new header that can be
included separately. The check whether the swapping is needed continues to
be done at compile-time for target specific code, while it is done at
run-time in target-independent code.

Message-Id: <20230411183418.1640500-3-thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit 24be3369ad)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(trivial change needed for the next commit 058096f1c5
 "hw/char/riscv_htif: Fix the console syscall on big endian hosts")
2023-09-20 10:17:02 +03:00
..
2023-03-20 12:43:50 +01:00
2023-03-20 12:43:50 +01:00
2023-03-07 20:44:09 +00:00
2023-03-07 12:38:59 -05:00
2023-03-13 07:03:39 -07:00
2023-03-13 23:48:45 +04:00
2023-03-20 12:43:50 +01:00