ReactOS  0.4.15-dev-4570-g4f8bbd1
tag.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Kernel
3  * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4  * PURPOSE: ReactOS NT kernel pool allocation tags
5  * COPYRIGHT: Copyright 2005 Steven Edwards <sedwards@reactos.com>
6  * Copyright 2006 Alex Ionescu <alex.ionescu@reactos.org>
7  * Copyright 2015 Thomas Faber <thomas.faber@reactos.org>
8  * Copyright 2021 George BiČ™oc <george.bisoc@reactos.org>
9  */
10 
11 #pragma once
12 
13 /* Cache Manager Tags */
14 #define TAG_CC ' cC'
15 #define TAG_VACB 'aVcC'
16 #define TAG_SHARED_CACHE_MAP 'cScC'
17 #define TAG_PRIVATE_CACHE_MAP 'cPcC'
18 #define TAG_BCB 'cBcC'
19 
20 /* Executive Tags */
21 #define TAG_CALLBACK_ROUTINE_BLOCK 'brbC'
22 #define TAG_CALLBACK_REGISTRATION 'eRBC'
23 #define TAG_RESOURCE_TABLE 'aTeR'
24 #define TAG_RESOURCE_EVENT 'aTeR'
25 #define TAG_RESOURCE_SEMAPHORE 'aTeR'
26 #define TAG_OBJECT_TABLE 'btbO'
27 #define TAG_INIT 'tinI'
28 #define TAG_RTLI 'iltR'
29 #define TAG_ATOM 'motA'
30 #define TAG_PROFILE 'forP'
31 #define TAG_ERR ' rrE'
32 
33 /* User Mode Debugging Manager Tag */
34 #define TAG_DEBUG_EVENT 'EgbD'
35 
36 /* Kernel Debugger Tags */
37 #define TAG_KDBS 'SBDK'
38 #define TAG_KDBG 'GBDK'
39 
40 /* Kernel Tags */
41 #define TAG_KNMI 'IMNK'
42 #define TAG_KERNEL ' eK'
43 
44 /* File-System Run-Time Library Tags */
45 #define TAG_UNC 'nuSF'
46 #define TAG_TABLE 'BATL'
47 #define TAG_RANGE 'ARSF'
48 #define TAG_FLOCK 'KCLF'
49 #define TAG_OPLOCK 'orSF'
50 
51 /* I/O Manager Tags */
52 #define TAG_DEVICE_EXTENSION 'TXED'
53 #define TAG_SHUTDOWN_ENTRY 'TUHS'
54 #define TAG_IO_TIMER 'MTOI'
55 #define TAG_DRIVER 'RVRD'
56 #define TAG_DRIVER_EXTENSION 'EVRD'
57 #define TAG_SYSB 'BSYS'
58 #define TAG_LOCK 'kclF'
59 #define TAG_FILE_NAME 'MANF'
60 #define TAG_FILE_SYSTEM 'SYSF'
61 #define TAG_FS_CHANGE_NOTIFY 'NCSF'
62 #define IFS_POOL_TAG 'trSF'
63 #define TAG_FS_NOTIFICATIONS 'NrSF'
64 #define IOC_TAG 'TCOI'
65 #define TAG_DEVICE_TYPE 'TVED'
66 #define TAG_FILE_TYPE 'ELIF'
67 #define TAG_ADAPTER_TYPE 'TPDA'
68 #define IO_LARGEIRP 'lprI'
69 #define IO_SMALLIRP 'sprI'
70 #define IO_LARGEIRP_CPU 'LprI'
71 #define IO_SMALLIRP_CPU 'SprI'
72 #define IOC_TAG1 ' cpI'
73 #define IOC_CPU 'PcpI'
74 #define TAG_APC 'CPAK'
75 #define TAG_IO ' oI'
76 #define TAG_ERROR_LOG 'rEoI'
77 #define TAG_EA 'aEoI'
78 #define TAG_IO_NAME 'mNoI'
79 #define TAG_REINIT 'iRoI'
80 #define TAG_IOWI 'IWOI'
81 #define TAG_IRP ' prI'
82 #define TAG_SYS_BUF 'BSYS'
83 #define TAG_KINTERRUPT 'RSIK'
84 #define TAG_MDL ' LDM'
85 #define TAG_IO_DEVNODE 'donD'
86 #define TAG_PNP_NOTIFY 'NPnP'
87 #define TAG_PNP_ROOT 'RPnP'
88 #define TAG_IO_RESOURCE 'CRSR'
89 #define TAG_IO_TIMER 'MTOI'
90 #define TAG_VPB ' BPV'
91 #define TAG_SYSB 'BSYS'
92 #define TAG_RTLREGISTRY 'vrqR'
93 #define TAG_PNP_DEVACTION 'aDpP'
94 
95 /* Loader Related Tags */
96 #define TAG_MODULE_OBJECT 'omlk' /* klmo - kernel ldr module object */
97 #define TAG_LDR_WSTR 'swlk' /* klws - kernel ldr wide string */
98 #define TAG_LDR_IMPORTS 'milk' /* klim - kernel ldr imports */
99 
100 /* Memory Manager Tags */
101 #define TAG_PTRC 'CRTP'
102 #define TAG_MAREA 'ERAM'
103 #define TAG_MVAD 'VADM'
104 #define TAG_MM_PAGEOP 'POPM'
105 #define TAG_NONE 'enoN'
106 #define TAG_MM_REGION 'NGRM'
107 #define TAG_RMAP 'PAMR'
108 #define TAG_MM ' mM'
109 #define TAG_MM_SECTION_SEGMENT 'SSMM'
110 #define TAG_SECTION_PAGE_TABLE 'TPSM'
111 
112 /* Object Manager Tags */
113 #define OB_NAME_TAG 'mNbO'
114 #define OB_DIR_TAG 'iDbO'
115 #define TAG_WAIT 'tiaW'
116 #define TAG_SEC_QUERY 'qSbO'
117 #define TAG_OBJECT_TYPE 'TjbO'
118 #define TAG_SYMLINK_TTARGET 'TTYS'
119 #define TAG_SYMLINK_TARGET 'TMYS'
120 #define TAG_OB_SD_CACHE 'cSbO'
121 #define TAG_OB_HANDLE 'dHbO'
122 
123 /* Power Manager Tag */
124 #define TAG_PO_DOPE 'EPOD'
125 
126 /* Process Manager Tags */
127 #define TAG_CIDOBJECT 'ODIC'
128 #define TAG_PS_IMPERSONATION 'mIsP'
129 #define TAG_EJOB 'BOJE' /* EJOB */
130 #define TAG_TERMINATE_APC 'CPAT'
131 #define TAG_KAPC 'papk' /* kpap - kernel ps apc */
132 #define TAG_PS_APC 'pasP' /* Psap - Ps APC */
133 #define TAG_SHIM 'MIHS'
134 #define TAG_QUOTA_BLOCK 'bQsP'
135 
136 /* Run-Time Library Tags */
137 #define TAG_HDTB 'BTDH'
138 #define TAG_ATMT 'TotA' /* Atom table */
139 #define TAG_RTHL 'LHtR' /* Heap Lock */
140 #define TAG_USTR 'RTSU'
141 #define TAG_ASTR 'RTSA'
142 #define TAG_OSTR 'RTSO'
143 
144 /* Security Manager Tags */
145 #define TAG_SE ' eS'
146 #define TAG_ACL 'cAeS'
147 #define TAG_SID 'iSeS'
148 #define TAG_SD 'dSeS'
149 #define TAG_QOS 'sQeS'
150 #define TAG_LUID 'uLeS'
151 #define TAG_SEPA 'aPeS'
152 #define TAG_PRIVILEGE_SET 'rPeS'
153 #define TAG_TOKEN_DYNAMIC 'dTeS'
154 #define TAG_SE_HANDLES_TAB 'aHeS'
155 #define TAG_SE_DIR_BUFFER 'bDeS'
156 #define TAG_SE_PROXY_DATA 'dPoT'
157 #define TAG_SE_TOKEN_LOCK 'lTeS'
158 #define TAG_LOGON_SESSION 'sLeS'
159 #define TAG_LOGON_NOTIFICATION 'nLeS'
160 #define TAG_SID_AND_ATTRIBUTES 'aSeS'
161 #define TAG_SID_VALIDATE 'vSeS'
162 #define TAG_ACCESS_CHECK_RIGHT 'rCeS'
163 
164 /* LPC Tags */
165 #define TAG_LPC_MESSAGE 'McpL'
166 #define TAG_LPC_ZONE 'ZcpL'
167 #define TAG_LPC_CONNECT_MESSAGE 'CCPL'
168 
169 /* FSTUB Tag */
170 #define TAG_FSTUB 'BtsF'