- New ERESOURCE implementation: fixes the return value of some functions (VOID vs...
[reactos.git] / reactos / ntoskrnl / include / internal / tag.h
1 #ifndef _NTOSKRNL_TAG_H
2 #define _NTOSKRNL_TAG_H
3
4 /* formerly located in cc/view.c */
5 #define TAG_CSEG TAG('C', 'S', 'E', 'G')
6 #define TAG_BCB TAG('B', 'C', 'B', ' ')
7 #define TAG_IBCB TAG('i', 'B', 'C', 'B')
8
9 /* formely located in include/callback.h */
10 #define CALLBACK_TAG TAG('C','L','B','K')
11
12 /* formerly located in ex/resource.c */
13 #define TAG_RESOURCE_TABLE TAG('R', 'e', 'T', 'a')
14 #define TAG_RESOURCE_EVENT TAG('R', 'e', 'T', 'a')
15 #define TAG_RESOURCE_SEMAPHORE TAG('R', 'e', 'T', 'a')
16
17 /* formerly located in fs/notify.c */
18 #define FSRTL_NOTIFY_TAG TAG('N','O','T','I')
19
20 /* formerly located in io/device.c */
21 #define TAG_DEVICE_EXTENSION TAG('D', 'E', 'X', 'T')
22 #define TAG_SHUTDOWN_ENTRY TAG('S', 'H', 'U', 'T')
23 #define TAG_IO_TIMER TAG('I', 'O', 'T', 'M')
24
25 /* formerly located in io/driver.c */
26 #define TAG_DRIVER TAG('D', 'R', 'V', 'R')
27 #define TAG_DRIVER_EXTENSION TAG('D', 'R', 'V', 'E')
28
29 /* formerly located in io/file.c */
30 #define TAG_SYSB TAG('S', 'Y', 'S', 'B')
31 #define TAG_LOCK TAG('F','l','c','k')
32 #define TAG_FILE_NAME TAG('F', 'N', 'A', 'M')
33
34 /* formerly located in io/fs.c */
35 #define TAG_FILE_SYSTEM TAG('F', 'S', 'Y', 'S')
36 #define TAG_FS_CHANGE_NOTIFY TAG('F', 'S', 'C', 'N')
37 #define IFS_POOL_TAG TAG('F', 'S', 'r', 't')
38
39 /* formerly located in io/iocomp.c */
40 #define IOC_TAG TAG('I', 'O', 'C', 'T')
41
42 /* formerly located in io/iomgr.c */
43 #define TAG_DEVICE_TYPE TAG('D', 'E', 'V', 'T')
44 #define TAG_FILE_TYPE TAG('F', 'I', 'L', 'E')
45 #define TAG_ADAPTER_TYPE TAG('A', 'D', 'P', 'T')
46 #define IO_LARGEIRP TAG('I', 'r', 'p', 'l')
47 #define IO_SMALLIRP TAG('I', 'r', 'p', 's')
48 #define IO_LARGEIRP_CPU TAG('I', 'r', 'p', 'L')
49 #define IO_SMALLIRP_CPU TAG('I', 'r', 'p', 'S')
50 #define IOC_TAG1 TAG('I', 'p', 'c', ' ')
51 #define IOC_CPU TAG('I', 'p', 'c', 'P')
52
53 /* formerly located in io/work.c */
54 #define TAG_IOWI TAG('I', 'O', 'W', 'I')
55
56 /* formerly located in io/irp.c */
57 #define TAG_IRP TAG('I', 'R', 'P', ' ')
58 #define TAG_SYS_BUF TAG('S', 'Y', 'S' , 'B')
59
60 /* formerly located in io/irq.c */
61 #define TAG_KINTERRUPT TAG('K', 'I', 'S', 'R')
62
63 /* formerly located in io/mdl.c */
64 #define TAG_MDL TAG('M', 'D', 'L', ' ')
65
66 /* formerly located in io/pnpnotify.c */
67 #define TAG_PNP_NOTIFY TAG('P', 'n', 'P', 'N')
68
69 /* for io/pnproot.c */
70 #define TAG_PNP_ROOT TAG('P', 'n', 'P', 'R')
71
72 /* formerly located in io/resource.c */
73 #define TAG_IO_RESOURCE TAG('R', 'S', 'R', 'C')
74
75 /* formerly located in io/timer.c */
76 #define TAG_IO_TIMER TAG('I', 'O', 'T', 'M')
77
78 /* formerly located in io/vpb.c */
79 #define TAG_VPB TAG('V', 'P', 'B', ' ')
80 #define TAG_SYSB TAG('S', 'Y', 'S', 'B')
81
82 /* formerly located in kdbg/kdb_symbols.c */
83 #define TAG_KDBS TAG('K', 'D', 'B', 'S')
84 #define TAG_KDBG TAG('K', 'D', 'B', 'G')
85
86 /* formerly located in ldr/loader.c */
87 #define TAG_DRIVER_MEM TAG('D', 'R', 'V', 'M') /* drvm */
88 #define TAG_MODULE_OBJECT TAG('k', 'l', 'm', 'o') /* klmo - kernel ldr module object */
89 #define TAG_LDR_WSTR TAG('k', 'l', 'w', 's') /* klws - kernel ldr wide string */
90
91 /* formerly located in lpc/connect */
92 #define TAG_LPC_CONNECT_MESSAGE TAG('L', 'P', 'C', 'C')
93
94 /* formerly located in mm/aspace.c */
95 #define TAG_PTRC TAG('P', 'T', 'R', 'C')
96
97 /* formerly located in mm/marea.c */
98 #define TAG_MAREA TAG('M', 'A', 'R', 'E')
99
100 /* formerly located in mm/pageop.c */
101 #define TAG_MM_PAGEOP TAG('M', 'P', 'O', 'P')
102
103 /* formerly located in mm/pool.c */
104 #define TAG_NONE TAG('N', 'o', 'n', 'e')
105
106 /* formerly located in mm/region.c */
107 #define TAG_MM_REGION TAG('M', 'R', 'G', 'N')
108
109 /* formerly located in mm/rmap.c */
110 #define TAG_RMAP TAG('R', 'M', 'A', 'P')
111
112 /* formerly located in mm/section.c */
113 #define TAG_MM_SECTION_SEGMENT TAG('M', 'M', 'S', 'S')
114 #define TAG_SECTION_PAGE_TABLE TAG('M', 'S', 'P', 'T')
115
116 /* formerly located in ob/symlink.c */
117 #define TAG_OBJECT_TYPE TAG('O', 'b', 'j', 'T')
118 #define TAG_SYMLINK_TTARGET TAG('S', 'Y', 'T', 'T')
119 #define TAG_SYMLINK_TARGET TAG('S', 'Y', 'M', 'T')
120
121 /* formerly located in ps/cid.c */
122 #define TAG_CIDOBJECT TAG('C', 'I', 'D', 'O')
123
124 /* formerly located in ps/job.c */
125 #define TAG_EJOB TAG('E', 'J', 'O', 'B') /* EJOB */
126
127 /* formerly located in ps/kill.c */
128 #define TAG_TERMINATE_APC TAG('T', 'A', 'P', 'C')
129
130 /* formerly located in ps/notify.c */
131 #define TAG_KAPC TAG('k','p','a','p') /* kpap - kernel ps apc */
132
133 /* formerly located in rtl/handle.c */
134 #define TAG_HDTB TAG('H', 'D', 'T', 'B')
135
136 /* formerly located in se/acl.c */
137 #define TAG_ACL TAG('S', 'e', 'A', 'c')
138
139 /* formerly located in se/sid.c */
140 #define TAG_SID TAG('S', 'e', 'S', 'i')
141
142 /* formerly located in se/sd.c */
143 #define TAG_SD TAG('S', 'e', 'S', 'd')
144
145 /* LPC Tags */
146 #define TAG_LPC_MESSAGE TAG('L', 'p', 'c', 'M')
147 #define TAG_LPC_ZONE TAG('L', 'p', 'c', 'Z')
148
149 #endif /* _NTOSKRNL_TAG_H */