On 12/12/23 02:18, Richard Henderson wrote:
On 12/11/23 13:19, Philippe Mathieu-Daudé wrote:
The abi_ptr type is declared in "exec/cpu_ldst.h" with all
the load/store helpers. Some source files requiring abi_ptr
type don't need the load/store helpers. In order to simplify,
create a new "tcg/abi_ptr.h" header.
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
include/exec/cpu_ldst.h | 17 +++--------------
include/exec/exec-all.h | 1 +
include/exec/translator.h | 5 ++++-
include/tcg/abi_ptr.h | 32 ++++++++++++++++++++++++++++++++
accel/tcg/cputlb.c | 1 +
5 files changed, 41 insertions(+), 15 deletions(-)
create mode 100644 include/tcg/abi_ptr.h
I'm unconvinced about this being tcg related, per se.
Indeed:
$ git grep -w abi_ptr -- tcg
$
Leave it in include/exec/, with exec/user/abitypes.h.
With that,
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Thanks!