move the rest of the alread defined tags to the private tag.h

svn path=/trunk/; revision=15427
This commit is contained in:
Steven Edwards 2005-05-20 04:33:47 +00:00
parent 3354ce28a8
commit 7fb3ebb9f9
25 changed files with 77 additions and 67 deletions

View file

@ -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 */

View file

@ -14,10 +14,6 @@
#define NDEBUG
#include <internal/debug.h>
/* GLOBALS *******************************************************************/
#define TAG_MDL TAG('M', 'D', 'L', ' ')
/* FUNCTIONS *****************************************************************/
/*

View file

@ -30,8 +30,6 @@ typedef struct _PNP_NOTIFY_ENTRY
static KGUARDED_MUTEX PnpNotifyListLock;
static LIST_ENTRY PnpNotifyListHead;
#define TAG_PNP_NOTIFY TAG('P', 'n', 'P', 'N')
/* FUNCTIONS *****************************************************************/
/*

View file

@ -76,8 +76,6 @@ PWSTR ArcTypes[42] = {
L"Undefined"
};
#define TAG_IO_RESOURCE TAG('R', 'S', 'R', 'C')
/* PRIVATE FUNCTIONS **********************************************************/
/*

View file

@ -17,8 +17,6 @@
/* GLOBALS *******************************************************************/
#define TAG_IO_TIMER TAG('I', 'O', 'T', 'M')
/* Timer Database */
KSPIN_LOCK IopTimerLock;
LIST_ENTRY IopTimerQueueHead;

View file

@ -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

View file

@ -19,8 +19,6 @@
/* GLOBALS ******************************************************************/
#define TAG_KDBS TAG('K', 'D', 'B', 'S')
typedef struct _IMAGE_SYMBOL_INFO_CACHE {
LIST_ENTRY ListEntry;
ULONG RefCount;

View file

@ -41,11 +41,6 @@ STATIC MODULE_TEXT_SECTION NtoskrnlTextSection;
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

View file

@ -14,10 +14,6 @@
#define NDEBUG
#include <internal/debug.h>
/* GLOBALS *******************************************************************/
#define TAG_LPC_CONNECT_MESSAGE TAG('L', 'P', 'C', 'C')
/* FUNCTIONS *****************************************************************/
/**********************************************************************

View file

@ -17,8 +17,6 @@
STATIC MADDRESS_SPACE KernelAddressSpace;
#define TAG_PTRC TAG('P', 'T', 'R', 'C')
/* FUNCTIONS *****************************************************************/
VOID

View file

@ -14,10 +14,6 @@
#define NDEBUG
#include <internal/debug.h>
/* GLOBALS *******************************************************************/
#define TAG_MAREA TAG('M', 'A', 'R', 'E')
/* #define VALIDATE_MEMORY_AREAS */
/* FUNCTIONS *****************************************************************/

View file

@ -22,8 +22,6 @@ static KSPIN_LOCK MmPageOpHashTableLock;
static PMM_PAGEOP MmPageOpHashTable[PAGEOP_HASH_TABLE_SIZE];
static NPAGED_LOOKASIDE_LIST MmPageOpLookasideList;
#define TAG_MM_PAGEOP TAG('M', 'P', 'O', 'P')
/* FUNCTIONS *****************************************************************/
VOID

View file

@ -22,8 +22,6 @@ extern MM_STATS MmStats;
/* GLOBALS *****************************************************************/
#define TAG_NONE (ULONG)(('N'<<0) + ('o'<<8) + ('n'<<16) + ('e'<<24))
ULONG STDCALL
ExRosQueryPagedPoolTag ( PVOID Block );

View file

@ -14,10 +14,6 @@
#define NDEBUG
#include <internal/debug.h>
/* GLOBALS *******************************************************************/
#define TAG_MM_REGION TAG('M', 'R', 'G', 'N')
/* FUNCTIONS *****************************************************************/
VOID STATIC

View file

@ -24,8 +24,6 @@ typedef struct _MM_RMAP_ENTRY
}
MM_RMAP_ENTRY, *PMM_RMAP_ENTRY;
#define TAG_RMAP TAG('R', 'M', 'A', 'P')
/* GLOBALS ******************************************************************/
static FAST_MUTEX RmapListLock;

View file

@ -38,9 +38,6 @@ static GENERIC_MAPPING MmpSectionMapping = {
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)

View file

@ -25,10 +25,6 @@ static GENERIC_MAPPING ObpSymbolicLinkMapping = {
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 ****************************************************************/
/**********************************************************************

View file

@ -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)

View file

@ -17,8 +17,6 @@
/* GLOBALS *******************************************************************/
#define TAG_EJOB TAG('E', 'J', 'O', 'B') /* EJOB */
POBJECT_TYPE EXPORTED PsJobType = NULL;
LIST_ENTRY PsJobListHead;

View file

@ -16,8 +16,6 @@
/* GLOBALS *******************************************************************/
#define TAG_TERMINATE_APC TAG('T', 'A', 'P', 'C')
PETHREAD PspReaperList = NULL;
WORK_QUEUE_ITEM PspReaperWorkItem;
BOOLEAN PspReaping = FALSE;

View file

@ -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

View file

@ -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

View file

@ -13,9 +13,6 @@
#include <ntoskrnl.h>
#include <internal/debug.h>
#define TAG_ACL TAG('A', 'C', 'L', 'T')
/* GLOBALS ******************************************************************/
PACL EXPORTED SePublicDefaultDacl = NULL;

View file

@ -14,9 +14,6 @@
#define NDEBUG
#include <internal/debug.h>
#define TAG_SXPT TAG('S', 'X', 'P', 'T')
/* GLOBALS ******************************************************************/
PSE_EXPORTS EXPORTED SeExports = NULL;

View file

@ -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};