- Rework MiSyncThreadProcessViews
[reactos.git] / reactos / ntoskrnl / ke / i386 / ctxswitch.S
index 1521227..3cff2d2 100644 (file)
@@ -736,6 +736,10 @@ CheckNext:
 #endif
 
 SwapContext:
+    /* ReactOS Mm Hack */
+    mov ecx, esi
+    call @MiSyncThreadProcessViews@4
+
     /* Swap context at APC_LEVEL */
     mov ecx, APC_LEVEL
     call @KiSwapContextInternal@0