On 18/11/22 10:47, Richard Henderson wrote:
Instead of playing with offsetof in various places, use
MMUAccessType to index an array.  This is easily defined
instead of the previous dummy padding array in the union.

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  include/exec/cpu-defs.h |   7 ++-
  include/exec/cpu_ldst.h |  26 ++++++++--
  accel/tcg/cputlb.c      | 104 +++++++++++++---------------------------
  3 files changed, 59 insertions(+), 78 deletions(-)

Nice.

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to