878ddf1f |
1 | <?xml version="1.0" encoding="UTF-8"?>\r |
2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://www.TianoCore.org/2006/Edk2.0" targetNamespace="http://www.TianoCore.org/2006/Edk2.0">\r |
3 | <!--\r |
4 | Filename: FrameworkDataTypes.xsd\r |
5 | \r |
6 | Copyright (c) 2006, Intel Corp.\r |
7 | All rights reserved. This program and the accompanying materials\r |
8 | are licensed and made available under the terms and conditions of the BSD License\r |
9 | which may be found at http://opensource.org/licenses/bsd-license.php\r |
10 | \r |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
13 | \r |
14 | -->\r |
15 | <xs:annotation>\r |
92e805e9 |
16 | <xs:documentation xml:lang="en">This schema defines EFI and Framework Data Types. Only simpleType are specified in this file. </xs:documentation>\r |
878ddf1f |
17 | </xs:annotation>\r |
18 | <xs:include schemaLocation="NamingConvention.xsd"/>\r |
c12c6c7d |
19 | <xs:simpleType name="ArchListType">\r |
47d0b581 |
20 | <xs:list itemType="SupportedArchitectures"/>\r |
21 | </xs:simpleType>\r |
878ddf1f |
22 | <xs:simpleType name="BlockNameType">\r |
878ddf1f |
23 | <xs:restriction base="UCNameType">\r |
24 | <xs:pattern value="BLOCK([A-F0-9]){2}"/>\r |
25 | </xs:restriction>\r |
26 | </xs:simpleType>\r |
27 | <xs:simpleType name="BootModeNames">\r |
878ddf1f |
28 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
29 | <xs:enumeration value="FULL"/>\r |
30 | <xs:enumeration value="MINIMAL"/>\r |
31 | <xs:enumeration value="NO_CHANGE"/>\r |
32 | <xs:enumeration value="DIAGNOSTICS"/>\r |
33 | <xs:enumeration value="DEFAULT"/>\r |
34 | <xs:enumeration value="S2_RESUME"/>\r |
35 | <xs:enumeration value="S3_RESUME"/>\r |
36 | <xs:enumeration value="S4_RESUME"/>\r |
37 | <xs:enumeration value="S5_RESUME"/>\r |
38 | <xs:enumeration value="FLASH_UPDATE"/>\r |
39 | <xs:enumeration value="RECOVERY"/>\r |
878ddf1f |
40 | </xs:restriction>\r |
41 | </xs:simpleType>\r |
42 | <xs:simpleType name="BootModeUsage">\r |
878ddf1f |
43 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
44 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
45 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
46 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
47 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
878ddf1f |
48 | </xs:restriction>\r |
49 | </xs:simpleType>\r |
2fdd0c7d |
50 | <xs:simpleType name="BuildTargets">\r |
51 | <xs:restriction base="xs:NCName">\r |
52 | <xs:enumeration value="DEBUG"/>\r |
53 | <xs:enumeration value="RELEASE"/>\r |
54 | <xs:enumeration value="BOTH"/>\r |
55 | </xs:restriction>\r |
56 | </xs:simpleType>\r |
878ddf1f |
57 | <xs:simpleType name="ComponentExecutionPhase">\r |
878ddf1f |
58 | <xs:restriction base="UCNameType">\r |
59 | <xs:enumeration value="MDE"/>\r |
60 | <xs:enumeration value="SEC"/>\r |
61 | <xs:enumeration value="PEI_CORE"/>\r |
62 | <xs:enumeration value="PEIM"/>\r |
63 | <xs:enumeration value="DXE_CORE"/>\r |
64 | <xs:enumeration value="DXE_DRIVER"/>\r |
65 | <xs:enumeration value="DXE_RUNTIME_DRIVER"/>\r |
66 | <xs:enumeration value="DXE_SAL_DRIVER"/>\r |
67 | <xs:enumeration value="DXE_SMM_DRIVER"/>\r |
68 | <xs:enumeration value="UEFI"/>\r |
69 | <xs:enumeration value="UEFI_APPLICATION"/>\r |
70 | </xs:restriction>\r |
71 | </xs:simpleType>\r |
72 | <xs:simpleType name="ConditionalTarget">\r |
878ddf1f |
73 | <xs:list itemType="C_Name"/>\r |
74 | </xs:simpleType>\r |
75 | <xs:simpleType name="DataHubUsage">\r |
878ddf1f |
76 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
77 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
78 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
79 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
80 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
81 | <xs:enumeration value="PRIVATE"/>\r |
878ddf1f |
82 | </xs:restriction>\r |
83 | </xs:simpleType>\r |
84 | <xs:simpleType name="DateType">\r |
878ddf1f |
85 | <xs:restriction base="xs:normalizedString">\r |
86 | <xs:pattern value="[1-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]"/>\r |
87 | </xs:restriction>\r |
88 | </xs:simpleType>\r |
e4ecc06e |
89 | <xs:simpleType name="DatumSizeLimitation">\r |
90 | <xs:restriction base="xs:int">\r |
91 | <xs:minInclusive value="1"/>\r |
92 | <xs:maxInclusive value="16777215"/>\r |
93 | </xs:restriction>\r |
94 | </xs:simpleType>\r |
878ddf1f |
95 | <xs:simpleType name="DefaultValue">\r |
878ddf1f |
96 | <xs:union memberTypes="xs:normalizedString xs:int UnicodeString"/>\r |
97 | </xs:simpleType>\r |
98 | <xs:simpleType name="EfiSectionType">\r |
99 | <xs:restriction base="UCNameType">\r |
100 | <xs:enumeration value="EFI_SECTION_FREEFORM_SUBTYPE_GUID"/>\r |
101 | <xs:enumeration value="EFI_SECTION_VERSION"/>\r |
102 | <xs:enumeration value="EFI_SECTION_USER_INTERFACE"/>\r |
103 | <xs:enumeration value="EFI_SECTION_DXE_DEPEX"/>\r |
104 | <xs:enumeration value="EFI_SECTION_PEI_DEPEX"/>\r |
105 | <xs:enumeration value="EFI_SECTION_PE32"/>\r |
106 | <xs:enumeration value="EFI_SECTION_PIC"/>\r |
107 | <xs:enumeration value="EFI_SECTION_TE"/>\r |
108 | <xs:enumeration value="EFI_SECTION_RAW"/>\r |
109 | <xs:enumeration value="EFI_SECTION_COMPRESSION"/>\r |
110 | <xs:enumeration value="EFI_SECTION_GUID_DEFINED"/>\r |
111 | <xs:enumeration value="EFI_SECTION_COMPATIBILITY16"/>\r |
112 | <xs:enumeration value="EFI_SECTION_FIRMWARE_VOLUME_IMAGE"/>\r |
113 | </xs:restriction>\r |
114 | </xs:simpleType>\r |
115 | <xs:simpleType name="EventTypes">\r |
878ddf1f |
116 | <xs:restriction base="NameConvention">\r |
117 | <xs:enumeration value="EVENT_GROUP_EXIT_BOOT_SERVICES"/>\r |
118 | <xs:enumeration value="EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE"/>\r |
119 | <xs:enumeration value="EVENT_GROUP_MEMORY_MAP_CHANGE"/>\r |
120 | <xs:enumeration value="EVENT_GROUP_READY_TO_BOOT"/>\r |
121 | <xs:enumeration value="EVENT_GROUP_LEGACY_BOOT"/>\r |
122 | </xs:restriction>\r |
123 | </xs:simpleType>\r |
124 | <xs:simpleType name="EventUsage">\r |
878ddf1f |
125 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
126 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
127 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
128 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
129 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
130 | <xs:enumeration value="PRIVATE"/>\r |
878ddf1f |
131 | </xs:restriction>\r |
132 | </xs:simpleType>\r |
133 | <xs:simpleType name="ExecutionType">\r |
878ddf1f |
134 | <xs:restriction base="UCNameType">\r |
135 | <xs:enumeration value="REL" id="Relocatable"/>\r |
136 | <xs:enumeration value="NREL" id="Non-Relocatable"/>\r |
137 | <xs:enumeration value="XIP" id="Execute_In_Place"/>\r |
138 | <xs:enumeration value="PIC" id="Position_Independent_Code"/>\r |
139 | </xs:restriction>\r |
140 | </xs:simpleType>\r |
141 | <xs:simpleType name="ExternType">\r |
878ddf1f |
142 | <xs:restriction base="xs:string">\r |
143 | <xs:pattern value="(_*\w*\W*)*"/>\r |
144 | </xs:restriction>\r |
145 | </xs:simpleType>\r |
146 | <xs:simpleType name="ExternUsage">\r |
878ddf1f |
147 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
148 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
149 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
878ddf1f |
150 | </xs:restriction>\r |
151 | </xs:simpleType>\r |
152 | <xs:simpleType name="FileNameUsage">\r |
878ddf1f |
153 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
154 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
155 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
156 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
157 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
158 | <xs:enumeration value="PRIVATE"/>\r |
878ddf1f |
159 | </xs:restriction>\r |
160 | </xs:simpleType>\r |
161 | <xs:simpleType name="FormSetUsage">\r |
878ddf1f |
162 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
163 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
164 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
165 | <xs:enumeration value="PRIVATE"/>\r |
878ddf1f |
166 | </xs:restriction>\r |
167 | </xs:simpleType>\r |
168 | <xs:simpleType name="FrameworkComponentTypes">\r |
878ddf1f |
169 | <xs:restriction base="UCNameType">\r |
170 | <xs:enumeration value="APRIORI"/>\r |
171 | <xs:enumeration value="SEC"/>\r |
172 | <xs:enumeration value="LIBRARY"/>\r |
173 | <xs:enumeration value="FV_IMAGE_FILE"/>\r |
174 | <xs:enumeration value="BS_DRIVER"/>\r |
175 | <xs:enumeration value="RT_DRIVER"/>\r |
176 | <xs:enumeration value="SAL_RT_DRIVER"/>\r |
177 | <xs:enumeration value="PE32_PEIM"/>\r |
178 | <xs:enumeration value="PIC_PEIM"/>\r |
179 | <xs:enumeration value="COMBINED_PEIM_DRIVER"/>\r |
180 | <xs:enumeration value="PEI_CORE"/>\r |
181 | <xs:enumeration value="DXE_CORE"/>\r |
182 | <xs:enumeration value="APPLICATION"/>\r |
183 | <xs:enumeration value="BS_DRIVER_EFI"/>\r |
184 | <xs:enumeration value="SHELLAPP"/>\r |
878ddf1f |
185 | <xs:enumeration value="UEFI_APPLICATION"/>\r |
186 | <xs:enumeration value="BINARY"/>\r |
187 | <xs:enumeration value="LOGO"/>\r |
188 | <xs:enumeration value="CUSTOM_BUILD"/>\r |
189 | </xs:restriction>\r |
190 | </xs:simpleType>\r |
c12c6c7d |
191 | <xs:simpleType name="FrameworkModuleTypes">\r |
192 | <xs:restriction base="ModuleTypeDef">\r |
193 | <xs:enumeration value="BASE"/>\r |
194 | <xs:enumeration value="SEC"/>\r |
195 | <xs:enumeration value="PEI_CORE"/>\r |
196 | <xs:enumeration value="PEIM"/>\r |
197 | <xs:enumeration value="DXE_CORE"/>\r |
198 | <xs:enumeration value="DXE_DRIVER"/>\r |
199 | <xs:enumeration value="DXE_RUNTIME_DRIVER"/>\r |
200 | <xs:enumeration value="DXE_SAL_DRIVER"/>\r |
201 | <xs:enumeration value="DXE_SMM_DRIVER"/>\r |
202 | <xs:enumeration value="UEFI_DRIVER"/>\r |
203 | <xs:enumeration value="UEFI_APPLICATION"/>\r |
204 | <xs:enumeration value="USER_DEFINED"/>\r |
205 | </xs:restriction>\r |
206 | </xs:simpleType>\r |
878ddf1f |
207 | <xs:simpleType name="FvRegionTypes">\r |
878ddf1f |
208 | <xs:restriction base="UCNameType">\r |
209 | <xs:enumeration value="FV_MAIN"/>\r |
210 | <xs:enumeration value="FV_MAIN_COMPACT"/>\r |
211 | <xs:enumeration value="NV_STORAGE"/>\r |
212 | <xs:enumeration value="FV_RECOVERY"/>\r |
213 | <xs:enumeration value="FV_RECOVERY_FLOPPY"/>\r |
214 | <xs:enumeration value="FV_FILE"/>\r |
215 | <xs:enumeration value="CAPSULE_CARGO"/>\r |
216 | <xs:enumeration value="NULL"/>\r |
217 | <xs:enumeration value="USER_DEFINED"/>\r |
218 | </xs:restriction>\r |
219 | </xs:simpleType>\r |
716b2371 |
220 | <xs:simpleType name="GuidTypes">\r |
221 | <xs:restriction base="UCNameType">\r |
222 | <xs:enumeration value="DATA_HUB_RECORD"/>\r |
223 | <xs:enumeration value="EFI_EVENT"/>\r |
224 | <xs:enumeration value="EFI_SYSTEM_CONFIGURATION_TABLE"/>\r |
225 | <xs:enumeration value="EFI_VARIABLE"/>\r |
226 | <xs:enumeration value="HII_PACKAGE_LIST"/>\r |
227 | <xs:enumeration value="HOB"/>\r |
228 | </xs:restriction>\r |
229 | </xs:simpleType>\r |
230 | <xs:simpleType name="GuidListType">\r |
5c5b4899 |
231 | <xs:list itemType="GuidTypes"/>\r |
716b2371 |
232 | </xs:simpleType>\r |
878ddf1f |
233 | <xs:simpleType name="GuidUsage">\r |
878ddf1f |
234 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
235 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
236 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
237 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
238 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
239 | <xs:enumeration value="DEFAULT"/>\r |
240 | <xs:enumeration value="PRIVATE"/>\r |
241 | </xs:restriction>\r |
242 | </xs:simpleType>\r |
243 | <xs:simpleType name="HiiPackageUsage">\r |
244 | <xs:restriction base="NameConvention">\r |
245 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
246 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
247 | <xs:enumeration value="PRIVATE"/>\r |
878ddf1f |
248 | </xs:restriction>\r |
249 | </xs:simpleType>\r |
250 | <xs:simpleType name="HobTypes">\r |
878ddf1f |
251 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
252 | <xs:enumeration value="PHIT"/>\r |
253 | <xs:enumeration value="MEMORY_ALLOCATION"/>\r |
254 | <xs:enumeration value="RESOURCE_DESCRIPTOR"/>\r |
255 | <xs:enumeration value="GUID_EXTENSION"/>\r |
256 | <xs:enumeration value="FIRMWARE_VOLUME"/>\r |
257 | <xs:enumeration value="CPU"/>\r |
258 | <xs:enumeration value="POOL"/>\r |
259 | <xs:enumeration value="CAPSULE_VOLUME"/>\r |
878ddf1f |
260 | </xs:restriction>\r |
261 | </xs:simpleType>\r |
262 | <xs:simpleType name="HobUsage">\r |
878ddf1f |
263 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
264 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
265 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
266 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
267 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
268 | <xs:enumeration value="PRIVATE"/>\r |
878ddf1f |
269 | </xs:restriction>\r |
270 | </xs:simpleType>\r |
c12c6c7d |
271 | <xs:simpleType name="IntList">\r |
272 | <xs:list itemType="xs:positiveInteger"/>\r |
273 | </xs:simpleType>\r |
878ddf1f |
274 | <xs:simpleType name="LibraryUsage">\r |
878ddf1f |
275 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
276 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
878ddf1f |
277 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
278 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
279 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
c12c6c7d |
280 | <xs:enumeration value="DEFAULT"/>\r |
281 | <xs:enumeration value="PRIVATE"/>\r |
878ddf1f |
282 | </xs:restriction>\r |
283 | </xs:simpleType>\r |
284 | <xs:simpleType name="ModuleTypeDef">\r |
878ddf1f |
285 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
286 | <xs:enumeration value="BASE"/>\r |
287 | <xs:enumeration value="SEC"/>\r |
288 | <xs:enumeration value="PEI_CORE"/>\r |
289 | <xs:enumeration value="PEIM"/>\r |
290 | <xs:enumeration value="DXE_CORE"/>\r |
291 | <xs:enumeration value="DXE_DRIVER"/>\r |
292 | <xs:enumeration value="DXE_RUNTIME_DRIVER"/>\r |
293 | <xs:enumeration value="DXE_SAL_DRIVER"/>\r |
294 | <xs:enumeration value="DXE_SMM_DRIVER"/>\r |
295 | <xs:enumeration value="TOOLS"/>\r |
296 | <xs:enumeration value="UEFI_DRIVER"/>\r |
297 | <xs:enumeration value="UEFI_APPLICATION"/>\r |
298 | <xs:enumeration value="USER_DEFINED"/>\r |
878ddf1f |
299 | </xs:restriction>\r |
300 | </xs:simpleType>\r |
c12c6c7d |
301 | <xs:simpleType name="ModuleTypeList">\r |
302 | <xs:list itemType="FrameworkModuleTypes"/>\r |
303 | </xs:simpleType>\r |
878ddf1f |
304 | <xs:simpleType name="Module_Unified">\r |
878ddf1f |
305 | <xs:restriction base="UCNameType">\r |
306 | <xs:enumeration value="MODULE"/>\r |
307 | <xs:enumeration value="UNIFIED"/>\r |
308 | </xs:restriction>\r |
309 | </xs:simpleType>\r |
310 | <xs:simpleType name="PackageType">\r |
878ddf1f |
311 | <xs:restriction base="UCNameType">\r |
312 | <xs:enumeration value="SOURCE"/>\r |
313 | <xs:enumeration value="BINARY"/>\r |
314 | <xs:enumeration value="MIXED"/>\r |
315 | </xs:restriction>\r |
316 | </xs:simpleType>\r |
317 | <xs:simpleType name="PackageUsage">\r |
878ddf1f |
318 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
319 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
320 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
321 | <xs:enumeration value="DEFAULT"/>\r |
878ddf1f |
322 | </xs:restriction>\r |
323 | </xs:simpleType>\r |
47d0b581 |
324 | <xs:simpleType name="PcdListType">\r |
325 | <xs:list itemType="PcdItemTypes"/>\r |
326 | </xs:simpleType>\r |
878ddf1f |
327 | <xs:simpleType name="PcdTypes">\r |
328 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
329 | <xs:enumeration value="FIXED_AT_BUILD"/>\r |
47d0b581 |
330 | <xs:enumeration value="FEATURE_FLAG"/>\r |
c12c6c7d |
331 | <xs:enumeration value="PATCHABLE_IN_MODULE"/>\r |
332 | <xs:enumeration value="DYNAMIC"/>\r |
333 | <xs:enumeration value="DYNAMIC_EX"/>\r |
878ddf1f |
334 | </xs:restriction>\r |
335 | </xs:simpleType>\r |
f29b8a33 |
336 | <xs:simpleType name="PcdDriverTypes">\r |
337 | <xs:restriction base="NameConvention">\r |
338 | <xs:enumeration value="PEI_PCD_DRIVER"/>\r |
339 | <xs:enumeration value="DXE_PCD_DRIVER"/>\r |
340 | </xs:restriction>\r |
341 | </xs:simpleType>\r |
878ddf1f |
342 | <xs:simpleType name="PcdDataTypes">\r |
343 | <xs:restriction base="xs:normalizedString">\r |
344 | <xs:enumeration value="UINT8"/>\r |
345 | <xs:enumeration value="UINT16"/>\r |
346 | <xs:enumeration value="UINT32"/>\r |
347 | <xs:enumeration value="UINT64"/>\r |
348 | <xs:enumeration value="VOID*"/>\r |
349 | <xs:enumeration value="BOOLEAN"/>\r |
350 | </xs:restriction>\r |
351 | </xs:simpleType>\r |
352 | <xs:simpleType name="PcdFeatureFlagUsage">\r |
878ddf1f |
353 | <xs:restriction base="UsageTypes">\r |
c12c6c7d |
354 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
355 | <xs:enumeration value="DEFAULT"/>\r |
878ddf1f |
356 | </xs:restriction>\r |
357 | </xs:simpleType>\r |
358 | <xs:simpleType name="PcdItemTypes">\r |
359 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
360 | <xs:enumeration value="FEATURE_FLAG"/>\r |
361 | <xs:enumeration value="FIXED_AT_BUILD"/>\r |
362 | <xs:enumeration value="PATCHABLE_IN_MODULE"/>\r |
363 | <xs:enumeration value="DYNAMIC"/>\r |
364 | <xs:enumeration value="DYNAMIC_EX"/>\r |
878ddf1f |
365 | </xs:restriction>\r |
366 | </xs:simpleType>\r |
367 | <xs:simpleType name="PcdUsage">\r |
878ddf1f |
368 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
369 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
370 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
371 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
372 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
373 | <xs:enumeration value="DEFAULT"/>\r |
878ddf1f |
374 | </xs:restriction>\r |
375 | </xs:simpleType>\r |
376 | <xs:simpleType name="PpiNotifyUsage">\r |
878ddf1f |
377 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
378 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
878ddf1f |
379 | </xs:restriction>\r |
380 | </xs:simpleType>\r |
381 | <xs:simpleType name="PpiUsage">\r |
878ddf1f |
382 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
383 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
384 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
385 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
386 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
387 | <xs:enumeration value="PRIVATE"/>\r |
878ddf1f |
388 | </xs:restriction>\r |
389 | </xs:simpleType>\r |
390 | <xs:simpleType name="ProtocolNotifyUsage">\r |
878ddf1f |
391 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
392 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
878ddf1f |
393 | </xs:restriction>\r |
394 | </xs:simpleType>\r |
395 | <xs:simpleType name="ProtocolUsage">\r |
878ddf1f |
396 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
397 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
398 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
399 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
400 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
401 | <xs:enumeration value="TO_START"/>\r |
402 | <xs:enumeration value="BY_START"/>\r |
403 | <xs:enumeration value="PRIVATE"/>\r |
878ddf1f |
404 | </xs:restriction>\r |
405 | </xs:simpleType>\r |
e4ecc06e |
406 | <xs:simpleType name="SkuListType">\r |
407 | <xs:list itemType="HexByteDataType"/>\r |
408 | </xs:simpleType>\r |
878ddf1f |
409 | <xs:simpleType name="SupportedArchitectures">\r |
878ddf1f |
410 | <xs:restriction base="NameConvention">\r |
411 | <xs:enumeration value="ALL"/>\r |
412 | <xs:enumeration value="EBC"/>\r |
413 | <xs:enumeration value="ARM"/>\r |
414 | <xs:enumeration value="IA32"/>\r |
415 | <xs:enumeration value="X64"/>\r |
416 | <xs:enumeration value="IPF"/>\r |
417 | <xs:enumeration value="PPC"/>\r |
418 | </xs:restriction>\r |
419 | </xs:simpleType>\r |
420 | <xs:simpleType name="SystemTableUsage">\r |
878ddf1f |
421 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
422 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
423 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
424 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
425 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
426 | <xs:enumeration value="PRIVATE"/>\r |
878ddf1f |
427 | </xs:restriction>\r |
428 | </xs:simpleType>\r |
429 | <xs:simpleType name="Token">\r |
878ddf1f |
430 | <xs:union memberTypes="GuidArrayType GuidNamingConvention HexDoubleWordDataType"/>\r |
431 | </xs:simpleType>\r |
2bf4e0a1 |
432 | <!-- TokenDataType is xs:nonNegativeInteger in final -->\r |
433 | <xs:simpleType name="TokenDataType">\r |
434 | <xs:union memberTypes="HexDoubleWordDataType xs:nonNegativeInteger"/>\r |
435 | </xs:simpleType>\r |
878ddf1f |
436 | <xs:simpleType name="ToolChains">\r |
878ddf1f |
437 | <xs:restriction base="UCNameType">\r |
438 | <xs:enumeration value="MSFT"/>\r |
439 | <xs:enumeration value="INTEL"/>\r |
440 | <xs:enumeration value="GCC"/>\r |
441 | <xs:enumeration value="CYGWIN"/>\r |
442 | </xs:restriction>\r |
443 | </xs:simpleType>\r |
444 | <xs:simpleType name="ToothPick">\r |
878ddf1f |
445 | <xs:restriction base="xs:normalizedString">\r |
446 | <xs:enumeration value="UNIX"/>\r |
447 | <xs:enumeration value="WINDOWS"/>\r |
448 | </xs:restriction>\r |
449 | </xs:simpleType>\r |
c12c6c7d |
450 | <xs:simpleType name="UiNameType">\r |
451 | <xs:restriction base="xs:string">\r |
452 | <xs:pattern value="(([a-zA-Z][a-zA-Z0-9]*)(_)*(.)*)+"/>\r |
453 | </xs:restriction>\r |
454 | </xs:simpleType>\r |
878ddf1f |
455 | <xs:simpleType name="UnicodeString">\r |
878ddf1f |
456 | <xs:restriction base="xs:normalizedString">\r |
457 | <xs:pattern value="L(:)?(")(\w+)*((\W*)*(\s*)*(\w*)*)*(")"/>\r |
458 | </xs:restriction>\r |
459 | </xs:simpleType>\r |
5c5b4899 |
460 | <xs:simpleType name="VariableNameDataType">\r |
461 | <xs:list itemType="HexWordDataType"/>\r |
462 | </xs:simpleType>\r |
878ddf1f |
463 | <xs:simpleType name="UsageTypes">\r |
878ddf1f |
464 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
465 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
466 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
467 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
468 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
469 | <xs:enumeration value="TO_START"/>\r |
470 | <xs:enumeration value="BY_START"/>\r |
471 | <xs:enumeration value="PRIVATE"/>\r |
472 | <xs:enumeration value="DEFAULT"/>\r |
878ddf1f |
473 | </xs:restriction>\r |
474 | </xs:simpleType>\r |
475 | <xs:simpleType name="VariableOffsetValues">\r |
878ddf1f |
476 | <xs:restriction base="xs:string">\r |
477 | <xs:pattern value="\d+(:)?\d*"/>\r |
478 | </xs:restriction>\r |
479 | </xs:simpleType>\r |
480 | <xs:simpleType name="VariableUsage">\r |
878ddf1f |
481 | <xs:restriction base="NameConvention">\r |
c12c6c7d |
482 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
483 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
484 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
485 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r |
486 | <xs:enumeration value="PRIVATE"/>\r |
878ddf1f |
487 | </xs:restriction>\r |
488 | </xs:simpleType>\r |
489 | <!-- Complex Data Types -->\r |
490 | <xs:complexType name="ArgsType">\r |
491 | <xs:sequence minOccurs="0" maxOccurs="unbounded">\r |
492 | <xs:element name="Arg" type="xs:string"/>\r |
493 | </xs:sequence>\r |
494 | </xs:complexType>\r |
495 | <xs:complexType name="ToolType">\r |
878ddf1f |
496 | <xs:sequence>\r |
497 | <xs:element name="ToolName" type="xs:string"/>\r |
498 | <xs:element name="ToolArgs" type="xs:string"/>\r |
499 | </xs:sequence>\r |
500 | </xs:complexType>\r |
878ddf1f |
501 | </xs:schema>\r |