mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 00:45:40 +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?
|
||||
uc->cpu = cpu;
|
||||
|
||||
// Unicorn: Required to clean-slate TLB state
|
||||
tlb_flush(cpu);
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
|
||||
// Unicorn: commented out
|
||||
|
|
Loading…
Reference in a new issue