ReactOS  0.4.15-dev-5130-gc1c1279
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 #define TAG_FLOATING_POINT_FX 'xFpF'
44 #define TAG_FLOATING_POINT_CONTEXT 'oCpF'
45 
46 /* File-System Run-Time Library Tags */
47 #define TAG_UNC 'nuSF'
48 #define TAG_TABLE 'BATL'
49 #define TAG_RANGE 'ARSF'
50 #define TAG_FLOCK 'KCLF'
51 #define TAG_OPLOCK 'orSF'
52 
53 /* I/O Manager Tags */
54 #define TAG_DEVICE_EXTENSION 'TXED'
55 #define TAG_SHUTDOWN_ENTRY 'TUHS'
56 #define TAG_IO_TIMER 'MTOI'
57 #define TAG_DRIVER 'RVRD'
58 #define TAG_DRIVER_EXTENSION 'EVRD'
59 #define TAG_SYSB 'BSYS'
60 #define TAG_LOCK 'kclF'
61 #define TAG_FILE_NAME 'MANF'
62 #define TAG_FILE_SYSTEM 'SYSF'
63 #define TAG_FS_CHANGE_NOTIFY 'NCSF'
64 #define IFS_POOL_TAG 'trSF'
65 #define TAG_FS_NOTIFICATIONS 'NrSF'
66 #define IOC_TAG 'TCOI'
67 #define TAG_DEVICE_TYPE 'TVED'
68 #define TAG_FILE_TYPE 'ELIF'
69 #define TAG_ADAPTER_TYPE 'TPDA'
70 #define IO_LARGEIRP 'lprI'
71 #define IO_SMALLIRP 'sprI'
72 #define IO_LARGEIRP_CPU 'LprI'
73 #define IO_SMALLIRP_CPU 'SprI'
74 #define IOC_TAG1 ' cpI'
75 #define IOC_CPU 'PcpI'
76 #define TAG_APC 'CPAK'
77 #define TAG_IO ' oI'
78 #define TAG_ERROR_LOG 'rEoI'
79 #define TAG_EA 'aEoI'
80 #define TAG_IO_NAME 'mNoI'
81 #define TAG_REINIT 'iRoI'
82 #define TAG_IOWI 'IWOI'
83 #define TAG_IRP ' prI'
84 #define TAG_SYS_BUF 'BSYS'
85 #define TAG_KINTERRUPT 'RSIK'
86 #define TAG_MDL ' LDM'
87 #define TAG_IO_DEVNODE 'donD'
88 #define TAG_PNP_NOTIFY 'NPnP'
89 #define TAG_PNP_ROOT 'RPnP'
90 #define TAG_IO_RESOURCE 'CRSR'
91 #define TAG_IO_TIMER 'MTOI'
92 #define TAG_VPB ' BPV'
93 #define TAG_SYSB 'BSYS'
94 #define TAG_RTLREGISTRY 'vrqR'
95 #define TAG_PNP_DEVACTION 'aDpP'
96 
97 /* Loader Related Tags */
98 #define TAG_MODULE_OBJECT 'omlk' /* klmo - kernel ldr module object */
99 #define TAG_LDR_WSTR 'swlk' /* klws - kernel ldr wide string */
100 #define TAG_LDR_IMPORTS 'milk' /* klim - kernel ldr imports */
101 
102 /* Memory Manager Tags */
103 #define TAG_PTRC 'CRTP'
104 #define TAG_MAREA 'ERAM'
105 #define TAG_MVAD 'VADM'
106 #define TAG_MM_PAGEOP 'POPM'
107 #define TAG_NONE 'enoN'
108 #define TAG_MM_REGION 'NGRM'
109 #define TAG_RMAP 'PAMR'
110 #define TAG_MM ' mM'
111 #define TAG_MM_SECTION_SEGMENT 'SSMM'
112 #define TAG_SECTION_PAGE_TABLE 'TPSM'
113 
114 /* Object Manager Tags */
115 #define OB_NAME_TAG 'mNbO'
116 #define OB_DIR_TAG 'iDbO'
117 #define TAG_WAIT 'tiaW'
118 #define TAG_SEC_QUERY 'qSbO'
119 #define TAG_OBJECT_TYPE 'TjbO'
120 #define TAG_SYMLINK_TTARGET 'TTYS'
121 #define TAG_SYMLINK_TARGET 'TMYS'
122 #define TAG_OB_SD_CACHE 'cSbO'
123 #define TAG_OB_HANDLE 'dHbO'
124 
125 /* Power Manager Tag */
126 #define TAG_PO_DOPE 'EPOD'
127 
128 /* Process Manager Tags */
129 #define TAG_CIDOBJECT 'ODIC'
130 #define TAG_PS_IMPERSONATION 'mIsP'
131 #define TAG_EJOB 'BOJE' /* EJOB */
132 #define TAG_TERMINATE_APC 'CPAT'
133 #define TAG_KAPC 'papk' /* kpap - kernel ps apc */
134 #define TAG_PS_APC 'pasP' /* Psap - Ps APC */
135 #define TAG_SHIM 'MIHS'
136 #define TAG_QUOTA_BLOCK 'bQsP'
137 
138 /* Run-Time Library Tags */
139 #define TAG_HDTB 'BTDH'
140 #define TAG_ATMT 'TotA' /* Atom table */
141 #define TAG_RTHL 'LHtR' /* Heap Lock */
142 #define TAG_USTR 'RTSU'
143 #define TAG_ASTR 'RTSA'
144 #define TAG_OSTR 'RTSO'
145 
146 /* Security Manager Tags */
147 #define TAG_SE ' eS'
148 #define TAG_ACL 'cAeS'
149 #define TAG_SID 'iSeS'
150 #define TAG_SD 'dSeS'
151 #define TAG_QOS 'sQeS'
152 #define TAG_LUID 'uLeS'
153 #define TAG_SEPA 'aPeS'
154 #define TAG_PRIVILEGE_SET 'rPeS'
155 #define TAG_TOKEN_DYNAMIC 'dTeS'
156 #define TAG_SE_HANDLES_TAB 'aHeS'
157 #define TAG_SE_DIR_BUFFER 'bDeS'
158 #define TAG_SE_PROXY_DATA 'dPoT'
159 #define TAG_SE_TOKEN_LOCK 'lTeS'
160 #define TAG_LOGON_SESSION 'sLeS'
161 #define TAG_LOGON_NOTIFICATION 'nLeS'
162 #define TAG_SID_AND_ATTRIBUTES 'aSeS'
163 #define TAG_SID_VALIDATE 'vSeS'
164 #define TAG_ACCESS_CHECK_RIGHT 'rCeS'
165 
166 /* LPC Tags */
167 #define TAG_LPC_MESSAGE 'McpL'
168 #define TAG_LPC_ZONE 'ZcpL'
169 #define TAG_LPC_CONNECT_MESSAGE 'CCPL'
170 
171 /* FSTUB Tag */
172 #define TAG_FSTUB 'BtsF'