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