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 */
push edx
push eax
// <-- Remove these once it is working!
// call [_KeGdiFlushUserBatch]
call [_KeGdiFlushUserBatch]
pop eax
pop edx

View file

@ -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 @@ KeUserModeCallback(IN ULONG RoutineIndex,
/* 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 */