On 8/28/19 4:10 AM, David Hildenbrand wrote: > +void *probe_access(CPUArchState *env, target_ulong addr, int size, > + MMUAccessType access_type, int mmu_idx, uintptr_t retaddr) > { > CPUState *cpu = env_cpu(env); > CPUClass *cc; > + int flags; > > g_assert(-(addr | TARGET_PAGE_MASK) >= size); > + g_assert(mmu_idx == MMU_USER_IDX);
We ignore mmu_idx pretty much everywhere else. Why bother now? r~