mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 16:50:58 +00:00
target/i386: Correct X86_CPU macro parameters in x86_cpu_handle_mmu_fault() in helper.c
This commit is contained in:
parent
acb7231650
commit
c169f3dc5d
|
@ -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 x86_cpu_handle_mmu_fault(CPUState *cs, vaddr addr, int size,
|
||||||
int is_write, int mmu_idx)
|
int is_write, int mmu_idx)
|
||||||
{
|
{
|
||||||
X86CPU *cpu = X86_CPU(cs);
|
X86CPU *cpu = X86_CPU(cs->uc, cs);
|
||||||
CPUX86State *env = &cpu->env;
|
CPUX86State *env = &cpu->env;
|
||||||
|
|
||||||
/* user mode only emulation */
|
/* user mode only emulation */
|
||||||
|
|
Loading…
Reference in a new issue