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