target/i386: Correct X86_CPU macro parameters in x86_cpu_handle_mmu_fault() in helper.c

This commit is contained in:
Lioncash 2018-03-15 23:03:25 -04:00
parent f657ab5b46
commit 3fcc644fab
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -533,7 +533,7 @@ void cpu_x86_update_cr4(CPUX86State *env, uint32_t new_cr4)
int x86_cpu_handle_mmu_fault(CPUState *cs, vaddr addr, int size,
int is_write, int mmu_idx)
{
X86CPU *cpu = X86_CPU(cs);
X86CPU *cpu = X86_CPU(cs->uc, cs);
CPUX86State *env = &cpu->env;
/* user mode only emulation */