exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h'
commit827238668e7dc44e43e71a3e12b605881fe6887e
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 12 Dec 2023 10:27:18 +0000 (12 11:27 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 15:03:05 +0000 (26 17:03 +0200)
treef0311bc47207fc93bfa8df8176afe947570ffa99
parent425082612c012843d8b33fa0d35966adf5600c47
exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h'

tswapl() and bswaptls() are target-dependent and only used
by user emulation. Move their definitions to a new header:
"exec/user/tswap-target.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20231212123401.37493-17-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
13 files changed:
MAINTAINERS
bsd-user/freebsd/target_os_elf.h
bsd-user/freebsd/target_os_stack.h
bsd-user/netbsd/target_os_elf.h
bsd-user/openbsd/target_os_elf.h
bsd-user/signal.c
bsd-user/strace.c
include/exec/cpu-all.h
include/exec/user/abitypes.h
include/user/tswap-target.h [new file with mode: 0644]
linux-user/elfload.c
linux-user/i386/signal.c
linux-user/ppc/signal.c