[ros-diffs] [jimtabor] 30196: Ntoskrnl: - Plugged in batching. - Thanks to Thomas for helping me again! 8^)

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Mon Nov 5 21:02:58 CET 2007


Author: jimtabor
Date: Mon Nov  5 23:02:58 2007
New Revision: 30196

URL: http://svn.reactos.org/svn/reactos?rev=30196&view=rev
Log:
Ntoskrnl:
- Plugged in batching.
- Thanks to Thomas for helping me again! 8^)

Modified:
    trunk/reactos/ntoskrnl/ke/i386/trap.s
    trunk/reactos/ntoskrnl/ke/i386/usercall.c

Modified: trunk/reactos/ntoskrnl/ke/i386/trap.s
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/trap.s?rev=30196&r1=30195&r2=30196&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/trap.s (original)
+++ trunk/reactos/ntoskrnl/ke/i386/trap.s Mon Nov  5 23:02:58 2007
@@ -192,8 +192,7 @@
     /* Flush it */
     push edx
     push eax
-// <-- Remove these once it is working!
-//    call [_KeGdiFlushUserBatch]
+    call [_KeGdiFlushUserBatch]
     pop eax
     pop edx
 

Modified: trunk/reactos/ntoskrnl/ke/i386/usercall.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/usercall.c?rev=30196&r1=30195&r2=30196&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/usercall.c (original)
+++ trunk/reactos/ntoskrnl/ke/i386/usercall.c Mon Nov  5 23:02:58 2007
@@ -12,7 +12,7 @@
 #define NDEBUG
 #include <internal/debug.h>
 
-extern PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch();
+extern PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch;
 
 /* PRIVATE FUNCTIONS *********************************************************/
 
@@ -217,10 +217,8 @@
     /* Check if we have GDI Batch operations */
     if (GdiBatchCount)
     {
-        /* Shouldn't happen in ROS yet */
-        ASSERT(FALSE);
-//          *UserEsp -= 256;
-//          KeGdiFlushUserBatch();
+          *UserEsp -= 256;
+          KeGdiFlushUserBatch();
     }
 
     /* Restore stack and return */




More information about the Ros-diffs mailing list