Author: greatlrd
Date: Thu Dec 27 21:30:36 2007
New Revision: 31464
URL:
http://svn.reactos.org/svn/reactos?rev=31464&view=rev
Log:
TAG video buffer memory at alloc
Modified:
trunk/reactos/drivers/video/videoprt/resource.c
trunk/reactos/drivers/video/videoprt/videoprt.h
Modified: trunk/reactos/drivers/video/videoprt/resource.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/res…
==============================================================================
--- trunk/reactos/drivers/video/videoprt/resource.c (original)
+++ trunk/reactos/drivers/video/videoprt/resource.c Thu Dec 27 21:30:36 2007
@@ -709,7 +709,7 @@
OUT PVOID *Buffer)
{
DPRINT("VideoPortAllocateBuffer\n");
- *Buffer = ExAllocatePool(PagedPool, Size);
+ *Buffer = ExAllocatePoolWithTag ( PagedPool, Size, TAG_VIDEO_PORT_BUFFER ) ;
return *Buffer == NULL ? ERROR_NOT_ENOUGH_MEMORY : NO_ERROR;
}
Modified: trunk/reactos/drivers/video/videoprt/videoprt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/vid…
==============================================================================
--- trunk/reactos/drivers/video/videoprt/videoprt.h (original)
+++ trunk/reactos/drivers/video/videoprt/videoprt.h Thu Dec 27 21:30:36 2007
@@ -37,6 +37,7 @@
#include <debug.h>
#define TAG_VIDEO_PORT TAG('V', 'I', 'D', 'P')
+#define TAG_VIDEO_PORT_BUFFER TAG('V', 'p', 'm', '\0' )
#define DPFLTR_IHVVIDEO_ID 80 /* FIXME */