Flush MMU cache on CPU soft reset. Fixes hang on reset under some configurations.
This commit is contained in:
parent
d527736d21
commit
18a293d5cc
1 changed files with 1 additions and 0 deletions
|
|
@ -680,6 +680,7 @@ void softresetx86()
|
|||
idt.limit = is386 ? 0x03FF : 0xFFFF;
|
||||
EAX = EBX = ECX = EDX = ESI = EDI = EBP = ESP = 0;
|
||||
x86seg_reset();
|
||||
flushmmucache();
|
||||
x86_was_reset = 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue