move the rest of the alread defined tags to the private tag.h
Modified: trunk/reactos/ntoskrnl/include/internal/tag.h
Modified: trunk/reactos/ntoskrnl/io/mdl.c
Modified: trunk/reactos/ntoskrnl/io/pnpnotify.c
Modified: trunk/reactos/ntoskrnl/io/resource.c
Modified: trunk/reactos/ntoskrnl/io/timer.c
Modified: trunk/reactos/ntoskrnl/io/vpb.c
Modified: trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c
Modified: trunk/reactos/ntoskrnl/ldr/loader.c
Modified: trunk/reactos/ntoskrnl/lpc/connect.c
Modified: trunk/reactos/ntoskrnl/mm/aspace.c
Modified: trunk/reactos/ntoskrnl/mm/marea.c
Modified: trunk/reactos/ntoskrnl/mm/pageop.c
Modified: trunk/reactos/ntoskrnl/mm/pool.c
Modified: trunk/reactos/ntoskrnl/mm/region.c
Modified: trunk/reactos/ntoskrnl/mm/rmap.c
Modified: trunk/reactos/ntoskrnl/mm/section.c
Modified: trunk/reactos/ntoskrnl/ob/symlink.c
Modified: trunk/reactos/ntoskrnl/ps/cid.c
Modified: trunk/reactos/ntoskrnl/ps/job.c
Modified: trunk/reactos/ntoskrnl/ps/kill.c
Modified: trunk/reactos/ntoskrnl/ps/notify.c
Modified: trunk/reactos/ntoskrnl/rtl/handle.c
Modified: trunk/reactos/ntoskrnl/se/acl.c
Modified: trunk/reactos/ntoskrnl/se/semgr.c
Modified: trunk/reactos/ntoskrnl/se/sid.c
_____
Modified: trunk/reactos/ntoskrnl/include/internal/tag.h
--- trunk/reactos/ntoskrnl/include/internal/tag.h 2005-05-20
03:50:13 UTC (rev 15426)
+++ trunk/reactos/ntoskrnl/include/internal/tag.h 2005-05-20
04:33:47 UTC (rev 15427)
@@ -64,5 +64,82 @@
/* formerly located in io/irq.c */
#define TAG_KINTERRUPT TAG('K', 'I', 'S', 'R')
+/* formerly located in io/mdl.c */
+#define TAG_MDL TAG('M', 'D', 'L', ' ')
+/* formerly located in io/pnpnotify.c */
+#define TAG_PNP_NOTIFY TAG('P', 'n', 'P', 'N')
+
+/* formerly located in io/resource.c */
+#define TAG_IO_RESOURCE TAG('R', 'S', 'R', 'C')
+
+/* formerly located in io/timer.c */
+#define TAG_IO_TIMER TAG('I', 'O', 'T', 'M')
+
+/* formerly located in io/vpb.c */
+#define TAG_VPB TAG('V', 'P', 'B', ' ')
+#define TAG_SYSB TAG('S', 'Y', 'S', 'B')
+
+/* formerly located in kdbg/kdb_symbols.c */
+#define TAG_KDBS TAG('K', 'D', 'B', 'S')
+
+/* formerly located in ldr/loader.c */
+#define TAG_DRIVER_MEM TAG('D', 'R', 'V', 'M') /* drvm
*/
+#define TAG_MODULE_OBJECT TAG('k', 'l', 'm', 'o') /* klmo
- kernel ldr
module object */
+#define TAG_LDR_WSTR TAG('k', 'l', 'w', 's') /* klws -
kernel ldr wide
string */
+#define TAG_MODULE_TEXT_SECTION TAG('k', 'l', 'm', 't')
/* klmt -
kernel ldr module text */
+
+/* formerly located in lpc/connect */
+#define TAG_LPC_CONNECT_MESSAGE TAG('L', 'P', 'C',
'C')
+
+/* formerly located in mm/aspace.c */
+#define TAG_PTRC TAG('P', 'T', 'R', 'C')
+
+/* formerly located in mm/marea.c */
+#define TAG_MAREA TAG('M', 'A', 'R', 'E')
+
+/* formerly located in mm/pageop.c */
+#define TAG_MM_PAGEOP TAG('M', 'P', 'O', 'P')
+
+/* formerly located in mm/pool.c */
+#define TAG_NONE TAG('N', 'o', 'n', 'e')
+
+/* formerly located in mm/region.c */
+#define TAG_MM_REGION TAG('M', 'R', 'G', 'N')
+
+/* formerly located in mm/rmap.c */
+#define TAG_RMAP TAG('R', 'M', 'A', 'P')
+
+/* formerly located in mm/section.c */
+#define TAG_MM_SECTION_SEGMENT TAG('M', 'M', 'S', 'S')
+#define TAG_SECTION_PAGE_TABLE TAG('M', 'S', 'P', 'T')
+
+/* formerly located in ob/symlink.c */
+#define TAG_SYMLINK_TTARGET TAG('S', 'Y', 'T', 'T')
+#define TAG_SYMLINK_TARGET TAG('S', 'Y', 'M', 'T')
+
+/* formerly located in ps/cid.c */
+#define TAG_CIDOBJECT TAG('C', 'I', 'D', 'O')
+
+/* formerly located in ps/job.c */
+#define TAG_EJOB TAG('E', 'J', 'O', 'B') /* EJOB */
+
+/* formerly located in ps/kill.c */
+#define TAG_TERMINATE_APC TAG('T', 'A', 'P', 'C')
+
+/* formerly located in ps/notify.c */
+#define TAG_KAPC TAG('k','p','a','p') /* kpap - kernel ps
apc */
+
+/* formerly located in rtl/handle.c */
+#define TAG_HDTB TAG('H', 'D', 'T', 'B')
+
+/* formerly located in se/acl.c */
+#define TAG_ACL TAG('A', 'C', 'L', 'T')
+
+/* formerly located in se/semgr.c */
+#define TAG_SXPT TAG('S', 'X', 'P', 'T')
+
+/* formerly located in se/sid.c */
+#define TAG_SID TAG('S', 'I', 'D', 'T')
+
#endif /* _NTOSKRNL_TAG_H */
_____
Modified: trunk/reactos/ntoskrnl/io/mdl.c
--- trunk/reactos/ntoskrnl/io/mdl.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/io/mdl.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -14,10 +14,6 @@
#define NDEBUG
#include <internal/debug.h>
-/* GLOBALS
*******************************************************************/
-
-#define TAG_MDL TAG('M', 'D', 'L', ' ')
-
/* FUNCTIONS
*****************************************************************/
/*
_____
Modified: trunk/reactos/ntoskrnl/io/pnpnotify.c
--- trunk/reactos/ntoskrnl/io/pnpnotify.c 2005-05-20 03:50:13 UTC
(rev 15426)
+++ trunk/reactos/ntoskrnl/io/pnpnotify.c 2005-05-20 04:33:47 UTC
(rev 15427)
@@ -30,8 +30,6 @@
static KGUARDED_MUTEX PnpNotifyListLock;
static LIST_ENTRY PnpNotifyListHead;
-#define TAG_PNP_NOTIFY TAG('P', 'n', 'P', 'N')
-
/* FUNCTIONS
*****************************************************************/
/*
_____
Modified: trunk/reactos/ntoskrnl/io/resource.c
--- trunk/reactos/ntoskrnl/io/resource.c 2005-05-20 03:50:13 UTC
(rev 15426)
+++ trunk/reactos/ntoskrnl/io/resource.c 2005-05-20 04:33:47 UTC
(rev 15427)
@@ -76,8 +76,6 @@
L"Undefined"
};
-#define TAG_IO_RESOURCE TAG('R', 'S', 'R', 'C')
-
/* PRIVATE FUNCTIONS
**********************************************************/
/*
_____
Modified: trunk/reactos/ntoskrnl/io/timer.c
--- trunk/reactos/ntoskrnl/io/timer.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/io/timer.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -17,8 +17,6 @@
/* GLOBALS
*******************************************************************/
-#define TAG_IO_TIMER TAG('I', 'O', 'T', 'M')
-
/* Timer Database */
KSPIN_LOCK IopTimerLock;
LIST_ENTRY IopTimerQueueHead;
_____
Modified: trunk/reactos/ntoskrnl/io/vpb.c
--- trunk/reactos/ntoskrnl/io/vpb.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/io/vpb.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -18,9 +18,6 @@
static KSPIN_LOCK IoVpbLock;
-#define TAG_VPB TAG('V', 'P', 'B', ' ')
-#define TAG_SYSB TAG('S', 'Y', 'S', 'B')
-
/* FUNCTIONS
*****************************************************************/
VOID INIT_FUNCTION
_____
Modified: trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c
--- trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c 2005-05-20 03:50:13 UTC
(rev 15426)
+++ trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c 2005-05-20 04:33:47 UTC
(rev 15427)
@@ -19,8 +19,6 @@
/* GLOBALS
******************************************************************/
-#define TAG_KDBS TAG('K', 'D', 'B', 'S')
-
typedef struct _IMAGE_SYMBOL_INFO_CACHE {
LIST_ENTRY ListEntry;
ULONG RefCount;
_____
Modified: trunk/reactos/ntoskrnl/ldr/loader.c
--- trunk/reactos/ntoskrnl/ldr/loader.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/ldr/loader.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -41,11 +41,6 @@
STATIC MODULE_TEXT_SECTION LdrHalTextSection;
ULONG_PTR LdrHalBase;
-#define TAG_DRIVER_MEM TAG('D', 'R', 'V', 'M') /* drvm
*/
-#define TAG_MODULE_OBJECT TAG('k', 'l', 'm', 'o') /* klmo
- kernel ldr
module object */
-#define TAG_LDR_WSTR TAG('k', 'l', 'w', 's') /* klws -
kernel ldr wide
string */
-#define TAG_MODULE_TEXT_SECTION TAG('k', 'l', 'm', 't')
/* klmt -
kernel ldr module text */
-
#ifndef HIWORD
#define HIWORD(X) ((WORD) (((DWORD) (X) >> 16) & 0xFFFF))
#endif
_____
Modified: trunk/reactos/ntoskrnl/lpc/connect.c
--- trunk/reactos/ntoskrnl/lpc/connect.c 2005-05-20 03:50:13 UTC
(rev 15426)
+++ trunk/reactos/ntoskrnl/lpc/connect.c 2005-05-20 04:33:47 UTC
(rev 15427)
@@ -14,10 +14,6 @@
#define NDEBUG
#include <internal/debug.h>
-/* GLOBALS
*******************************************************************/
-
-#define TAG_LPC_CONNECT_MESSAGE TAG('L', 'P', 'C',
'C')
-
/* FUNCTIONS
*****************************************************************/
/**********************************************************************
_____
Modified: trunk/reactos/ntoskrnl/mm/aspace.c
--- trunk/reactos/ntoskrnl/mm/aspace.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/mm/aspace.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -17,8 +17,6 @@
STATIC MADDRESS_SPACE KernelAddressSpace;
-#define TAG_PTRC TAG('P', 'T', 'R', 'C')
-
/* FUNCTIONS
*****************************************************************/
VOID
_____
Modified: trunk/reactos/ntoskrnl/mm/marea.c
--- trunk/reactos/ntoskrnl/mm/marea.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/mm/marea.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -14,10 +14,6 @@
#define NDEBUG
#include <internal/debug.h>
-/* GLOBALS
*******************************************************************/
-
-#define TAG_MAREA TAG('M', 'A', 'R', 'E')
-
/* #define VALIDATE_MEMORY_AREAS */
/* FUNCTIONS
*****************************************************************/
_____
Modified: trunk/reactos/ntoskrnl/mm/pageop.c
--- trunk/reactos/ntoskrnl/mm/pageop.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/mm/pageop.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -22,8 +22,6 @@
static PMM_PAGEOP MmPageOpHashTable[PAGEOP_HASH_TABLE_SIZE];
static NPAGED_LOOKASIDE_LIST MmPageOpLookasideList;
-#define TAG_MM_PAGEOP TAG('M', 'P', 'O', 'P')
-
/* FUNCTIONS
*****************************************************************/
VOID
_____
Modified: trunk/reactos/ntoskrnl/mm/pool.c
--- trunk/reactos/ntoskrnl/mm/pool.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/mm/pool.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -22,8 +22,6 @@
/* GLOBALS
*****************************************************************/
-#define TAG_NONE (ULONG)(('N'<<0) + ('o'<<8) +
('n'<<16) + ('e'<<24))
-
ULONG STDCALL
ExRosQueryPagedPoolTag ( PVOID Block );
_____
Modified: trunk/reactos/ntoskrnl/mm/region.c
--- trunk/reactos/ntoskrnl/mm/region.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/mm/region.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -14,10 +14,6 @@
#define NDEBUG
#include <internal/debug.h>
-/* GLOBALS
*******************************************************************/
-
-#define TAG_MM_REGION TAG('M', 'R', 'G', 'N')
-
/* FUNCTIONS
*****************************************************************/
VOID STATIC
_____
Modified: trunk/reactos/ntoskrnl/mm/rmap.c
--- trunk/reactos/ntoskrnl/mm/rmap.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/mm/rmap.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -24,8 +24,6 @@
}
MM_RMAP_ENTRY, *PMM_RMAP_ENTRY;
-#define TAG_RMAP TAG('R', 'M', 'A', 'P')
-
/* GLOBALS
******************************************************************/
static FAST_MUTEX RmapListLock;
_____
Modified: trunk/reactos/ntoskrnl/mm/section.c
--- trunk/reactos/ntoskrnl/mm/section.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/mm/section.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -38,9 +38,6 @@
STANDARD_RIGHTS_EXECUTE | SECTION_MAP_EXECUTE,
SECTION_ALL_ACCESS};
-#define TAG_MM_SECTION_SEGMENT TAG('M', 'M', 'S', 'S')
-#define TAG_SECTION_PAGE_TABLE TAG('M', 'S', 'P', 'T')
-
#define PAGE_FROM_SSE(E) ((E) & 0xFFFFF000)
#define PFN_FROM_SSE(E) ((E) >> PAGE_SHIFT)
#define SHARE_COUNT_FROM_SSE(E) (((E) & 0x00000FFE) >> 1)
_____
Modified: trunk/reactos/ntoskrnl/ob/symlink.c
--- trunk/reactos/ntoskrnl/ob/symlink.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/ob/symlink.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -25,10 +25,6 @@
STANDARD_RIGHTS_EXECUTE|SYMBOLIC_LINK_QUERY,
SYMBOLIC_LINK_ALL_ACCESS};
-#define TAG_SYMLINK_TTARGET TAG('S', 'Y', 'T', 'T')
-#define TAG_SYMLINK_TARGET TAG('S', 'Y', 'M', 'T')
-
-
/* FUNCTIONS
****************************************************************/
/**********************************************************************
_____
Modified: trunk/reactos/ntoskrnl/ps/cid.c
--- trunk/reactos/ntoskrnl/ps/cid.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/ps/cid.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -18,8 +18,6 @@
PHANDLE_TABLE PspCidTable = NULL;
-#define TAG_CIDOBJECT TAG('C', 'I', 'D', 'O')
-
#define CID_FLAG_PROCESS 0x1
#define CID_FLAG_THREAD 0x2
#define CID_FLAGS_MASK (CID_FLAG_PROCESS | CID_FLAG_THREAD)
_____
Modified: trunk/reactos/ntoskrnl/ps/job.c
--- trunk/reactos/ntoskrnl/ps/job.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/ps/job.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -17,8 +17,6 @@
/* GLOBALS
*******************************************************************/
-#define TAG_EJOB TAG('E', 'J', 'O', 'B') /* EJOB */
-
POBJECT_TYPE EXPORTED PsJobType = NULL;
LIST_ENTRY PsJobListHead;
_____
Modified: trunk/reactos/ntoskrnl/ps/kill.c
--- trunk/reactos/ntoskrnl/ps/kill.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/ps/kill.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -16,8 +16,6 @@
/* GLOBALS
*******************************************************************/
-#define TAG_TERMINATE_APC TAG('T', 'A', 'P', 'C')
-
PETHREAD PspReaperList = NULL;
WORK_QUEUE_ITEM PspReaperWorkItem;
BOOLEAN PspReaping = FALSE;
_____
Modified: trunk/reactos/ntoskrnl/ps/notify.c
--- trunk/reactos/ntoskrnl/ps/notify.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/ps/notify.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -16,7 +16,6 @@
/* GLOBAL
*******************************************************************/
#define MAX_THREAD_NOTIFY_ROUTINE_COUNT 8
-#define TAG_KAPC TAG('k','p','a','p') /* kpap - kernel ps
apc */
static ULONG PspThreadNotifyRoutineCount = 0;
static PCREATE_THREAD_NOTIFY_ROUTINE
_____
Modified: trunk/reactos/ntoskrnl/rtl/handle.c
--- trunk/reactos/ntoskrnl/rtl/handle.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/rtl/handle.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -14,10 +14,6 @@
#define NDEBUG
#include <internal/debug.h>
-
-#define TAG_HDTB TAG('H', 'D', 'T', 'B')
-
-
static BOOLEAN
RtlpIsValidHandle(PRTL_HANDLE_TABLE HandleTable, PRTL_HANDLE Handle);
static BOOLEAN
_____
Modified: trunk/reactos/ntoskrnl/se/acl.c
--- trunk/reactos/ntoskrnl/se/acl.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/se/acl.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -13,9 +13,6 @@
#include <ntoskrnl.h>
#include <internal/debug.h>
-#define TAG_ACL TAG('A', 'C', 'L', 'T')
-
-
/* GLOBALS
******************************************************************/
PACL EXPORTED SePublicDefaultDacl = NULL;
_____
Modified: trunk/reactos/ntoskrnl/se/semgr.c
--- trunk/reactos/ntoskrnl/se/semgr.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/se/semgr.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -14,9 +14,6 @@
#define NDEBUG
#include <internal/debug.h>
-#define TAG_SXPT TAG('S', 'X', 'P', 'T')
-
-
/* GLOBALS
******************************************************************/
PSE_EXPORTS EXPORTED SeExports = NULL;
_____
Modified: trunk/reactos/ntoskrnl/se/sid.c
--- trunk/reactos/ntoskrnl/se/sid.c 2005-05-20 03:50:13 UTC (rev
15426)
+++ trunk/reactos/ntoskrnl/se/sid.c 2005-05-20 04:33:47 UTC (rev
15427)
@@ -15,9 +15,6 @@
#define NDEBUG
#include <internal/debug.h>
-#define TAG_SID TAG('S', 'I', 'D', 'T')
-
-
/* GLOBALS
******************************************************************/
SID_IDENTIFIER_AUTHORITY SeNullSidAuthority =
{SECURITY_NULL_SID_AUTHORITY};