On 05/08/2018 10:31 AM, Edgar E. Iglesias wrote: > + if (cpu->cfg.use_mmu && (env->sregs[SR_MSR] & MSR_VM) > + && mmu_idx != MMU_NOMMU_IDX) {
For future cleanup, the first condition should be moved to cpu_mmu_index (the second condition is already there). At which point here you need check nothing but mmu_idx. r~