Author: tfaber
Date: Sat Apr 12 11:12:14 2014
New Revision: 62714
URL:
http://svn.reactos.org/svn/reactos?rev=62714&view=rev
Log:
[NTOS:CC]
- Organize pool tags and make them somewhat Windows-compatible
CORE-8065
Modified:
trunk/reactos/ntoskrnl/cc/view.c
trunk/reactos/ntoskrnl/include/internal/tag.h
Modified: trunk/reactos/ntoskrnl/cc/view.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cc/view.c?rev=627…
==============================================================================
--- trunk/reactos/ntoskrnl/cc/view.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/cc/view.c [iso-8859-1] Sat Apr 12 11:12:14 2014
@@ -1269,32 +1269,31 @@
InitializeListHead(&DirtyVacbListHead);
InitializeListHead(&VacbLruListHead);
KeInitializeGuardedMutex(&ViewLock);
- ExInitializeNPagedLookasideList (&iBcbLookasideList,
- NULL,
- NULL,
- 0,
- sizeof(INTERNAL_BCB),
- TAG_IBCB,
- 20);
- ExInitializeNPagedLookasideList (&SharedCacheMapLookasideList,
- NULL,
- NULL,
- 0,
- sizeof(ROS_SHARED_CACHE_MAP),
- TAG_BCB,
- 20);
- ExInitializeNPagedLookasideList (&VacbLookasideList,
- NULL,
- NULL,
- 0,
- sizeof(ROS_VACB),
- TAG_CSEG,
- 20);
+ ExInitializeNPagedLookasideList(&iBcbLookasideList,
+ NULL,
+ NULL,
+ 0,
+ sizeof(INTERNAL_BCB),
+ TAG_BCB,
+ 20);
+ ExInitializeNPagedLookasideList(&SharedCacheMapLookasideList,
+ NULL,
+ NULL,
+ 0,
+ sizeof(ROS_SHARED_CACHE_MAP),
+ TAG_SHARED_CACHE_MAP,
+ 20);
+ ExInitializeNPagedLookasideList(&VacbLookasideList,
+ NULL,
+ NULL,
+ 0,
+ sizeof(ROS_VACB),
+ TAG_VACB,
+ 20);
MmInitializeMemoryConsumer(MC_CACHE, CcRosTrimCache);
CcInitCacheZeroPage();
-
}
/* EOF */
Modified: trunk/reactos/ntoskrnl/include/internal/tag.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/tag.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/tag.h [iso-8859-1] Sat Apr 12 11:12:14 2014
@@ -1,10 +1,11 @@
#pragma once
-/* formerly located in cc/view.c */
-#define TAG_CC ' cC'
-#define TAG_CSEG 'GESC'
-#define TAG_BCB ' BCB'
-#define TAG_IBCB 'BCBi'
+/* Cache Manager Tags */
+#define TAG_CC ' cC'
+#define TAG_VACB 'aVcC'
+#define TAG_SHARED_CACHE_MAP 'cScC'
+#define TAG_PRIVATE_CACHE_MAP 'cPcC'
+#define TAG_BCB 'cBcC'
/* Executive Callbacks */
#define TAG_CALLBACK_ROUTINE_BLOCK 'brbC'