]>
Commit | Line | Data |
---|---|---|
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 | |
220 | <xs:simpleType name="GuidUsage">\r | |
878ddf1f | 221 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 222 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
223 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
224 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
225 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
226 | <xs:enumeration value="DEFAULT"/>\r | |
227 | <xs:enumeration value="PRIVATE"/>\r | |
228 | </xs:restriction>\r | |
229 | </xs:simpleType>\r | |
230 | <xs:simpleType name="HiiPackageUsage">\r | |
231 | <xs:restriction base="NameConvention">\r | |
232 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
233 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
234 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 235 | </xs:restriction>\r |
236 | </xs:simpleType>\r | |
237 | <xs:simpleType name="HobTypes">\r | |
878ddf1f | 238 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 239 | <xs:enumeration value="PHIT"/>\r |
240 | <xs:enumeration value="MEMORY_ALLOCATION"/>\r | |
241 | <xs:enumeration value="RESOURCE_DESCRIPTOR"/>\r | |
242 | <xs:enumeration value="GUID_EXTENSION"/>\r | |
243 | <xs:enumeration value="FIRMWARE_VOLUME"/>\r | |
244 | <xs:enumeration value="CPU"/>\r | |
245 | <xs:enumeration value="POOL"/>\r | |
246 | <xs:enumeration value="CAPSULE_VOLUME"/>\r | |
878ddf1f | 247 | </xs:restriction>\r |
248 | </xs:simpleType>\r | |
249 | <xs:simpleType name="HobUsage">\r | |
878ddf1f | 250 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 251 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
252 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
253 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
254 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
255 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 256 | </xs:restriction>\r |
257 | </xs:simpleType>\r | |
c12c6c7d | 258 | <xs:simpleType name="IntList">\r |
259 | <xs:list itemType="xs:positiveInteger"/>\r | |
260 | </xs:simpleType>\r | |
878ddf1f | 261 | <xs:simpleType name="LibraryUsage">\r |
878ddf1f | 262 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 263 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
878ddf1f | 264 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
265 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
266 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
c12c6c7d | 267 | <xs:enumeration value="DEFAULT"/>\r |
268 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 269 | </xs:restriction>\r |
270 | </xs:simpleType>\r | |
271 | <xs:simpleType name="ModuleTypeDef">\r | |
878ddf1f | 272 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 273 | <xs:enumeration value="BASE"/>\r |
274 | <xs:enumeration value="SEC"/>\r | |
275 | <xs:enumeration value="PEI_CORE"/>\r | |
276 | <xs:enumeration value="PEIM"/>\r | |
277 | <xs:enumeration value="DXE_CORE"/>\r | |
278 | <xs:enumeration value="DXE_DRIVER"/>\r | |
279 | <xs:enumeration value="DXE_RUNTIME_DRIVER"/>\r | |
280 | <xs:enumeration value="DXE_SAL_DRIVER"/>\r | |
281 | <xs:enumeration value="DXE_SMM_DRIVER"/>\r | |
282 | <xs:enumeration value="TOOLS"/>\r | |
283 | <xs:enumeration value="UEFI_DRIVER"/>\r | |
284 | <xs:enumeration value="UEFI_APPLICATION"/>\r | |
285 | <xs:enumeration value="USER_DEFINED"/>\r | |
878ddf1f | 286 | </xs:restriction>\r |
287 | </xs:simpleType>\r | |
c12c6c7d | 288 | <xs:simpleType name="ModuleTypeList">\r |
289 | <xs:list itemType="FrameworkModuleTypes"/>\r | |
290 | </xs:simpleType>\r | |
878ddf1f | 291 | <xs:simpleType name="Module_Unified">\r |
878ddf1f | 292 | <xs:restriction base="UCNameType">\r |
293 | <xs:enumeration value="MODULE"/>\r | |
294 | <xs:enumeration value="UNIFIED"/>\r | |
295 | </xs:restriction>\r | |
296 | </xs:simpleType>\r | |
297 | <xs:simpleType name="PackageType">\r | |
878ddf1f | 298 | <xs:restriction base="UCNameType">\r |
299 | <xs:enumeration value="SOURCE"/>\r | |
300 | <xs:enumeration value="BINARY"/>\r | |
301 | <xs:enumeration value="MIXED"/>\r | |
302 | </xs:restriction>\r | |
303 | </xs:simpleType>\r | |
304 | <xs:simpleType name="PackageUsage">\r | |
878ddf1f | 305 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 306 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
307 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
308 | <xs:enumeration value="DEFAULT"/>\r | |
878ddf1f | 309 | </xs:restriction>\r |
310 | </xs:simpleType>\r | |
47d0b581 | 311 | <xs:simpleType name="PcdListType">\r |
312 | <xs:list itemType="PcdItemTypes"/>\r | |
313 | </xs:simpleType>\r | |
878ddf1f | 314 | <xs:simpleType name="PcdTypes">\r |
315 | <xs:restriction base="NameConvention">\r | |
c12c6c7d | 316 | <xs:enumeration value="FIXED_AT_BUILD"/>\r |
47d0b581 | 317 | <xs:enumeration value="FEATURE_FLAG"/>\r |
c12c6c7d | 318 | <xs:enumeration value="PATCHABLE_IN_MODULE"/>\r |
319 | <xs:enumeration value="DYNAMIC"/>\r | |
320 | <xs:enumeration value="DYNAMIC_EX"/>\r | |
878ddf1f | 321 | </xs:restriction>\r |
322 | </xs:simpleType>\r | |
f29b8a33 | 323 | <xs:simpleType name="PcdDriverTypes">\r |
324 | <xs:restriction base="NameConvention">\r | |
325 | <xs:enumeration value="PEI_PCD_DRIVER"/>\r | |
326 | <xs:enumeration value="DXE_PCD_DRIVER"/>\r | |
327 | </xs:restriction>\r | |
328 | </xs:simpleType>\r | |
878ddf1f | 329 | <xs:simpleType name="PcdDataTypes">\r |
330 | <xs:restriction base="xs:normalizedString">\r | |
331 | <xs:enumeration value="UINT8"/>\r | |
332 | <xs:enumeration value="UINT16"/>\r | |
333 | <xs:enumeration value="UINT32"/>\r | |
334 | <xs:enumeration value="UINT64"/>\r | |
335 | <xs:enumeration value="VOID*"/>\r | |
336 | <xs:enumeration value="BOOLEAN"/>\r | |
337 | </xs:restriction>\r | |
338 | </xs:simpleType>\r | |
339 | <xs:simpleType name="PcdFeatureFlagUsage">\r | |
878ddf1f | 340 | <xs:restriction base="UsageTypes">\r |
c12c6c7d | 341 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
342 | <xs:enumeration value="DEFAULT"/>\r | |
878ddf1f | 343 | </xs:restriction>\r |
344 | </xs:simpleType>\r | |
345 | <xs:simpleType name="PcdItemTypes">\r | |
346 | <xs:restriction base="NameConvention">\r | |
c12c6c7d | 347 | <xs:enumeration value="FEATURE_FLAG"/>\r |
348 | <xs:enumeration value="FIXED_AT_BUILD"/>\r | |
349 | <xs:enumeration value="PATCHABLE_IN_MODULE"/>\r | |
350 | <xs:enumeration value="DYNAMIC"/>\r | |
351 | <xs:enumeration value="DYNAMIC_EX"/>\r | |
878ddf1f | 352 | </xs:restriction>\r |
353 | </xs:simpleType>\r | |
354 | <xs:simpleType name="PcdUsage">\r | |
878ddf1f | 355 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 356 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
357 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
358 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
359 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
360 | <xs:enumeration value="DEFAULT"/>\r | |
878ddf1f | 361 | </xs:restriction>\r |
362 | </xs:simpleType>\r | |
363 | <xs:simpleType name="PpiNotifyUsage">\r | |
878ddf1f | 364 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 365 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
878ddf1f | 366 | </xs:restriction>\r |
367 | </xs:simpleType>\r | |
368 | <xs:simpleType name="PpiUsage">\r | |
878ddf1f | 369 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 370 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
371 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
372 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
373 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
374 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 375 | </xs:restriction>\r |
376 | </xs:simpleType>\r | |
377 | <xs:simpleType name="ProtocolNotifyUsage">\r | |
878ddf1f | 378 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 379 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
878ddf1f | 380 | </xs:restriction>\r |
381 | </xs:simpleType>\r | |
382 | <xs:simpleType name="ProtocolUsage">\r | |
878ddf1f | 383 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 384 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
385 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
386 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
387 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
388 | <xs:enumeration value="TO_START"/>\r | |
389 | <xs:enumeration value="BY_START"/>\r | |
390 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 391 | </xs:restriction>\r |
392 | </xs:simpleType>\r | |
e4ecc06e | 393 | <xs:simpleType name="SkuListType">\r |
394 | <xs:list itemType="HexByteDataType"/>\r | |
395 | </xs:simpleType>\r | |
878ddf1f | 396 | <xs:simpleType name="SupportedArchitectures">\r |
878ddf1f | 397 | <xs:restriction base="NameConvention">\r |
398 | <xs:enumeration value="ALL"/>\r | |
399 | <xs:enumeration value="EBC"/>\r | |
400 | <xs:enumeration value="ARM"/>\r | |
401 | <xs:enumeration value="IA32"/>\r | |
402 | <xs:enumeration value="X64"/>\r | |
403 | <xs:enumeration value="IPF"/>\r | |
404 | <xs:enumeration value="PPC"/>\r | |
405 | </xs:restriction>\r | |
406 | </xs:simpleType>\r | |
407 | <xs:simpleType name="SystemTableUsage">\r | |
878ddf1f | 408 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 409 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
410 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
411 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
412 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
413 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 414 | </xs:restriction>\r |
415 | </xs:simpleType>\r | |
416 | <xs:simpleType name="Token">\r | |
878ddf1f | 417 | <xs:union memberTypes="GuidArrayType GuidNamingConvention HexDoubleWordDataType"/>\r |
418 | </xs:simpleType>\r | |
419 | <xs:simpleType name="ToolChains">\r | |
878ddf1f | 420 | <xs:restriction base="UCNameType">\r |
421 | <xs:enumeration value="MSFT"/>\r | |
422 | <xs:enumeration value="INTEL"/>\r | |
423 | <xs:enumeration value="GCC"/>\r | |
424 | <xs:enumeration value="CYGWIN"/>\r | |
425 | </xs:restriction>\r | |
426 | </xs:simpleType>\r | |
427 | <xs:simpleType name="ToothPick">\r | |
878ddf1f | 428 | <xs:restriction base="xs:normalizedString">\r |
429 | <xs:enumeration value="UNIX"/>\r | |
430 | <xs:enumeration value="WINDOWS"/>\r | |
431 | </xs:restriction>\r | |
432 | </xs:simpleType>\r | |
c12c6c7d | 433 | <xs:simpleType name="UiNameType">\r |
434 | <xs:restriction base="xs:string">\r | |
435 | <xs:pattern value="(([a-zA-Z][a-zA-Z0-9]*)(_)*(.)*)+"/>\r | |
436 | </xs:restriction>\r | |
437 | </xs:simpleType>\r | |
878ddf1f | 438 | <xs:simpleType name="UnicodeString">\r |
878ddf1f | 439 | <xs:restriction base="xs:normalizedString">\r |
440 | <xs:pattern value="L(:)?(")(\w+)*((\W*)*(\s*)*(\w*)*)*(")"/>\r | |
441 | </xs:restriction>\r | |
442 | </xs:simpleType>\r | |
443 | <xs:simpleType name="UsageTypes">\r | |
878ddf1f | 444 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 445 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
446 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
447 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
448 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
449 | <xs:enumeration value="TO_START"/>\r | |
450 | <xs:enumeration value="BY_START"/>\r | |
451 | <xs:enumeration value="PRIVATE"/>\r | |
452 | <xs:enumeration value="DEFAULT"/>\r | |
878ddf1f | 453 | </xs:restriction>\r |
454 | </xs:simpleType>\r | |
455 | <xs:simpleType name="VariableOffsetValues">\r | |
878ddf1f | 456 | <xs:restriction base="xs:string">\r |
457 | <xs:pattern value="\d+(:)?\d*"/>\r | |
458 | </xs:restriction>\r | |
459 | </xs:simpleType>\r | |
460 | <xs:simpleType name="VariableUsage">\r | |
878ddf1f | 461 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 462 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
463 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
464 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
465 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
466 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 467 | </xs:restriction>\r |
468 | </xs:simpleType>\r | |
469 | <!-- Complex Data Types -->\r | |
470 | <xs:complexType name="ArgsType">\r | |
471 | <xs:sequence minOccurs="0" maxOccurs="unbounded">\r | |
472 | <xs:element name="Arg" type="xs:string"/>\r | |
473 | </xs:sequence>\r | |
474 | </xs:complexType>\r | |
475 | <xs:complexType name="ToolType">\r | |
878ddf1f | 476 | <xs:sequence>\r |
477 | <xs:element name="ToolName" type="xs:string"/>\r | |
478 | <xs:element name="ToolArgs" type="xs:string"/>\r | |
479 | </xs:sequence>\r | |
480 | </xs:complexType>\r | |
878ddf1f | 481 | </xs:schema>\r |