aboutsummaryrefslogtreecommitdiffstats
path: root/vxd_lib.c
diff options
context:
space:
mode:
authorJaroslav Hensl <emulator@emulace.cz>2024-09-07 20:32:25 +0100
committerJaroslav Hensl <emulator@emulace.cz>2024-09-07 20:32:25 +0100
commitce109028d616c331e7a722115205dfda964bb1c1 (patch)
treee86ae5418dac71714431082aafa7c870eff6be71 /vxd_lib.c
parenta31f4e91c1908b937e5d4f8421f0257043a89829 (diff)
downloadvmdisp9x-ce109028d616c331e7a722115205dfda964bb1c1.tar.gz
bottleneck - don't wait in critical sections, resource garbage collector in driver
Diffstat (limited to 'vxd_lib.c')
-rw-r--r--vxd_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vxd_lib.c b/vxd_lib.c
index 509a288..dfbe552 100644
--- a/vxd_lib.c
+++ b/vxd_lib.c
@@ -419,6 +419,7 @@ ULONG __cdecl _PageAllocate(ULONG nPages, ULONG pType, ULONG VM, ULONG AlignMask
{
ULONG r = _PageAllocate_call(nPages, pType, VM, AlignMask, minPhys, maxPhys, PhysAddr, flags);
+#if 0
/* do examplicit TLB flush, help much for stability.
* There is probably another TLB bug in VMM...
*/
@@ -429,6 +430,7 @@ ULONG __cdecl _PageAllocate(ULONG nPages, ULONG pType, ULONG VM, ULONG AlignMask
mov cr3, eax
pop eax
};
+#endif
return r;
}