Ntoskrnl:

- Plugged in batching.
- Thanks to Thomas for helping me again! 8^)

svn path=/trunk/; revision=30196
This commit is contained in:
James Tabor 2007-11-05 20:02:58 +00:00
parent c41f093eb9
commit 340ac0278b
2 changed files with 4 additions and 7 deletions

View file

@ -192,8 +192,7 @@ ReadBatch:
/* Flush it */ /* Flush it */
push edx push edx
push eax push eax
// <-- Remove these once it is working! call [_KeGdiFlushUserBatch]
// call [_KeGdiFlushUserBatch]
pop eax pop eax
pop edx pop edx

View file

@ -12,7 +12,7 @@
#define NDEBUG #define NDEBUG
#include <internal/debug.h> #include <internal/debug.h>
extern PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch(); extern PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch;
/* PRIVATE FUNCTIONS *********************************************************/ /* PRIVATE FUNCTIONS *********************************************************/
@ -217,10 +217,8 @@ KeUserModeCallback(IN ULONG RoutineIndex,
/* Check if we have GDI Batch operations */ /* Check if we have GDI Batch operations */
if (GdiBatchCount) if (GdiBatchCount)
{ {
/* Shouldn't happen in ROS yet */ *UserEsp -= 256;
ASSERT(FALSE); KeGdiFlushUserBatch();
// *UserEsp -= 256;
// KeGdiFlushUserBatch();
} }
/* Restore stack and return */ /* Restore stack and return */