On 11/13/24 17:13, Philippe Mathieu-Daudé wrote:
Move CPU TLB related methods to "exec/cputlb.h".

Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
  include/exec/cpu_ldst.h     | 25 -------------------------
  include/exec/cputlb.h       | 26 ++++++++++++++++++++++++++
  target/arm/tcg/helper-a64.c |  1 +
  target/ppc/mem_helper.c     |  1 +
  4 files changed, 28 insertions(+), 25 deletions(-)

Hmm.  I'm not sure about using cputlb.h here.

This is general-purpose guest->host translation, with or without a tlb.
It's more similar to user/guest-host.h, but obviously not user specific.

I think cpu_ldst.h itself is ok, because that's guest->host translation combined with a memory operation. But I'm also fine if you want to create a completely new header. Perhaps probe-access.h? This is the oldest of the family of probing functions after all.


r~

Reply via email to