Re: [PATCH 32/33] include/exec: Implement cpu_mmu_index generically

2024-01-30 Thread Philippe Mathieu-Daudé
On 30/1/24 00:30, Richard Henderson wrote: For user-only mode, use MMU_USER_IDX. For system mode, use CPUClass.mmu_index. Signed-off-by: Richard Henderson --- include/exec/cpu-all.h| 4 include/exec/cpu-common.h | 19 +++ target/alpha/cpu.h| 5 - targ

[PATCH 32/33] include/exec: Implement cpu_mmu_index generically

2024-01-29 Thread Richard Henderson
For user-only mode, use MMU_USER_IDX. For system mode, use CPUClass.mmu_index. Signed-off-by: Richard Henderson --- include/exec/cpu-all.h| 4 include/exec/cpu-common.h | 19 +++ target/alpha/cpu.h| 5 - target/arm/cpu.h | 13 - target/