TLB clears fixed for real for real
man.
This commit is contained in:
1 parent
43fae23555
commit
710256e9f1
2 files changed
+11
-6
No files matched your search
@@ -325,9 +325,13 @@ void unmap_tlbs(void)
|
||||
{
|
||||
if (gTlbSegments[i] && i != 0x17 && i != 0x16 && i != 0x13)
|
||||
{
|
||||
osUnmapTLB(gTlbEntries);
|
||||
gTlbSegments[i] = 0;
|
||||
gTlbEntries--;
|
||||
while (gTlbSegments[i] > 0)
|
||||
{
|
||||
osUnmapTLB(gTlbEntries);
|
||||
gTlbSegments[i]--;
|
||||
gTlbEntries--;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user