accel/tcg: Un-inline retaddr helpers to 'user-retaddr.h'
commit3b28c27067dd577a3ea137724c4247c8356915d0
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 5 Dec 2023 21:40:15 +0000 (5 22:40 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 13:31:37 +0000 (26 15:31 +0200)
treeb401d4950380683479686a9ab5affbd48be6eb90
parent7e17a524698809ea0cd2b848eab5516a480af75a
accel/tcg: Un-inline retaddr helpers to 'user-retaddr.h'

set_helper_retaddr() is only used in accel/tcg/user-exec.c.

clear_helper_retaddr() is only used in accel/tcg/cpu-exec.c
and accel/tcg/user-exec.c.

No need to expose their definitions to all user-emulation
files including "exec/cpu_ldst.h", move them to a new
"user-retaddr.h" header (restricted to accel/tcg/).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231211212003.21686-19-philmd@linaro.org>
accel/tcg/cpu-exec.c
accel/tcg/user-exec.c
accel/tcg/user-retaddr.h [new file with mode: 0644]
include/exec/cpu_ldst.h