On 24/4/25 11:46, Philippe Mathieu-Daudé wrote:
Declare probe methods in "accel/tcg/probe.h" to emphasize
they are specific to TCG accelerator.

target/arm/ptw.c is the only non-TCG specific file, its
call to the probe API is already guarded within CONFIG_TCG
checks.


Forgot to include:

Suggested-by: Richard Henderson <richard.hender...@linaro.org>

Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
  include/accel/tcg/probe.h            | 110 +++++++++++++++++++++++++++
  include/exec/exec-all.h              | 100 ------------------------
  target/hexagon/mmvec/macros.h        |   1 +
  accel/tcg/cputlb.c                   |   1 +
  accel/tcg/user-exec.c                |   1 +
  semihosting/uaccess.c                |   1 +
  target/arm/helper.c                  |   1 +
  target/arm/ptw.c                     |   3 +
  target/arm/tcg/helper-a64.c          |   1 +
  target/arm/tcg/mte_helper.c          |   1 +
  target/arm/tcg/op_helper.c           |   1 +
  target/arm/tcg/sve_helper.c          |   1 +
  target/hexagon/op_helper.c           |   1 +
  target/hppa/mem_helper.c             |   1 +
  target/hppa/op_helper.c              |   1 +
  target/i386/tcg/access.c             |   1 +
  target/i386/tcg/seg_helper.c         |   1 +
  target/i386/tcg/system/excp_helper.c |   1 +
  target/mips/tcg/msa_helper.c         |   1 +
  target/ppc/mem_helper.c              |   1 +
  target/riscv/op_helper.c             |   1 +
  target/riscv/vector_helper.c         |   1 +
  target/s390x/tcg/mem_helper.c        |   1 +
  target/xtensa/mmu_helper.c           |   1 +
  24 files changed, 134 insertions(+), 100 deletions(-)
  create mode 100644 include/accel/tcg/probe.h


Reply via email to