On 1/9/23 14:42, Fabiano Rosas wrote:
This function is needed by common code (ptw.c), so move it along with
the other regime_* functions in internal.h. When we enable the build
without TCG, the tlb_helper.c file will not be present.

Signed-off-by: Fabiano Rosas<faro...@suse.de>
---
Richard: this cannot into ptw.c because that file is softmmu only
---
  target/arm/internals.h      | 21 ++++++++++++++++++---
  target/arm/tcg/tlb_helper.c | 18 ------------------
  2 files changed, 18 insertions(+), 21 deletions(-)

Not thrilled, because of the size of the function, but I have no better 
suggestions.

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


r~

Reply via email to