tcg/tci: Use exec/cpu_ldst.h interfaces
commitdc09f047eddec8f4a1991c4f5f4a428d7aa3f2c0
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 17 Feb 2021 18:30:27 +0000 (17 10:30 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 6 Mar 2021 19:45:21 +0000 (6 11:45 -0800)
tree313e7c48086dd58d51a8834f4653d57686313f68
parentd81bad24dfea6ec0331599de1f31d822aba9dae1
tcg/tci: Use exec/cpu_ldst.h interfaces

Use the provided cpu_ldst.h interfaces.  This fixes the build vs
the unconverted uses of g2h(), adds missed memory trace events,
and correctly recognizes when a SIGSEGV belongs to the guest via
set_helper_retaddr().

Fixes: 3e8f1628e864
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tci.c