]>
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 | |
f0147869 | 50 | <xs:simpleType name="ModuleListType">\r |
51 | <xs:list itemType="FrameworkModuleTypes"/>\r | |
52 | </xs:simpleType> \r | |
53 | <xs:simpleType name="IntermediateOutputType">\r | |
54 | <xs:restriction base="UCNameType">\r | |
55 | <xs:enumeration value="MODULE"/>\r | |
56 | <xs:enumeration value="UNIFIED"/>\r | |
57 | </xs:restriction>\r | |
58 | </xs:simpleType> \r | |
2fdd0c7d | 59 | <xs:simpleType name="BuildTargets">\r |
60 | <xs:restriction base="xs:NCName">\r | |
61 | <xs:enumeration value="DEBUG"/>\r | |
62 | <xs:enumeration value="RELEASE"/>\r | |
63 | <xs:enumeration value="BOTH"/>\r | |
64 | </xs:restriction>\r | |
65 | </xs:simpleType>\r | |
f0147869 | 66 | <xs:simpleType name="BuildTargetList">\r |
67 | <xs:union memberTypes="UCNameType DEBUG RELEASE"/>\r | |
68 | </xs:simpleType>\r | |
69 | <xs:simpleType name="DEBUG">\r | |
70 | <xs:restriction base="UCNameType">\r | |
71 | <xs:pattern value="DEBUG"/>\r | |
72 | </xs:restriction>\r | |
73 | </xs:simpleType>\r | |
74 | <xs:simpleType name="RELEASE">\r | |
75 | <xs:restriction base="UCNameType">\r | |
76 | <xs:pattern value="RELEASE"/>\r | |
77 | </xs:restriction>\r | |
78 | </xs:simpleType> \r | |
878ddf1f | 79 | <xs:simpleType name="ComponentExecutionPhase">\r |
878ddf1f | 80 | <xs:restriction base="UCNameType">\r |
81 | <xs:enumeration value="MDE"/>\r | |
82 | <xs:enumeration value="SEC"/>\r | |
83 | <xs:enumeration value="PEI_CORE"/>\r | |
84 | <xs:enumeration value="PEIM"/>\r | |
85 | <xs:enumeration value="DXE_CORE"/>\r | |
86 | <xs:enumeration value="DXE_DRIVER"/>\r | |
87 | <xs:enumeration value="DXE_RUNTIME_DRIVER"/>\r | |
88 | <xs:enumeration value="DXE_SAL_DRIVER"/>\r | |
89 | <xs:enumeration value="DXE_SMM_DRIVER"/>\r | |
90 | <xs:enumeration value="UEFI"/>\r | |
91 | <xs:enumeration value="UEFI_APPLICATION"/>\r | |
92 | </xs:restriction>\r | |
93 | </xs:simpleType>\r | |
94 | <xs:simpleType name="ConditionalTarget">\r | |
878ddf1f | 95 | <xs:list itemType="C_Name"/>\r |
96 | </xs:simpleType>\r | |
97 | <xs:simpleType name="DataHubUsage">\r | |
878ddf1f | 98 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 99 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
100 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
101 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
102 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
103 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 104 | </xs:restriction>\r |
105 | </xs:simpleType>\r | |
106 | <xs:simpleType name="DateType">\r | |
878ddf1f | 107 | <xs:restriction base="xs:normalizedString">\r |
108 | <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 | |
109 | </xs:restriction>\r | |
110 | </xs:simpleType>\r | |
e4ecc06e | 111 | <xs:simpleType name="DatumSizeLimitation">\r |
112 | <xs:restriction base="xs:int">\r | |
113 | <xs:minInclusive value="1"/>\r | |
114 | <xs:maxInclusive value="16777215"/>\r | |
115 | </xs:restriction>\r | |
116 | </xs:simpleType>\r | |
878ddf1f | 117 | <xs:simpleType name="DefaultValue">\r |
878ddf1f | 118 | <xs:union memberTypes="xs:normalizedString xs:int UnicodeString"/>\r |
119 | </xs:simpleType>\r | |
120 | <xs:simpleType name="EfiSectionType">\r | |
121 | <xs:restriction base="UCNameType">\r | |
122 | <xs:enumeration value="EFI_SECTION_FREEFORM_SUBTYPE_GUID"/>\r | |
123 | <xs:enumeration value="EFI_SECTION_VERSION"/>\r | |
124 | <xs:enumeration value="EFI_SECTION_USER_INTERFACE"/>\r | |
125 | <xs:enumeration value="EFI_SECTION_DXE_DEPEX"/>\r | |
126 | <xs:enumeration value="EFI_SECTION_PEI_DEPEX"/>\r | |
127 | <xs:enumeration value="EFI_SECTION_PE32"/>\r | |
128 | <xs:enumeration value="EFI_SECTION_PIC"/>\r | |
129 | <xs:enumeration value="EFI_SECTION_TE"/>\r | |
130 | <xs:enumeration value="EFI_SECTION_RAW"/>\r | |
131 | <xs:enumeration value="EFI_SECTION_COMPRESSION"/>\r | |
132 | <xs:enumeration value="EFI_SECTION_GUID_DEFINED"/>\r | |
133 | <xs:enumeration value="EFI_SECTION_COMPATIBILITY16"/>\r | |
134 | <xs:enumeration value="EFI_SECTION_FIRMWARE_VOLUME_IMAGE"/>\r | |
135 | </xs:restriction>\r | |
136 | </xs:simpleType>\r | |
137 | <xs:simpleType name="EventTypes">\r | |
878ddf1f | 138 | <xs:restriction base="NameConvention">\r |
139 | <xs:enumeration value="EVENT_GROUP_EXIT_BOOT_SERVICES"/>\r | |
140 | <xs:enumeration value="EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE"/>\r | |
141 | <xs:enumeration value="EVENT_GROUP_MEMORY_MAP_CHANGE"/>\r | |
142 | <xs:enumeration value="EVENT_GROUP_READY_TO_BOOT"/>\r | |
143 | <xs:enumeration value="EVENT_GROUP_LEGACY_BOOT"/>\r | |
144 | </xs:restriction>\r | |
145 | </xs:simpleType>\r | |
146 | <xs:simpleType name="EventUsage">\r | |
878ddf1f | 147 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 148 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
149 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
150 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
151 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
152 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 153 | </xs:restriction>\r |
154 | </xs:simpleType>\r | |
155 | <xs:simpleType name="ExecutionType">\r | |
878ddf1f | 156 | <xs:restriction base="UCNameType">\r |
157 | <xs:enumeration value="REL" id="Relocatable"/>\r | |
158 | <xs:enumeration value="NREL" id="Non-Relocatable"/>\r | |
159 | <xs:enumeration value="XIP" id="Execute_In_Place"/>\r | |
160 | <xs:enumeration value="PIC" id="Position_Independent_Code"/>\r | |
161 | </xs:restriction>\r | |
162 | </xs:simpleType>\r | |
163 | <xs:simpleType name="ExternType">\r | |
878ddf1f | 164 | <xs:restriction base="xs:string">\r |
165 | <xs:pattern value="(_*\w*\W*)*"/>\r | |
166 | </xs:restriction>\r | |
167 | </xs:simpleType>\r | |
168 | <xs:simpleType name="ExternUsage">\r | |
878ddf1f | 169 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 170 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
171 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
878ddf1f | 172 | </xs:restriction>\r |
173 | </xs:simpleType>\r | |
174 | <xs:simpleType name="FileNameUsage">\r | |
878ddf1f | 175 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 176 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
177 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
178 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
179 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
180 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 181 | </xs:restriction>\r |
182 | </xs:simpleType>\r | |
183 | <xs:simpleType name="FormSetUsage">\r | |
878ddf1f | 184 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 185 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
186 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
187 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 188 | </xs:restriction>\r |
189 | </xs:simpleType>\r | |
190 | <xs:simpleType name="FrameworkComponentTypes">\r | |
878ddf1f | 191 | <xs:restriction base="UCNameType">\r |
192 | <xs:enumeration value="APRIORI"/>\r | |
193 | <xs:enumeration value="SEC"/>\r | |
194 | <xs:enumeration value="LIBRARY"/>\r | |
195 | <xs:enumeration value="FV_IMAGE_FILE"/>\r | |
196 | <xs:enumeration value="BS_DRIVER"/>\r | |
197 | <xs:enumeration value="RT_DRIVER"/>\r | |
198 | <xs:enumeration value="SAL_RT_DRIVER"/>\r | |
199 | <xs:enumeration value="PE32_PEIM"/>\r | |
200 | <xs:enumeration value="PIC_PEIM"/>\r | |
201 | <xs:enumeration value="COMBINED_PEIM_DRIVER"/>\r | |
202 | <xs:enumeration value="PEI_CORE"/>\r | |
203 | <xs:enumeration value="DXE_CORE"/>\r | |
204 | <xs:enumeration value="APPLICATION"/>\r | |
205 | <xs:enumeration value="BS_DRIVER_EFI"/>\r | |
206 | <xs:enumeration value="SHELLAPP"/>\r | |
878ddf1f | 207 | <xs:enumeration value="UEFI_APPLICATION"/>\r |
208 | <xs:enumeration value="BINARY"/>\r | |
209 | <xs:enumeration value="LOGO"/>\r | |
210 | <xs:enumeration value="CUSTOM_BUILD"/>\r | |
211 | </xs:restriction>\r | |
212 | </xs:simpleType>\r | |
c12c6c7d | 213 | <xs:simpleType name="FrameworkModuleTypes">\r |
214 | <xs:restriction base="ModuleTypeDef">\r | |
215 | <xs:enumeration value="BASE"/>\r | |
216 | <xs:enumeration value="SEC"/>\r | |
217 | <xs:enumeration value="PEI_CORE"/>\r | |
218 | <xs:enumeration value="PEIM"/>\r | |
219 | <xs:enumeration value="DXE_CORE"/>\r | |
220 | <xs:enumeration value="DXE_DRIVER"/>\r | |
221 | <xs:enumeration value="DXE_RUNTIME_DRIVER"/>\r | |
222 | <xs:enumeration value="DXE_SAL_DRIVER"/>\r | |
223 | <xs:enumeration value="DXE_SMM_DRIVER"/>\r | |
224 | <xs:enumeration value="UEFI_DRIVER"/>\r | |
225 | <xs:enumeration value="UEFI_APPLICATION"/>\r | |
226 | <xs:enumeration value="USER_DEFINED"/>\r | |
227 | </xs:restriction>\r | |
228 | </xs:simpleType>\r | |
878ddf1f | 229 | <xs:simpleType name="FvRegionTypes">\r |
878ddf1f | 230 | <xs:restriction base="UCNameType">\r |
231 | <xs:enumeration value="FV_MAIN"/>\r | |
232 | <xs:enumeration value="FV_MAIN_COMPACT"/>\r | |
233 | <xs:enumeration value="NV_STORAGE"/>\r | |
234 | <xs:enumeration value="FV_RECOVERY"/>\r | |
235 | <xs:enumeration value="FV_RECOVERY_FLOPPY"/>\r | |
236 | <xs:enumeration value="FV_FILE"/>\r | |
237 | <xs:enumeration value="CAPSULE_CARGO"/>\r | |
238 | <xs:enumeration value="NULL"/>\r | |
239 | <xs:enumeration value="USER_DEFINED"/>\r | |
240 | </xs:restriction>\r | |
241 | </xs:simpleType>\r | |
716b2371 | 242 | <xs:simpleType name="GuidTypes">\r |
243 | <xs:restriction base="UCNameType">\r | |
244 | <xs:enumeration value="DATA_HUB_RECORD"/>\r | |
245 | <xs:enumeration value="EFI_EVENT"/>\r | |
246 | <xs:enumeration value="EFI_SYSTEM_CONFIGURATION_TABLE"/>\r | |
247 | <xs:enumeration value="EFI_VARIABLE"/>\r | |
248 | <xs:enumeration value="HII_PACKAGE_LIST"/>\r | |
249 | <xs:enumeration value="HOB"/>\r | |
250 | </xs:restriction>\r | |
251 | </xs:simpleType>\r | |
252 | <xs:simpleType name="GuidListType">\r | |
5c5b4899 | 253 | <xs:list itemType="GuidTypes"/>\r |
716b2371 | 254 | </xs:simpleType>\r |
878ddf1f | 255 | <xs:simpleType name="GuidUsage">\r |
878ddf1f | 256 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 257 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
258 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
259 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
260 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
261 | <xs:enumeration value="DEFAULT"/>\r | |
262 | <xs:enumeration value="PRIVATE"/>\r | |
263 | </xs:restriction>\r | |
264 | </xs:simpleType>\r | |
401693ff | 265 | <xs:simpleType name="HexWordArrayType">\r |
266 | <xs:restriction base="xs:normalizedString">\r | |
267 | <xs:pattern value="((( )?0x[a-fA-F0-9]{4})(,)?)+( )?"/>\r | |
268 | </xs:restriction>\r | |
269 | </xs:simpleType>\r | |
c12c6c7d | 270 | <xs:simpleType name="HiiPackageUsage">\r |
271 | <xs:restriction base="NameConvention">\r | |
272 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
273 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
274 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 275 | </xs:restriction>\r |
276 | </xs:simpleType>\r | |
277 | <xs:simpleType name="HobTypes">\r | |
878ddf1f | 278 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 279 | <xs:enumeration value="PHIT"/>\r |
280 | <xs:enumeration value="MEMORY_ALLOCATION"/>\r | |
281 | <xs:enumeration value="RESOURCE_DESCRIPTOR"/>\r | |
282 | <xs:enumeration value="GUID_EXTENSION"/>\r | |
283 | <xs:enumeration value="FIRMWARE_VOLUME"/>\r | |
284 | <xs:enumeration value="CPU"/>\r | |
285 | <xs:enumeration value="POOL"/>\r | |
286 | <xs:enumeration value="CAPSULE_VOLUME"/>\r | |
878ddf1f | 287 | </xs:restriction>\r |
288 | </xs:simpleType>\r | |
289 | <xs:simpleType name="HobUsage">\r | |
878ddf1f | 290 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 291 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
292 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
293 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
294 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
295 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 296 | </xs:restriction>\r |
297 | </xs:simpleType>\r | |
c12c6c7d | 298 | <xs:simpleType name="IntList">\r |
299 | <xs:list itemType="xs:positiveInteger"/>\r | |
300 | </xs:simpleType>\r | |
878ddf1f | 301 | <xs:simpleType name="LibraryUsage">\r |
878ddf1f | 302 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 303 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
878ddf1f | 304 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
305 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
306 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
c12c6c7d | 307 | <xs:enumeration value="DEFAULT"/>\r |
308 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 309 | </xs:restriction>\r |
310 | </xs:simpleType>\r | |
311 | <xs:simpleType name="ModuleTypeDef">\r | |
878ddf1f | 312 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 313 | <xs:enumeration value="BASE"/>\r |
314 | <xs:enumeration value="SEC"/>\r | |
315 | <xs:enumeration value="PEI_CORE"/>\r | |
316 | <xs:enumeration value="PEIM"/>\r | |
317 | <xs:enumeration value="DXE_CORE"/>\r | |
318 | <xs:enumeration value="DXE_DRIVER"/>\r | |
319 | <xs:enumeration value="DXE_RUNTIME_DRIVER"/>\r | |
320 | <xs:enumeration value="DXE_SAL_DRIVER"/>\r | |
321 | <xs:enumeration value="DXE_SMM_DRIVER"/>\r | |
322 | <xs:enumeration value="TOOLS"/>\r | |
323 | <xs:enumeration value="UEFI_DRIVER"/>\r | |
324 | <xs:enumeration value="UEFI_APPLICATION"/>\r | |
325 | <xs:enumeration value="USER_DEFINED"/>\r | |
878ddf1f | 326 | </xs:restriction>\r |
327 | </xs:simpleType>\r | |
c12c6c7d | 328 | <xs:simpleType name="ModuleTypeList">\r |
329 | <xs:list itemType="FrameworkModuleTypes"/>\r | |
330 | </xs:simpleType>\r | |
878ddf1f | 331 | <xs:simpleType name="Module_Unified">\r |
878ddf1f | 332 | <xs:restriction base="UCNameType">\r |
333 | <xs:enumeration value="MODULE"/>\r | |
334 | <xs:enumeration value="UNIFIED"/>\r | |
335 | </xs:restriction>\r | |
336 | </xs:simpleType>\r | |
337 | <xs:simpleType name="PackageType">\r | |
878ddf1f | 338 | <xs:restriction base="UCNameType">\r |
339 | <xs:enumeration value="SOURCE"/>\r | |
340 | <xs:enumeration value="BINARY"/>\r | |
341 | <xs:enumeration value="MIXED"/>\r | |
342 | </xs:restriction>\r | |
343 | </xs:simpleType>\r | |
344 | <xs:simpleType name="PackageUsage">\r | |
878ddf1f | 345 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 346 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
347 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
348 | <xs:enumeration value="DEFAULT"/>\r | |
878ddf1f | 349 | </xs:restriction>\r |
350 | </xs:simpleType>\r | |
47d0b581 | 351 | <xs:simpleType name="PcdListType">\r |
352 | <xs:list itemType="PcdItemTypes"/>\r | |
353 | </xs:simpleType>\r | |
878ddf1f | 354 | <xs:simpleType name="PcdTypes">\r |
355 | <xs:restriction base="NameConvention">\r | |
c12c6c7d | 356 | <xs:enumeration value="FIXED_AT_BUILD"/>\r |
47d0b581 | 357 | <xs:enumeration value="FEATURE_FLAG"/>\r |
c12c6c7d | 358 | <xs:enumeration value="PATCHABLE_IN_MODULE"/>\r |
359 | <xs:enumeration value="DYNAMIC"/>\r | |
360 | <xs:enumeration value="DYNAMIC_EX"/>\r | |
878ddf1f | 361 | </xs:restriction>\r |
362 | </xs:simpleType>\r | |
f29b8a33 | 363 | <xs:simpleType name="PcdDriverTypes">\r |
364 | <xs:restriction base="NameConvention">\r | |
365 | <xs:enumeration value="PEI_PCD_DRIVER"/>\r | |
366 | <xs:enumeration value="DXE_PCD_DRIVER"/>\r | |
367 | </xs:restriction>\r | |
368 | </xs:simpleType>\r | |
878ddf1f | 369 | <xs:simpleType name="PcdDataTypes">\r |
370 | <xs:restriction base="xs:normalizedString">\r | |
371 | <xs:enumeration value="UINT8"/>\r | |
372 | <xs:enumeration value="UINT16"/>\r | |
373 | <xs:enumeration value="UINT32"/>\r | |
374 | <xs:enumeration value="UINT64"/>\r | |
375 | <xs:enumeration value="VOID*"/>\r | |
376 | <xs:enumeration value="BOOLEAN"/>\r | |
377 | </xs:restriction>\r | |
378 | </xs:simpleType>\r | |
379 | <xs:simpleType name="PcdFeatureFlagUsage">\r | |
878ddf1f | 380 | <xs:restriction base="UsageTypes">\r |
c12c6c7d | 381 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r |
382 | <xs:enumeration value="DEFAULT"/>\r | |
878ddf1f | 383 | </xs:restriction>\r |
384 | </xs:simpleType>\r | |
385 | <xs:simpleType name="PcdItemTypes">\r | |
386 | <xs:restriction base="NameConvention">\r | |
c12c6c7d | 387 | <xs:enumeration value="FEATURE_FLAG"/>\r |
388 | <xs:enumeration value="FIXED_AT_BUILD"/>\r | |
389 | <xs:enumeration value="PATCHABLE_IN_MODULE"/>\r | |
390 | <xs:enumeration value="DYNAMIC"/>\r | |
391 | <xs:enumeration value="DYNAMIC_EX"/>\r | |
878ddf1f | 392 | </xs:restriction>\r |
393 | </xs:simpleType>\r | |
394 | <xs:simpleType name="PcdUsage">\r | |
878ddf1f | 395 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 396 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
397 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
398 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
399 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
400 | <xs:enumeration value="DEFAULT"/>\r | |
878ddf1f | 401 | </xs:restriction>\r |
402 | </xs:simpleType>\r | |
403 | <xs:simpleType name="PpiNotifyUsage">\r | |
878ddf1f | 404 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 405 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
878ddf1f | 406 | </xs:restriction>\r |
407 | </xs:simpleType>\r | |
408 | <xs:simpleType name="PpiUsage">\r | |
878ddf1f | 409 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 410 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
411 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
412 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
413 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
414 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 415 | </xs:restriction>\r |
416 | </xs:simpleType>\r | |
417 | <xs:simpleType name="ProtocolNotifyUsage">\r | |
878ddf1f | 418 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 419 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r |
878ddf1f | 420 | </xs:restriction>\r |
421 | </xs:simpleType>\r | |
422 | <xs:simpleType name="ProtocolUsage">\r | |
878ddf1f | 423 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 424 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
425 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
426 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
427 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
428 | <xs:enumeration value="TO_START"/>\r | |
429 | <xs:enumeration value="BY_START"/>\r | |
430 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 431 | </xs:restriction>\r |
432 | </xs:simpleType>\r | |
e4ecc06e | 433 | <xs:simpleType name="SkuListType">\r |
434 | <xs:list itemType="HexByteDataType"/>\r | |
435 | </xs:simpleType>\r | |
878ddf1f | 436 | <xs:simpleType name="SupportedArchitectures">\r |
878ddf1f | 437 | <xs:restriction base="NameConvention">\r |
438 | <xs:enumeration value="ALL"/>\r | |
439 | <xs:enumeration value="EBC"/>\r | |
440 | <xs:enumeration value="ARM"/>\r | |
441 | <xs:enumeration value="IA32"/>\r | |
442 | <xs:enumeration value="X64"/>\r | |
443 | <xs:enumeration value="IPF"/>\r | |
444 | <xs:enumeration value="PPC"/>\r | |
445 | </xs:restriction>\r | |
446 | </xs:simpleType>\r | |
447 | <xs:simpleType name="SystemTableUsage">\r | |
878ddf1f | 448 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 449 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
450 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
451 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
452 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
453 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 454 | </xs:restriction>\r |
455 | </xs:simpleType>\r | |
456 | <xs:simpleType name="Token">\r | |
878ddf1f | 457 | <xs:union memberTypes="GuidArrayType GuidNamingConvention HexDoubleWordDataType"/>\r |
458 | </xs:simpleType>\r | |
2bf4e0a1 | 459 | <!-- TokenDataType is xs:nonNegativeInteger in final -->\r |
460 | <xs:simpleType name="TokenDataType">\r | |
461 | <xs:union memberTypes="HexDoubleWordDataType xs:nonNegativeInteger"/>\r | |
462 | </xs:simpleType>\r | |
878ddf1f | 463 | <xs:simpleType name="ToolChains">\r |
878ddf1f | 464 | <xs:restriction base="UCNameType">\r |
465 | <xs:enumeration value="MSFT"/>\r | |
466 | <xs:enumeration value="INTEL"/>\r | |
467 | <xs:enumeration value="GCC"/>\r | |
468 | <xs:enumeration value="CYGWIN"/>\r | |
469 | </xs:restriction>\r | |
470 | </xs:simpleType>\r | |
471 | <xs:simpleType name="ToothPick">\r | |
878ddf1f | 472 | <xs:restriction base="xs:normalizedString">\r |
473 | <xs:enumeration value="UNIX"/>\r | |
474 | <xs:enumeration value="WINDOWS"/>\r | |
475 | </xs:restriction>\r | |
476 | </xs:simpleType>\r | |
c12c6c7d | 477 | <xs:simpleType name="UiNameType">\r |
478 | <xs:restriction base="xs:string">\r | |
479 | <xs:pattern value="(([a-zA-Z][a-zA-Z0-9]*)(_)*(.)*)+"/>\r | |
480 | </xs:restriction>\r | |
481 | </xs:simpleType>\r | |
878ddf1f | 482 | <xs:simpleType name="UnicodeString">\r |
878ddf1f | 483 | <xs:restriction base="xs:normalizedString">\r |
484 | <xs:pattern value="L(:)?(")(\w+)*((\W*)*(\s*)*(\w*)*)*(")"/>\r | |
485 | </xs:restriction>\r | |
486 | </xs:simpleType>\r | |
5c5b4899 | 487 | <xs:simpleType name="VariableNameDataType">\r |
401693ff | 488 | <xs:list itemType="HexWordArrayType"/>\r |
5c5b4899 | 489 | </xs:simpleType>\r |
878ddf1f | 490 | <xs:simpleType name="UsageTypes">\r |
878ddf1f | 491 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 492 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
493 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
494 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
495 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
496 | <xs:enumeration value="TO_START"/>\r | |
497 | <xs:enumeration value="BY_START"/>\r | |
498 | <xs:enumeration value="PRIVATE"/>\r | |
499 | <xs:enumeration value="DEFAULT"/>\r | |
878ddf1f | 500 | </xs:restriction>\r |
501 | </xs:simpleType>\r | |
502 | <xs:simpleType name="VariableOffsetValues">\r | |
878ddf1f | 503 | <xs:restriction base="xs:string">\r |
504 | <xs:pattern value="\d+(:)?\d*"/>\r | |
505 | </xs:restriction>\r | |
506 | </xs:simpleType>\r | |
507 | <xs:simpleType name="VariableUsage">\r | |
878ddf1f | 508 | <xs:restriction base="NameConvention">\r |
c12c6c7d | 509 | <xs:enumeration value="ALWAYS_CONSUMED"/>\r |
510 | <xs:enumeration value="SOMETIMES_CONSUMED"/>\r | |
511 | <xs:enumeration value="ALWAYS_PRODUCED"/>\r | |
512 | <xs:enumeration value="SOMETIMES_PRODUCED"/>\r | |
513 | <xs:enumeration value="PRIVATE"/>\r | |
878ddf1f | 514 | </xs:restriction>\r |
515 | </xs:simpleType>\r | |
516 | <!-- Complex Data Types -->\r | |
517 | <xs:complexType name="ArgsType">\r | |
518 | <xs:sequence minOccurs="0" maxOccurs="unbounded">\r | |
519 | <xs:element name="Arg" type="xs:string"/>\r | |
520 | </xs:sequence>\r | |
521 | </xs:complexType>\r | |
522 | <xs:complexType name="ToolType">\r | |
878ddf1f | 523 | <xs:sequence>\r |
524 | <xs:element name="ToolName" type="xs:string"/>\r | |
525 | <xs:element name="ToolArgs" type="xs:string"/>\r | |
526 | </xs:sequence>\r | |
527 | </xs:complexType>\r | |
f0147869 | 528 | <xs:simpleType name="FfsNameType">\r |
529 | <xs:annotation>\r | |
530 | <xs:documentation xml:lang="en"> This defines what an FFS Name can consist of.</xs:documentation>\r | |
531 | </xs:annotation>\r | |
532 | <xs:restriction base="xs:string">\r | |
533 | <xs:pattern value="[a-zA-Z][_\-a-zA-Z0-9]*(.)?[a-zA-Z0-9]*"/>\r | |
534 | </xs:restriction>\r | |
87c6a4af | 535 | </xs:simpleType>\r |
536 | <xs:simpleType name="FeatureFlagExpressionType">\r | |
537 | <xs:restriction base="xs:normalizedString">\r | |
538 | <xs:pattern value="(\w*\W*)*"/>\r | |
539 | </xs:restriction>\r | |
f0147869 | 540 | </xs:simpleType> \r |
878ddf1f | 541 | </xs:schema>\r |