mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-07 17:10:34 +00:00
Make unicorn happy with TLB execution
This commit is contained in:
parent
e3e57ca08e
commit
d905278b86
|
@ -537,6 +537,9 @@ void cpu_exec_init(CPUState *cpu, void *opaque)
|
||||||
// TODO: assert uc does not already have a cpu?
|
// TODO: assert uc does not already have a cpu?
|
||||||
uc->cpu = cpu;
|
uc->cpu = cpu;
|
||||||
|
|
||||||
|
// Unicorn: Required to clean-slate TLB state
|
||||||
|
tlb_flush(cpu);
|
||||||
|
|
||||||
#ifndef CONFIG_USER_ONLY
|
#ifndef CONFIG_USER_ONLY
|
||||||
|
|
||||||
// Unicorn: commented out
|
// Unicorn: commented out
|
||||||
|
|
Loading…
Reference in a new issue