mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-19 13:47:52 +00:00
target/i386: Correct X86_CPU macro parameters in x86_cpu_handle_mmu_fault() in helper.c
This commit is contained in:
parent
f657ab5b46
commit
3fcc644fab
|
@ -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