Get the underscore typed in correctly.
[mirror_edk2.git] / Tools / XMLSchema / FrameworkDataElements.xsd
CommitLineData
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: FrameworkDataElements.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
16 <xs:documentation xml:lang="en"> This schema defines EFI and Framework Data Elements </xs:documentation>\r
17 </xs:annotation>\r
18 <xs:include schemaLocation="NamingConvention.xsd"/>\r
19 <xs:include schemaLocation="FrameworkDataTypes.xsd"/>\r
20 <xs:element name="Abstract">\r
21 <xs:annotation>\r
22 <xs:documentation xml:lang="en">Abstract is valid for all Description Files</xs:documentation>\r
23 <xs:documentation xml:lang="en">This section is required. This is a single sentence to describe the module and will be used in sample files as the abstract data in the header comment section.</xs:documentation>\r
24 </xs:annotation>\r
25 <xs:complexType>\r
26 <xs:simpleContent>\r
27 <xs:extension base="Sentence">\r
28 <xs:attribute name="URL" type="xs:anyURI"/>\r
29 </xs:extension>\r
30 </xs:simpleContent>\r
31 </xs:complexType>\r
32 </xs:element>\r
33 <xs:element name="AntCmd">\r
34 <xs:annotation>\r
35 <xs:documentation xml:lang="en">This is a sub-element of AntTask</xs:documentation>\r
36 <xs:documentation xml:lang="en">This is an ant command that will be inserted into a biuld sequence. Since ant commands are valid XML statements, special care must be taken to use the correct tokens for reserved words and escape quote characters.</xs:documentation>\r
37 </xs:annotation>\r
38 <xs:complexType>\r
39 <xs:sequence>\r
40 <xs:element minOccurs="0" name="Id" type="xs:int"/>\r
41 <xs:element name="ExecutionOrder">\r
42 <xs:simpleType>\r
43 <xs:list itemType="xs:normalizedString"/>\r
44 </xs:simpleType>\r
45 </xs:element>\r
46 </xs:sequence>\r
47 <xs:attributeGroup ref="SectionAttributes"/>\r
48 </xs:complexType>\r
49 </xs:element>\r
50 <xs:element name="AntTask">\r
51 <xs:annotation>\r
52 <xs:documentation xml:lang="en">This is a sub-element of UserDefinedAntTasks</xs:documentation>\r
53 <xs:documentation xml:lang="en">Define a file that contains one or more ant tasks that are to be added into or replacing of sequences of build steps. These files will be called using the ant-call task on a file name. These files must be valid apache-ant formatted task files.</xs:documentation>\r
54 </xs:annotation>\r
55 <xs:complexType>\r
56 <xs:choice>\r
57 <xs:element ref="AntCmd"/>\r
58 <xs:element ref="Filename"/>\r
59 </xs:choice>\r
60 <xs:attribute name="Id" type="xs:int" use="required"/>\r
61 </xs:complexType>\r
62 </xs:element>\r
63 <xs:element name="BaseName">\r
64 <xs:annotation>\r
65 <xs:documentation xml:lang="en">BaseName is valid for all Description Files</xs:documentation>\r
66 <xs:documentation xml:lang="en"> We need to be able to permit different attributes for every basename </xs:documentation>\r
67 </xs:annotation>\r
68 <xs:complexType>\r
69 <xs:simpleContent>\r
70 <xs:extension base="BaseNameConvention">\r
71 <xs:attributeGroup ref="BaseNameAttributes"/>\r
72 </xs:extension>\r
73 </xs:simpleContent>\r
74 </xs:complexType>\r
75 </xs:element>\r
76 <xs:element name="BootModes">\r
77 <xs:annotation>\r
78 <xs:documentation xml:lang="en">BootModes is valid for all Description Files</xs:documentation>\r
79 <xs:documentation xml:lang="en">This is a list of BootModes Supported by the Module</xs:documentation>\r
80 </xs:annotation>\r
81 <xs:complexType>\r
82 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
83 <xs:element name="BootMode">\r
84 <xs:complexType>\r
85 <xs:attributeGroup ref="BootModeAttributes"/>\r
86 </xs:complexType>\r
87 </xs:element>\r
88 </xs:sequence>\r
89 </xs:complexType>\r
90 </xs:element>\r
91 <xs:element name="BuildOptions">\r
92 <xs:annotation>\r
93 <xs:documentation xml:lang="en">BuildOptions is valid for MBD and FPD files.</xs:documentation>\r
94 <xs:documentation xml:lang="en">Specific Build Options, by Tool Chain, than should be applied, overriding any global options</xs:documentation>\r
95 </xs:annotation>\r
96 <xs:complexType>\r
97 <xs:sequence>\r
98 <xs:element minOccurs="0" maxOccurs="1" ref="UserDefinedAntTasks"/>\r
99 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ImageEntryPoint"/>\r
100 <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>\r
101 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Ffs"/>\r
102 <xs:element minOccurs="0" maxOccurs="1" ref="Sections"/>\r
103 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Filenames"/>\r
104 <xs:sequence minOccurs="0">\r
105 <xs:element minOccurs="0" maxOccurs="unbounded" name="Option">\r
106 <xs:complexType>\r
107 <xs:simpleContent>\r
108 <xs:extension base="xs:normalizedString">\r
109 <xs:attributeGroup ref="OptionAttributes"/>\r
110 </xs:extension>\r
111 </xs:simpleContent>\r
112 </xs:complexType>\r
113 </xs:element>\r
114 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
115 <xs:complexType>\r
116 <xs:sequence minOccurs="1">\r
117 <xs:element maxOccurs="unbounded" name="Option">\r
118 <xs:complexType>\r
119 <xs:simpleContent>\r
120 <xs:extension base="xs:normalizedString">\r
121 <xs:attributeGroup ref="OptionAttributes"/>\r
122 </xs:extension>\r
123 </xs:simpleContent>\r
124 </xs:complexType>\r
125 </xs:element>\r
126 </xs:sequence>\r
127 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
128 </xs:complexType>\r
129 </xs:element>\r
130 </xs:sequence>\r
131 </xs:sequence>\r
132 <xs:attribute name="ToolChain" type="ToolChains"/>\r
133 </xs:complexType>\r
134 </xs:element>\r
135 <xs:element name="C_Name" type="C_Name">\r
136 <xs:annotation>\r
137 <xs:documentation xml:lang="en">C_Name is valid for all Description Files</xs:documentation>\r
138 </xs:annotation>\r
139 </xs:element>\r
140 <xs:element name="ComponentName" type="C_Name">\r
141 <xs:annotation>\r
142 <xs:documentation xml:lang="en">ComponentName is valid for all Description Files</xs:documentation>\r
143 </xs:annotation>\r
144 </xs:element>\r
145 <xs:element name="ComponentType" type="FrameworkComponentTypes">\r
146 <xs:annotation>\r
147 <xs:documentation xml:lang="en">Describe the valid Framework Component Type</xs:documentation>\r
148 </xs:annotation>\r
149 </xs:element>\r
150 <xs:element name="Condition">\r
151 <xs:annotation>\r
152 <xs:documentation xml:lang="en">A conditional expression that must be evaluated to determine whether a feature is implemented or not. The expression must be either numeric, string or boolean.</xs:documentation>\r
153 </xs:annotation>\r
154 <xs:complexType mixed="true">\r
155 <xs:sequence minOccurs="0" maxOccurs="1">\r
156 <xs:element minOccurs="0" maxOccurs="1" name="Condition" type="xs:normalizedString"/>\r
157 </xs:sequence>\r
158 <xs:attribute name="ConditionalTarget" type="ConditionalTarget" use="optional"/>\r
159 </xs:complexType>\r
160 </xs:element>\r
161 <xs:element name="ConditionalExpression">\r
162 <xs:annotation>\r
163 <xs:documentation xml:lang="en">A conditional expression that must be evaluated to determine whether a feature is implemented or not. The expression must be either numeric, string or boolean.</xs:documentation>\r
164 </xs:annotation>\r
165 <xs:complexType>\r
166 <xs:sequence>\r
167 <xs:element minOccurs="1" maxOccurs="unbounded" name="Condition" type="xs:normalizedString"/>\r
168 </xs:sequence>\r
169 <xs:attribute name="ConditionalTarget" type="ConditionalTarget" use="optional"/>\r
170 </xs:complexType>\r
171 </xs:element>\r
172 <xs:element name="Constructor" type="C_Name"/>\r
173 <xs:element name="Copyright" type="Sentence"/>\r
174 <xs:element name="Created" type="DateType"/>\r
175 <xs:element name="CreatedBy" type="UserName"/>\r
176 <xs:element name="DataHubs">\r
177 <xs:annotation>\r
178 <xs:documentation xml:lang="en">This is a list of DataHubRecord elements.</xs:documentation>\r
179 </xs:annotation>\r
180 <xs:complexType>\r
181 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
182 <xs:element name="DataHubRecord">\r
183 <xs:complexType>\r
184 <xs:simpleContent>\r
185 <xs:extension base="xs:normalizedString">\r
186 <xs:attributeGroup ref="DataHubAttributes"/>\r
187 </xs:extension>\r
188 </xs:simpleContent>\r
189 </xs:complexType>\r
190 </xs:element>\r
191 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
192 <xs:complexType>\r
193 <xs:sequence>\r
194 <xs:element name="DataHubRecord">\r
195 <xs:complexType>\r
196 <xs:simpleContent>\r
197 <xs:extension base="xs:normalizedString">\r
198 <xs:attributeGroup ref="DataHubAttributes"/>\r
199 </xs:extension>\r
200 </xs:simpleContent>\r
201 </xs:complexType>\r
202 </xs:element>\r
203 </xs:sequence>\r
204 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
205 </xs:complexType>\r
206 </xs:element>\r
207 </xs:sequence>\r
208 </xs:complexType>\r
209 </xs:element>\r
210 <xs:element name="DatabaseName">\r
211 <xs:annotation>\r
212 <xs:documentation xml:lang="en">The Name of the Database, "FrameworkDatabase"</xs:documentation>\r
213 </xs:annotation>\r
214 <xs:complexType>\r
215 <xs:simpleContent>\r
216 <xs:extension base="BaseNameConvention">\r
217 <xs:attributeGroup ref="BaseNameAttributes"/>\r
218 </xs:extension>\r
219 </xs:simpleContent>\r
220 </xs:complexType>\r
221 </xs:element>\r
222 <xs:element name="DefaultValue">\r
223 <xs:annotation>\r
224 <xs:documentation xml:lang="en">The default setting of a PCD entry.</xs:documentation>\r
225 </xs:annotation>\r
226 <xs:complexType>\r
227 <xs:simpleContent>\r
228 <xs:extension base="xs:normalizedString"/>\r
229 </xs:simpleContent>\r
230 </xs:complexType>\r
231 </xs:element>\r
232 <xs:element name="Description" type="Paragraph">\r
233 <xs:annotation>\r
234 <xs:documentation xml:lang="en">This section is required for new modules and libraries and must contain more information than the Abstract.</xs:documentation>\r
235 </xs:annotation>\r
236 </xs:element>\r
237 <xs:element name="Destructor" type="C_Name"/>\r
238 <xs:element name="DriverBinding" type="C_Name"/>\r
239 <xs:element name="DriverConfig" type="C_Name"/>\r
240 <xs:element name="DriverDiag" type="C_Name"/>\r
241 <xs:element name="E-Mail" type="E-Mail"/>\r
242 <xs:element name="Events">\r
243 <xs:annotation>\r
244 <xs:documentation xml:lang="en">This is a list of Events</xs:documentation>\r
245 </xs:annotation>\r
246 <xs:complexType>\r
247 <xs:sequence>\r
248 <xs:element minOccurs="0" maxOccurs="1" name="CreateEvents">\r
249 <xs:complexType>\r
250 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
251 <xs:element name="Event">\r
252 <xs:complexType>\r
253 <xs:sequence>\r
254 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
255 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
256 </xs:sequence>\r
257 <xs:attributeGroup ref="EventAttributes"/>\r
258 </xs:complexType>\r
259 </xs:element>\r
260 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
261 <xs:complexType>\r
262 <xs:sequence>\r
263 <xs:element name="Event">\r
264 <xs:complexType>\r
265 <xs:sequence>\r
266 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
267 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
268 </xs:sequence>\r
269 <xs:attributeGroup ref="EventAttributes"/>\r
270 </xs:complexType>\r
271 </xs:element>\r
272 </xs:sequence>\r
273 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
274 </xs:complexType>\r
275 </xs:element>\r
276 </xs:sequence>\r
277 </xs:complexType>\r
278 </xs:element>\r
279 <xs:element minOccurs="0" maxOccurs="1" name="SignalEvents">\r
280 <xs:annotation>\r
281 <xs:documentation xml:lang="en">Module has an event that is waiting to be signaled. Event is named by GUID.</xs:documentation>\r
282 </xs:annotation>\r
283 <xs:complexType>\r
284 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
285 <xs:element name="Event">\r
286 <xs:complexType>\r
287 <xs:sequence>\r
288 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
289 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
290 </xs:sequence>\r
291 <xs:attributeGroup ref="EventAttributes"/>\r
292 </xs:complexType>\r
293 </xs:element>\r
294 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
295 <xs:complexType>\r
296 <xs:sequence>\r
297 <xs:element name="Event">\r
298 <xs:complexType>\r
299 <xs:sequence>\r
300 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
301 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
302 </xs:sequence>\r
303 <xs:attributeGroup ref="EventAttributes"/>\r
304 </xs:complexType>\r
305 </xs:element>\r
306 </xs:sequence>\r
307 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
308 </xs:complexType>\r
309 </xs:element>\r
310 </xs:sequence>\r
311 </xs:complexType>\r
312 </xs:element>\r
313 </xs:sequence>\r
314 </xs:complexType>\r
315 </xs:element>\r
316 <xs:element name="ExitBootServicesCallBack" type="C_Name"/>\r
317 <xs:element name="Externs">\r
318 <xs:annotation>\r
319 <xs:documentation xml:lang="en">This is a child of MSA files, both Library and Module.</xs:documentation>\r
320 <xs:documentation xml:lang="en">This is a list of Extern statements, right now, only Driver Binding information is provided.</xs:documentation>\r
321 </xs:annotation>\r
322 <xs:complexType>\r
323 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
324 <xs:element name="Extern">\r
325 <xs:complexType>\r
326 <xs:choice minOccurs="1">\r
327 <xs:sequence minOccurs="0" maxOccurs="1">\r
328 <xs:annotation>\r
329 <xs:documentation xml:lang="en">Driver Module</xs:documentation>\r
330 </xs:annotation>\r
331 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleEntryPoint"/>\r
332 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleUnloadImage"/>\r
333 </xs:sequence>\r
334 <xs:sequence minOccurs="0" maxOccurs="1">\r
335 <xs:annotation>\r
336 <xs:documentation xml:lang="en">Library Module</xs:documentation>\r
337 </xs:annotation>\r
338 <xs:element minOccurs="0" maxOccurs="1" ref="Constructor"/>\r
339 <xs:element minOccurs="0" maxOccurs="1" ref="Destructor"/>\r
340 </xs:sequence>\r
341 <xs:sequence minOccurs="0" maxOccurs="1">\r
342 <xs:annotation>\r
343 <xs:documentation xml:lang="en">Allow multiple entries for DriverBinding, ComponentName, DriverConfig and DriverDiag elements. For ComponentName, DriverConfig and/or DriverDiag - you must have a 1:1 mapping to DriverBinding if the element is defined.</xs:documentation>\r
344 <xs:documentation xml:lang="en">Permit User Defined Extern Tags</xs:documentation>\r
345 </xs:annotation>\r
346 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverBinding"/>\r
347 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ComponentName"/>\r
348 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverConfig"/>\r
349 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverDiag"/>\r
350 </xs:sequence>\r
351 <xs:sequence minOccurs="0" maxOccurs="1">\r
352 <xs:annotation>\r
353 <xs:documentation xml:lang="en"> Module Call Backs</xs:documentation>\r
354 </xs:annotation>\r
355 <xs:element minOccurs="0" maxOccurs="unbounded" ref="SetVirtualAddressMapCallBack"/>\r
356 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ExitBootServicesCallBack"/>\r
357 </xs:sequence>\r
358 <xs:element minOccurs="0" maxOccurs="unbounded" name="UserDefined" type="C_Name"/>\r
359 </xs:choice>\r
360 <xs:attributeGroup ref="ExternAttributes"/>\r
361 </xs:complexType>\r
362 </xs:element>\r
363 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
364 <xs:complexType>\r
365 <xs:sequence>\r
366 <xs:element name="Extern">\r
367 <xs:complexType>\r
368 <xs:choice minOccurs="1">\r
369 <xs:sequence minOccurs="0" maxOccurs="1">\r
370 <xs:annotation>\r
371 <xs:documentation xml:lang="en">Driver Module</xs:documentation>\r
372 </xs:annotation>\r
373 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleEntryPoint"/>\r
374 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleUnloadImage"/>\r
375 </xs:sequence>\r
376 <xs:sequence minOccurs="0" maxOccurs="1">\r
377 <xs:annotation>\r
378 <xs:documentation xml:lang="en">Library Module</xs:documentation>\r
379 </xs:annotation>\r
380 <xs:element minOccurs="0" maxOccurs="1" ref="Constructor"/>\r
381 <xs:element minOccurs="0" maxOccurs="1" ref="Destructor"/>\r
382 </xs:sequence>\r
383 <xs:sequence minOccurs="0" maxOccurs="1">\r
384 <xs:annotation>\r
385 <xs:documentation xml:lang="en">Allow multiple entries for DriverBinding, ComponentName, DriverConfig and DriverDiag elements. For ComponentName, DriverConfig and/or DriverDiag - you must have a 1:1 mapping to DriverBinding if the element is defined.</xs:documentation>\r
386 <xs:documentation xml:lang="en">Permit User Defined Extern Tags</xs:documentation>\r
387 </xs:annotation>\r
388 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverBinding"/>\r
389 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ComponentName"/>\r
390 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverConfig"/>\r
391 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverDiag"/>\r
392 </xs:sequence>\r
393 <xs:sequence minOccurs="0" maxOccurs="1">\r
394 <xs:annotation>\r
395 <xs:documentation xml:lang="en"> Module Call Backs</xs:documentation>\r
396 </xs:annotation>\r
397 <xs:element minOccurs="0" maxOccurs="unbounded" ref="SetVirtualAddressMapCallBack"/>\r
398 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ExitBootServicesCallBack"/>\r
399 </xs:sequence>\r
400 <xs:element minOccurs="0" maxOccurs="unbounded" name="UserDefined" type="C_Name"/>\r
401 </xs:choice>\r
402 <xs:attributeGroup ref="ExternAttributes"/>\r
403 </xs:complexType>\r
404 </xs:element>\r
405 </xs:sequence>\r
406 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
407 </xs:complexType>\r
408 </xs:element>\r
409 </xs:sequence>\r
410 </xs:complexType>\r
411 </xs:element>\r
412 <xs:element name="Ffs">\r
413 <xs:annotation>\r
414 <xs:documentation xml:lang="en">Define the FFS File attributes within a sections and containing sections information</xs:documentation>\r
415 </xs:annotation>\r
416 <xs:complexType>\r
417 <xs:sequence>\r
418 <xs:element minOccurs="0" maxOccurs="unbounded" name="Attribute">\r
419 <xs:complexType>\r
420 <xs:sequence>\r
421 <xs:element minOccurs="1" maxOccurs="1" name="Name" type="C_Name"/>\r
422 <xs:element minOccurs="1" maxOccurs="1" name="Value" type="C_Name"/>\r
423 </xs:sequence>\r
424 </xs:complexType>\r
425 </xs:element>\r
426 <xs:element minOccurs="0" maxOccurs="1" ref="Sections"/>\r
427 </xs:sequence>\r
428 </xs:complexType>\r
429 </xs:element>\r
430 <xs:element name="Filename">\r
431 <xs:annotation>\r
432 <xs:documentation xml:lang="en">Describe the valid content of a filename</xs:documentation>\r
433 </xs:annotation>\r
434 <xs:complexType>\r
435 <xs:simpleContent>\r
436 <xs:extension base="VariableConvention">\r
437 <xs:attributeGroup ref="FilenameAttributes"/>\r
438 </xs:extension>\r
439 </xs:simpleContent>\r
440 </xs:complexType>\r
441 </xs:element>\r
442 <xs:element name="Filenames">\r
443 <xs:annotation>\r
444 <xs:documentation xml:lang="en">This is a list of Filenames</xs:documentation>\r
445 </xs:annotation>\r
446 <xs:complexType>\r
447 <xs:sequence minOccurs="1">\r
448 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Filename"/>\r
449 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
450 <xs:complexType>\r
451 <xs:sequence minOccurs="1">\r
452 <xs:element maxOccurs="unbounded" ref="Filename"/>\r
453 </xs:sequence>\r
454 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
455 </xs:complexType>\r
456 </xs:element>\r
457 </xs:sequence>\r
458 </xs:complexType>\r
459 </xs:element>\r
460 <xs:element name="Formsets">\r
461 <xs:annotation>\r
462 <xs:documentation xml:lang="en">Describe the list of a Formset elements</xs:documentation>\r
463 </xs:annotation>\r
464 <xs:complexType>\r
465 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
466 <xs:element name="Formset">\r
467 <xs:annotation>\r
468 <xs:documentation xml:lang="en">Describe the valid content of a Formset</xs:documentation>\r
469 </xs:annotation>\r
470 <xs:complexType>\r
471 <xs:simpleContent>\r
472 <xs:extension base="C_Name">\r
473 <xs:attributeGroup ref="FormsetAttributes"/>\r
474 </xs:extension>\r
475 </xs:simpleContent>\r
476 </xs:complexType>\r
477 </xs:element>\r
478 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
479 <xs:complexType>\r
480 <xs:sequence>\r
481 <xs:element name="Formset">\r
482 <xs:annotation>\r
483 <xs:documentation xml:lang="en">Describe the valid content of a Formset</xs:documentation>\r
484 </xs:annotation>\r
485 <xs:complexType>\r
486 <xs:simpleContent>\r
487 <xs:extension base="C_Name">\r
488 <xs:attributeGroup ref="FormsetAttributes"/>\r
489 </xs:extension>\r
490 </xs:simpleContent>\r
491 </xs:complexType>\r
492 </xs:element>\r
493 </xs:sequence>\r
494 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
495 </xs:complexType>\r
496 </xs:element>\r
497 </xs:sequence>\r
498 </xs:complexType>\r
499 </xs:element>\r
500 <xs:element name="Guid">\r
501 <xs:annotation>\r
502 <xs:documentation xml:lang="en">Describe the valid content of a GUID</xs:documentation>\r
503 </xs:annotation>\r
504 <xs:complexType>\r
505 <xs:simpleContent>\r
506 <xs:extension base="GuidType">\r
507 <xs:attributeGroup ref="GuidAttributes"/>\r
508 </xs:extension>\r
509 </xs:simpleContent>\r
510 </xs:complexType>\r
511 </xs:element>\r
512 <xs:element name="GuidDeclarations">\r
513 <xs:complexType>\r
514 <xs:sequence>\r
515 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">\r
516 <xs:complexType>\r
517 <xs:sequence>\r
518 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
519 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
520 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="C_Name"/>\r
521 </xs:sequence>\r
522 <xs:attribute name="Name" type="xs:normalizedString" use="required"/>\r
523 </xs:complexType>\r
524 </xs:element>\r
525 </xs:sequence>\r
526 </xs:complexType>\r
527 </xs:element>\r
528 <xs:element name="Guids">\r
529 <xs:complexType>\r
530 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
531 <xs:element name="GuidEntry">\r
532 <xs:annotation>\r
533 <xs:documentation xml:lang="en">Describe the valid content of a PCD GUID element</xs:documentation>\r
534 </xs:annotation>\r
535 <xs:complexType>\r
536 <xs:sequence minOccurs="0" maxOccurs="1">\r
537 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
538 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
539 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="C_Name"/>\r
540 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ConditionalExpression"/>\r
541 <xs:element minOccurs="0" maxOccurs="1" ref="DefaultValue"/>\r
542 <xs:element minOccurs="0" maxOccurs="1" ref="HelpText"/>\r
543 </xs:sequence>\r
544 <xs:attributeGroup ref="GuidAttributes"/>\r
545 </xs:complexType>\r
546 </xs:element>\r
547 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
548 <xs:complexType>\r
549 <xs:sequence>\r
550 <xs:element name="GuidEntry">\r
551 <xs:annotation>\r
552 <xs:documentation xml:lang="en">Describe the valid content of a PCD GUID element</xs:documentation>\r
553 </xs:annotation>\r
554 <xs:complexType>\r
555 <xs:sequence minOccurs="0" maxOccurs="1">\r
556 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
557 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
558 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="C_Name"/>\r
559 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ConditionalExpression"/>\r
560 <xs:element minOccurs="0" maxOccurs="1" ref="DefaultValue"/>\r
561 <xs:element minOccurs="0" maxOccurs="1" ref="HelpText"/>\r
562 </xs:sequence>\r
563 <xs:attributeGroup ref="GuidAttributes"/>\r
564 </xs:complexType>\r
565 </xs:element>\r
566 </xs:sequence>\r
567 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
568 </xs:complexType>\r
569 </xs:element>\r
570 </xs:sequence>\r
571 </xs:complexType>\r
572 </xs:element>\r
573 <xs:element name="GuidValue" type="GuidType"/>\r
574 <xs:element name="HelpText" type="Paragraph">\r
575 <xs:annotation>\r
576 <xs:documentation xml:lang="en">This section is used to describe how a GUID, PPI or PROTOCOL is to be used within the context of PCDs.</xs:documentation>\r
577 </xs:annotation>\r
578 </xs:element>\r
579 <xs:element name="Hobs">\r
580 <xs:complexType>\r
581 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
582 <xs:element name="Hob">\r
583 <xs:complexType>\r
584 <xs:sequence>\r
585 <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:normalizedString"/>\r
586 <xs:element minOccurs="0" maxOccurs="1" ref="C_Name"/>\r
587 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
588 </xs:sequence>\r
589 <xs:attributeGroup ref="HobAttributes"/>\r
590 </xs:complexType>\r
591 </xs:element>\r
592 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
593 <xs:complexType>\r
594 <xs:sequence>\r
595 <xs:element name="Hob">\r
596 <xs:complexType>\r
597 <xs:sequence>\r
598 <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:normalizedString"/>\r
599 <xs:element minOccurs="0" maxOccurs="1" ref="C_Name"/>\r
600 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
601 </xs:sequence>\r
602 <xs:attributeGroup ref="HobAttributes"/>\r
603 </xs:complexType>\r
604 </xs:element>\r
605 </xs:sequence>\r
606 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
607 </xs:complexType>\r
608 </xs:element>\r
609 </xs:sequence>\r
610 </xs:complexType>\r
611 </xs:element>\r
612 <xs:element name="ImageEntryPoint" type="C_Name"/>\r
613 <xs:element name="IncludeHeader">\r
614 <xs:complexType>\r
615 <xs:simpleContent>\r
616 <xs:extension base="FileNameConvention">\r
617 <xs:attributeGroup ref="IncludeAttributes"/>\r
618 </xs:extension>\r
619 </xs:simpleContent>\r
620 </xs:complexType>\r
621 </xs:element>\r
622 <xs:element name="Includes">\r
623 <xs:annotation>\r
624 <xs:documentation xml:lang="en">One or More Package Names or Arch sections is required. Includes are not files, but paths to where header files are located.</xs:documentation>\r
625 </xs:annotation>\r
626 <xs:complexType>\r
627 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
628 <xs:element minOccurs="0" maxOccurs="unbounded" ref="PackageName"/>\r
629 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
630 <xs:complexType>\r
631 <xs:sequence minOccurs="1">\r
632 <xs:element maxOccurs="unbounded" ref="PackageName"/>\r
633 </xs:sequence>\r
634 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
635 </xs:complexType>\r
636 </xs:element>\r
637 </xs:sequence>\r
638 </xs:complexType>\r
639 </xs:element>\r
640 <xs:element name="InstalledDate" type="DateType"/>\r
641 <xs:element name="Libraries">\r
642 <xs:annotation>\r
643 <xs:documentation xml:lang="en">Different Instances of Libraries</xs:documentation>\r
644 </xs:annotation>\r
645 <xs:complexType>\r
646 <xs:sequence minOccurs="1">\r
647 <xs:element minOccurs="0" maxOccurs="unbounded" name="Library">\r
648 <xs:complexType>\r
649 <xs:simpleContent>\r
650 <xs:extension base="BaseNameConvention">\r
651 <xs:attributeGroup ref="LibraryAttributes"/>\r
652 </xs:extension>\r
653 </xs:simpleContent>\r
654 </xs:complexType>\r
655 </xs:element>\r
656 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
657 <xs:complexType>\r
658 <xs:choice minOccurs="1" maxOccurs="unbounded">\r
659 <xs:element minOccurs="0" maxOccurs="unbounded" name="Library">\r
660 <xs:complexType>\r
661 <xs:simpleContent>\r
662 <xs:extension base="BaseNameConvention">\r
663 <xs:attributeGroup ref="LibraryAttributes"/>\r
664 </xs:extension>\r
665 </xs:simpleContent>\r
666 </xs:complexType>\r
667 </xs:element>\r
668 </xs:choice>\r
669 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
670 </xs:complexType>\r
671 </xs:element>\r
672 </xs:sequence>\r
673 </xs:complexType>\r
674 </xs:element>\r
675 <xs:element name="LibraryClass">\r
676 <xs:annotation>\r
677 <xs:documentation xml:lang="en">Define in the MSA and/or SPD, what class of library is being produced by a library module - for components, it can also specify what class of library is consumed.</xs:documentation>\r
678 </xs:annotation>\r
679 <xs:complexType>\r
680 <xs:simpleContent>\r
681 <xs:extension base="BaseNameConvention">\r
682 <xs:attribute name="Usage" type="LibraryUsage" use="optional"/>\r
683 </xs:extension>\r
684 </xs:simpleContent>\r
685 </xs:complexType>\r
686 </xs:element>\r
687 <xs:element name="LibraryClassDeclaration">\r
688 <xs:annotation>\r
689 <xs:documentation xml:lang="en">This element defines a class of library, along with the path to the Include Header for this library</xs:documentation>\r
690 </xs:annotation>\r
691 <xs:complexType>\r
692 <xs:sequence minOccurs="0">\r
693 <xs:element minOccurs="1" maxOccurs="1" ref="LibraryClass"/>\r
694 <xs:element minOccurs="1" maxOccurs="1" ref="IncludeHeader"/>\r
695 </xs:sequence>\r
696 </xs:complexType>\r
697 </xs:element>\r
698 <xs:element name="LibraryClassDeclarations">\r
699 <xs:annotation>\r
700 <xs:documentation xml:lang="en">This section defines what Classes of Libraries that this library belongs to. A Library may belong to multiple different library classes.</xs:documentation>\r
701 </xs:annotation>\r
702 <xs:complexType mixed="true">\r
703 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
704 <xs:element ref="LibraryClassDeclaration"/>\r
705 </xs:sequence>\r
706 </xs:complexType>\r
707 </xs:element>\r
708 <xs:element name="LibraryClassDefinitions">\r
709 <xs:annotation>\r
710 <xs:documentation xml:lang="en">This section defines what Classes of Libraries that this library belongs to. A Library may belong to multiple different library classes.</xs:documentation>\r
711 </xs:annotation>\r
712 <xs:complexType mixed="true">\r
713 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
714 <xs:element ref="LibraryClass"/>\r
715 </xs:sequence>\r
716 </xs:complexType>\r
717 </xs:element>\r
718 <xs:element name="License">\r
719 <xs:complexType>\r
720 <xs:simpleContent>\r
721 <xs:extension base="Paragraph">\r
722 <xs:attribute name="URL" type="xs:anyURI"/>\r
723 </xs:extension>\r
724 </xs:simpleContent>\r
725 </xs:complexType>\r
726 </xs:element>\r
727 <xs:element name="Modified" type="DateType"/>\r
728 <xs:element name="Module">\r
729 <xs:annotation>\r
730 <xs:documentation xml:lang="en">This is record format for a Module entry in the Framework Database file.</xs:documentation>\r
731 </xs:annotation>\r
732 <xs:complexType>\r
733 <xs:annotation>\r
734 <xs:documentation xml:lang="en">This describes the fields in an Module record in the Framework Database. The Path field is relative to the workspace to Module Surface Area (MSA) files.</xs:documentation>\r
735 </xs:annotation>\r
736 <xs:sequence>\r
737 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleName"/>\r
738 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
739 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
740 <xs:element minOccurs="1" maxOccurs="1" ref="Path"/>\r
741 </xs:sequence>\r
742 </xs:complexType>\r
743 </xs:element>\r
744 <xs:element name="ModuleEntryPoint" type="xs:normalizedString"/>\r
745 <xs:element name="ModuleList">\r
746 <xs:annotation>\r
747 <xs:documentation xml:lang="en">This tag is used in the Framework Package Database File to track package installation</xs:documentation>\r
748 </xs:annotation>\r
749 <xs:complexType>\r
750 <xs:sequence maxOccurs="unbounded">\r
751 <xs:element minOccurs="1" maxOccurs="unbounded" ref="Module"/>\r
752 </xs:sequence>\r
753 </xs:complexType>\r
754 </xs:element>\r
755 <xs:element name="ModuleName">\r
756 <xs:annotation>\r
757 <xs:documentation xml:lang="en">This is the valid content of a Module Name</xs:documentation>\r
758 </xs:annotation>\r
759 <xs:complexType>\r
760 <xs:simpleContent>\r
761 <xs:extension base="BaseNameConvention">\r
762 <xs:attributeGroup ref="ModuleNameAttributes"/>\r
763 </xs:extension>\r
764 </xs:simpleContent>\r
765 </xs:complexType>\r
766 </xs:element>\r
767 <xs:element name="ModuleType" type="ModuleTypeDef">\r
768 <xs:annotation>\r
769 <xs:documentation xml:lang="en">Describe the valid EFI Phase that the Module is designed to execute under.</xs:documentation>\r
770 </xs:annotation>\r
771 </xs:element>\r
772 <xs:element name="ModuleUnloadImage" type="xs:normalizedString"/>\r
773 <xs:element name="MsaFiles">\r
774 <xs:complexType>\r
775 <xs:sequence minOccurs="1">\r
776 <xs:element minOccurs="0" maxOccurs="unbounded" name="MsaFile">\r
777 <xs:annotation>\r
778 <xs:documentation xml:lang="en">Describe the valid content of a Surface Area Package Description (SPD) file</xs:documentation>\r
779 </xs:annotation>\r
780 <xs:complexType>\r
781 <xs:sequence minOccurs="0" maxOccurs="1">\r
782 <xs:element minOccurs="0" ref="Filename"/>\r
783 <xs:element minOccurs="0" ref="BuildOptions"/>\r
784 </xs:sequence>\r
785 <xs:attributeGroup ref="MsaAttributes"/>\r
786 </xs:complexType>\r
787 </xs:element>\r
788 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
789 <xs:complexType>\r
790 <xs:sequence minOccurs="1">\r
791 <xs:element maxOccurs="unbounded" name="MsaFile">\r
792 <xs:annotation>\r
793 <xs:documentation xml:lang="en">Describe the valid content of a Surface Area Package Description (SPD) file</xs:documentation>\r
794 </xs:annotation>\r
795 <xs:complexType>\r
796 <xs:sequence minOccurs="0" maxOccurs="1">\r
797 <xs:element minOccurs="0" ref="Filename"/>\r
798 <xs:element minOccurs="0" ref="BuildOptions"/>\r
799 </xs:sequence>\r
800 <xs:attributeGroup ref="MsaAttributes"/>\r
801 </xs:complexType>\r
802 </xs:element>\r
803 </xs:sequence>\r
804 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
805 </xs:complexType>\r
806 </xs:element>\r
807 </xs:sequence>\r
808 </xs:complexType>\r
809 </xs:element>\r
810 <xs:element name="OutputDirectory">\r
811 <xs:annotation>\r
812 <xs:documentation xml:lang="en">Define where we want our output to go. The Attribute, IntermediateDirectories, default MODULE, says that intermediate files will be local to the module, versus a unified directory structure.</xs:documentation>\r
813 </xs:annotation>\r
814 <xs:complexType>\r
815 <xs:simpleContent>\r
816 <xs:extension base="DirectoryNamingConvention">\r
817 <xs:attribute default="MODULE" name="IntermediateDirectories">\r
818 <xs:simpleType>\r
819 <xs:restriction base="UCNameType">\r
820 <xs:enumeration value="MODULE"/>\r
821 <xs:enumeration value="UNIFIED"/>\r
822 </xs:restriction>\r
823 </xs:simpleType>\r
824 </xs:attribute>\r
825 </xs:extension>\r
826 </xs:simpleContent>\r
827 </xs:complexType>\r
828 </xs:element>\r
829 <xs:element name="PCDs">\r
830 <xs:annotation>\r
831 <xs:documentation xml:lang="en">Child of Module Surface Area documents, MSA and MBD files, Library Modules and Other Modules</xs:documentation>\r
832 <xs:documentation xml:lang="en">One or more PcdData or PcdBuildData Elements Only one type is permitted</xs:documentation>\r
833 </xs:annotation>\r
834 <xs:complexType>\r
835 <xs:sequence minOccurs="1">\r
836 <xs:element maxOccurs="unbounded" name="PcdData">\r
837 <xs:annotation>\r
838 <xs:documentation xml:lang="en">This is a child of PCDs and can occur in the MSA and MBD files.</xs:documentation>\r
839 <xs:documentation xml:lang="en">This is date element is used in the Module Surface Area (MSA) file and contains references to be used by a Platform Build</xs:documentation>\r
840 <xs:documentation xml:lang="en">There is ONE required Attribute, ItemType</xs:documentation>\r
841 </xs:annotation>\r
842 <xs:complexType>\r
843 <xs:sequence>\r
844 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
845 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="HexDoubleWordDataType"/>\r
846 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>\r
847 <xs:element default="false" minOccurs="0" maxOccurs="1" name="HiiEnable" type="xs:boolean"/>\r
848 <xs:element default="false" minOccurs="0" maxOccurs="1" name="VpdEnable" type="xs:boolean"/>\r
849 <xs:element default="false" minOccurs="0" maxOccurs="1" name="AlternateNameSpaceEnable" type="xs:boolean"/>\r
850 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuEnable" type="xs:boolean"/>\r
851 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuDataArrayEnable" type="xs:boolean"/>\r
852 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="MaxSku" type="HexByteDataType"/>\r
853 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="SkuId" type="HexByteDataType"/>\r
854 <xs:element minOccurs="0" maxOccurs="1" name="DatumSize">\r
855 <xs:annotation>\r
856 <xs:documentation xml:lang="en">Max Number of Bytes of the data.</xs:documentation>\r
857 </xs:annotation>\r
858 <xs:simpleType>\r
859 <xs:restriction base="xs:int">\r
860 <xs:minInclusive value="1"/>\r
861 <xs:maxInclusive value="16777215"/>\r
862 </xs:restriction>\r
863 </xs:simpleType>\r
864 </xs:element>\r
865 <xs:element minOccurs="0" maxOccurs="1" name="VariableName" type="xs:normalizedString"/>\r
866 <xs:element minOccurs="0" maxOccurs="1" name="VariableGuid" type="VariableGuidType"/>\r
867 <xs:element minOccurs="0" maxOccurs="1" name="DataOffset" type="Hex64BitDataType"/>\r
868 <xs:element minOccurs="0" maxOccurs="1" name="GuidOffset" type="Hex64BitDataType"/>\r
869 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="xs:normalizedString"/>\r
870 <xs:element minOccurs="0" maxOccurs="1" ref="HelpText"/>\r
871 </xs:sequence>\r
872 <xs:attributeGroup ref="PcdAttributes"/>\r
873 </xs:complexType>\r
874 </xs:element>\r
875 </xs:sequence>\r
876 </xs:complexType>\r
877 </xs:element>\r
878 <xs:element name="PackageDependencies">\r
879 <xs:annotation>\r
880 <xs:documentation xml:lang="en">This tag is used in the Package Surface Area Description File to track package dependencies for a module</xs:documentation>\r
881 </xs:annotation>\r
882 <xs:complexType>\r
883 <xs:sequence maxOccurs="unbounded">\r
884 <xs:element minOccurs="1" maxOccurs="unbounded" ref="PackageName"/>\r
885 </xs:sequence>\r
886 <xs:attributeGroup ref="PackageNameAttributes"/>\r
887 </xs:complexType>\r
888 </xs:element>\r
889 <xs:element name="PackageHeaders">\r
890 <xs:annotation>\r
891 <xs:documentation xml:lang="en">This defines the minimum header file needed to support a given ModuleType.</xs:documentation>\r
892 </xs:annotation>\r
893 <xs:complexType>\r
894 <xs:sequence>\r
895 <xs:element minOccurs="1" maxOccurs="unbounded" ref="IncludeHeader"/>\r
896 </xs:sequence>\r
897 </xs:complexType>\r
898 </xs:element>\r
899 <xs:element name="PackageList">\r
900 <xs:annotation>\r
901 <xs:documentation xml:lang="en">This tag is used in the Framework Package Database File to track all packages installed in a workspace.</xs:documentation>\r
902 </xs:annotation>\r
903 <xs:complexType>\r
904 <xs:sequence maxOccurs="unbounded">\r
905 <xs:element minOccurs="1" name="Package">\r
906 <xs:annotation>\r
907 <xs:documentation xml:lang="en">This tag is used in the Framework Package Database File to track individual package information. The Path is a relative path to the SPD File.</xs:documentation>\r
908 </xs:annotation>\r
909 <xs:complexType>\r
910 <xs:sequence maxOccurs="unbounded">\r
911 <xs:element minOccurs="0" maxOccurs="1" ref="PackageName"/>\r
912 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
913 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
914 <xs:element minOccurs="1" maxOccurs="1" ref="Path"/>\r
915 <xs:element minOccurs="1" maxOccurs="1" ref="InstalledDate"/>\r
916 </xs:sequence>\r
917 <xs:attributeGroup ref="PackageAttributes"/>\r
918 </xs:complexType>\r
919 </xs:element>\r
920 </xs:sequence>\r
921 </xs:complexType>\r
922 </xs:element>\r
923 <xs:element name="PackageName">\r
924 <xs:annotation>\r
925 <xs:documentation xml:lang="en">This tag is used in the Package Surface Area Description File to track package dependencies for a module</xs:documentation>\r
926 </xs:annotation>\r
927 <xs:complexType>\r
928 <xs:simpleContent>\r
929 <xs:extension base="BaseNameConvention">\r
930 <xs:attributeGroup ref="PackageAttributes"/>\r
931 </xs:extension>\r
932 </xs:simpleContent>\r
933 </xs:complexType>\r
934 </xs:element>\r
935 <xs:element name="PackageType" type="PackageType"/>\r
936 <xs:element name="Path">\r
937 <xs:annotation>\r
938 <xs:documentation xml:lang="en">Describe the valid content of a filename</xs:documentation>\r
939 </xs:annotation>\r
940 <xs:complexType>\r
941 <xs:simpleContent>\r
942 <xs:extension base="DirectoryNamingConvention">\r
943 <xs:attributeGroup ref="DirectoryAttributes"/>\r
944 </xs:extension>\r
945 </xs:simpleContent>\r
946 </xs:complexType>\r
947 </xs:element>\r
948 <xs:element name="PcdBuildDeclarations">\r
949 <xs:annotation>\r
950 <xs:documentation xml:lang="en">Child of Framework Platform Description (FPD)</xs:documentation>\r
951 <xs:documentation xml:lang="en">We permit the FPD to use an external XML file for PCD information or else the information must be contained within the XML data element, PcdBuildData.</xs:documentation>\r
952 </xs:annotation>\r
953 <xs:complexType>\r
954 <xs:choice minOccurs="1">\r
955 <xs:element minOccurs="0" maxOccurs="1" ref="Filename"/>\r
956 <xs:element minOccurs="0" maxOccurs="unbounded" name="PcdBuildData">\r
957 <xs:annotation>\r
958 <xs:documentation xml:lang="en">Child of PcdBuildDeclarations</xs:documentation>\r
959 <xs:documentation xml:lang="en">This is date element is used in the platform build description file and contains valid data for a Platform Build</xs:documentation>\r
960 <xs:documentation xml:lang="en">There is ONE required Attribute, ItemType</xs:documentation>\r
961 </xs:annotation>\r
962 <xs:complexType>\r
963 <xs:sequence>\r
964 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
965 <xs:element minOccurs="1" maxOccurs="1" name="Token">\r
966 <xs:annotation>\r
967 <xs:documentation xml:lang="en">This as a unique identifier defined for either this name space.</xs:documentation>\r
968 <xs:documentation xml:lang="en">The Target Attribute may be used to define a Target name space, such as PCI.</xs:documentation>\r
969 </xs:annotation>\r
970 <xs:complexType>\r
971 <xs:simpleContent>\r
972 <xs:extension base="HexDoubleWordDataType">\r
973 <xs:attribute name="Target" type="C_Name" use="optional"/>\r
974 </xs:extension>\r
975 </xs:simpleContent>\r
976 </xs:complexType>\r
977 </xs:element>\r
978 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes">\r
979 <xs:annotation>\r
980 <xs:documentation xml:lang="en">This specifies the size of the Pcd Datum. It is either 8, 16, 32 or 64 bits for values, 1 bit for BOOLEAN and variable length for elements defined as VOID*</xs:documentation>\r
981 </xs:annotation>\r
982 </xs:element>\r
983 <xs:element default="false" minOccurs="1" maxOccurs="1" name="HiiEnable" type="xs:boolean">\r
984 <xs:annotation>\r
985 <xs:documentation xml:lang="en">This Bit means that the Variable data is associated with HII</xs:documentation>\r
986 </xs:annotation>\r
987 </xs:element>\r
988 <xs:element default="false" minOccurs="1" maxOccurs="1" name="VpdEnable" type="xs:boolean">\r
989 <xs:annotation>\r
990 <xs:documentation xml:lang="en">This bit enables the Vital Product Data area within flash for maintaining PCD information</xs:documentation>\r
991 </xs:annotation>\r
992 </xs:element>\r
993 <xs:element default="false" minOccurs="1" maxOccurs="1" name="AlternateNameSpaceEnable" type="xs:boolean">\r
994 <xs:annotation>\r
995 <xs:documentation>This is only applicable to ItemType DYNAMIC_EX</xs:documentation>\r
996 </xs:annotation>\r
997 </xs:element>\r
998 <xs:element default="false" minOccurs="1" maxOccurs="1" name="SkuEnable" type="xs:boolean"/>\r
999 <xs:element default="false" minOccurs="1" maxOccurs="1" name="SkuDataArrayEnable" type="xs:boolean"/>\r
1000 <xs:choice minOccurs="0">\r
1001 <xs:element minOccurs="0" maxOccurs="1" name="SkuDataArray">\r
1002 <xs:annotation>\r
1003 <xs:documentation xml:lang="en">This element is a list of two entries per line, the first should be an integer, while the second entry should be a string value</xs:documentation>\r
1004 </xs:annotation>\r
1005 <xs:simpleType>\r
1006 <xs:list itemType="xs:normalizedString"/>\r
1007 </xs:simpleType>\r
1008 </xs:element>\r
1009 <xs:element minOccurs="0" maxOccurs="unbounded" name="SkuData">\r
1010 <xs:annotation>\r
1011 <xs:documentation xml:lang="en">This section is for a list of SkuData Elements, ID and Value</xs:documentation>\r
1012 </xs:annotation>\r
1013 <xs:complexType>\r
1014 <xs:sequence minOccurs="1">\r
1015 <xs:element name="Id" type="xs:int"/>\r
1016 <xs:element name="Value" type="xs:normalizedString"/>\r
1017 </xs:sequence>\r
1018 </xs:complexType>\r
1019 </xs:element>\r
1020 </xs:choice>\r
1021 <xs:element default="0x00" minOccurs="1" maxOccurs="1" name="MaxSku" type="HexByteDataType">\r
1022 <xs:annotation>\r
1023 <xs:documentation xml:lang="en">This value comes from a production line database, and has nothing to do with the number of SkuData IDs that have been defined.</xs:documentation>\r
1024 </xs:annotation>\r
1025 </xs:element>\r
1026 <xs:element default="0x00" minOccurs="1" maxOccurs="1" name="SkuId" type="HexByteDataType">\r
1027 <xs:annotation>\r
1028 <xs:documentation xml:lang="en">This is the specific Sku ID for this build.</xs:documentation>\r
1029 </xs:annotation>\r
1030 </xs:element>\r
1031 <xs:element minOccurs="1" maxOccurs="1" name="DatumSize">\r
1032 <xs:annotation>\r
1033 <xs:documentation xml:lang="en">Max Number of Bytes of the data.</xs:documentation>\r
1034 </xs:annotation>\r
1035 <xs:simpleType>\r
1036 <xs:restriction base="xs:int">\r
1037 <xs:minInclusive value="1"/>\r
1038 <xs:maxInclusive value="16777215"/>\r
1039 </xs:restriction>\r
1040 </xs:simpleType>\r
1041 </xs:element>\r
1042 <xs:element minOccurs="1" maxOccurs="1" name="VariableGuid" type="VariableGuidType">\r
1043 <xs:annotation>\r
1044 <xs:documentation xml:lang="en">This is the Variable's GUID if and only if HII is enabled.</xs:documentation>\r
1045 </xs:annotation>\r
1046 </xs:element>\r
1047 <xs:element minOccurs="1" maxOccurs="1" name="VariableName" type="xs:normalizedString">\r
1048 <xs:annotation>\r
1049 <xs:documentation xml:lang="en">This is the C Name for the Variable, and is valid if and only HII is enabled.</xs:documentation>\r
1050 </xs:annotation>\r
1051 </xs:element>\r
1052 <xs:element minOccurs="1" maxOccurs="1" name="DataOffset" type="Hex64BitDataType">\r
1053 <xs:annotation>\r
1054 <xs:documentation xml:lang="en">If HII is enabled, This is the offset into the variable data entry, If Vpd is enabled, then it's the Offset into the VPD area of the image defined by platform manufacturer, if neither HII nor Vpd are enabled, it's the offset into the PCD Data Area. HII and VPD can never be enabled at the same time (as of the date of this document.)</xs:documentation>\r
1055 </xs:annotation>\r
1056 </xs:element>\r
1057 <xs:element minOccurs="1" maxOccurs="1" name="GuidOffset" type="Hex64BitDataType">\r
1058 <xs:annotation>\r
1059 <xs:documentation xml:lang="en">This field is only valid if AlternateNameSpaceEnable is true.</xs:documentation>\r
1060 </xs:annotation>\r
1061 </xs:element>\r
1062 <xs:element minOccurs="1" maxOccurs="1" name="DefaultValue" type="xs:normalizedString"/>\r
1063 </xs:sequence>\r
1064 <xs:attributeGroup ref="PcdAttributes"/>\r
1065 </xs:complexType>\r
1066 </xs:element>\r
1067 </xs:choice>\r
1068 </xs:complexType>\r
1069 </xs:element>\r
1070 <xs:element name="PcdDefinitions">\r
1071 <xs:annotation>\r
1072 <xs:documentation xml:lang="en">Child of Package Surface Area Description (SPD)</xs:documentation>\r
1073 <xs:documentation xml:lang="en">This permits entering information about a package's PCD information</xs:documentation>\r
1074 </xs:annotation>\r
1075 <xs:complexType>\r
1076 <xs:sequence minOccurs="1">\r
1077 <xs:element maxOccurs="unbounded" name="PcdEntry">\r
1078 <xs:annotation>\r
1079 <xs:documentation xml:lang="en">This is the valid content of the PCD table of a Module. The contents may not be wired at build time, and these only refer to Platform Build values, not modules.</xs:documentation>\r
1080 <xs:documentation xml:lang="en">This element is valid for PcdInfo.xml and FPD files.</xs:documentation>\r
1081 <xs:documentation xml:lang="en">There is ONE required Attribute, ItemType</xs:documentation>\r
1082 </xs:annotation>\r
1083 <xs:complexType>\r
1084 <xs:sequence>\r
1085 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
1086 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="Token"/>\r
1087 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>\r
1088 <xs:element default="false" minOccurs="0" maxOccurs="1" name="HiiEnable" type="xs:boolean"/>\r
1089 <xs:element default="false" minOccurs="0" maxOccurs="1" name="VpdEnable" type="xs:boolean"/>\r
1090 <xs:element default="false" minOccurs="0" maxOccurs="1" name="AlternateNameSpaceEnable" type="xs:boolean"/>\r
1091 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuEnable" type="xs:boolean"/>\r
1092 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuDataArrayEnable" type="xs:boolean"/>\r
1093 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="MaxSku" type="HexByteDataType"/>\r
1094 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="SkuId" type="HexByteDataType"/>\r
1095 <xs:element minOccurs="0" maxOccurs="1" name="DatumSize">\r
1096 <xs:annotation>\r
1097 <xs:documentation xml:lang="en">Max Number of Bytes of the data.</xs:documentation>\r
1098 </xs:annotation>\r
1099 <xs:simpleType>\r
1100 <xs:restriction base="xs:int">\r
1101 <xs:minInclusive value="1"/>\r
1102 <xs:maxInclusive value="16777215"/>\r
1103 </xs:restriction>\r
1104 </xs:simpleType>\r
1105 </xs:element>\r
1106 <xs:element minOccurs="0" maxOccurs="1" name="VariableName" type="xs:normalizedString"/>\r
1107 <xs:element minOccurs="0" maxOccurs="1" name="VariableGuid" type="VariableGuidType"/>\r
1108 <xs:element minOccurs="0" maxOccurs="1" name="DataOffset" type="Hex64BitDataType"/>\r
1109 <xs:element default="0" minOccurs="0" maxOccurs="1" name="GuidOffset" type="Hex64BitDataType"/>\r
1110 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValue"/>\r
1111 </xs:sequence>\r
1112 <xs:attributeGroup ref="PcdAttributes"/>\r
1113 </xs:complexType>\r
1114 </xs:element>\r
1115 </xs:sequence>\r
1116 </xs:complexType>\r
1117 </xs:element>\r
1118 <xs:element name="Platform">\r
1119 <xs:annotation>\r
1120 <xs:documentation xml:lang="en">Database Entry to locate the Platform Build Tips - path to FPD file.</xs:documentation>\r
1121 </xs:annotation>\r
1122 <xs:complexType>\r
1123 <xs:sequence>\r
1124 <xs:element name="PlatformName">\r
1125 <xs:annotation>\r
1126 <xs:documentation xml:lang="en">Define the Name of a Platform</xs:documentation>\r
1127 </xs:annotation>\r
1128 <xs:complexType>\r
1129 <xs:simpleContent>\r
1130 <xs:extension base="PlatformNamingConvention">\r
1131 <xs:attributeGroup ref="PlatformAttributes"/>\r
1132 </xs:extension>\r
1133 </xs:simpleContent>\r
1134 </xs:complexType>\r
1135 </xs:element>\r
1136 <xs:element ref="Path"/>\r
1137 <xs:element minOccurs="0" maxOccurs="1" name="AlternatePcdFile" type="FileNameConvention"/>\r
1138 <xs:element minOccurs="0" maxOccurs="1" name="AlternateFdfFile" type="FileNameConvention"/>\r
1139 </xs:sequence>\r
1140 <xs:attributeGroup ref="PlatformAttributes"/>\r
1141 </xs:complexType>\r
1142 </xs:element>\r
1143 <xs:element name="PpiDeclarations">\r
1144 <xs:complexType>\r
1145 <xs:sequence>\r
1146 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">\r
1147 <xs:complexType>\r
1148 <xs:sequence>\r
1149 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
1150 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
1151 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="C_Name"/>\r
1152 </xs:sequence>\r
1153 <xs:attribute name="Name" type="xs:normalizedString" use="required"/>\r
1154 </xs:complexType>\r
1155 </xs:element>\r
1156 </xs:sequence>\r
1157 </xs:complexType>\r
1158 </xs:element>\r
1159 <xs:element name="PPIs">\r
1160 <xs:annotation>\r
1161 <xs:documentation xml:lang="en">Provide for one or more Ppi or PpiNotify sections. </xs:documentation>\r
1162 </xs:annotation>\r
1163 <xs:complexType>\r
1164 <xs:sequence minOccurs="1">\r
1165 <xs:element minOccurs="0" maxOccurs="unbounded" name="Ppi">\r
1166 <xs:complexType>\r
1167 <xs:simpleContent>\r
1168 <xs:extension base="C_Name">\r
1169 <xs:attributeGroup ref="PpiAttributes"/>\r
1170 </xs:extension>\r
1171 </xs:simpleContent>\r
1172 </xs:complexType>\r
1173 </xs:element>\r
1174 <xs:element minOccurs="0" maxOccurs="unbounded" name="PpiNotify">\r
1175 <xs:complexType>\r
1176 <xs:simpleContent>\r
1177 <xs:extension base="C_Name">\r
1178 <xs:attributeGroup ref="PpiNotifyAttributes"/>\r
1179 </xs:extension>\r
1180 </xs:simpleContent>\r
1181 </xs:complexType>\r
1182 </xs:element>\r
1183 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
1184 <xs:complexType>\r
1185 <xs:sequence>\r
1186 <xs:element minOccurs="0" maxOccurs="unbounded" name="Ppi">\r
1187 <xs:complexType>\r
1188 <xs:simpleContent>\r
1189 <xs:extension base="C_Name">\r
1190 <xs:attributeGroup ref="PpiAttributes"/>\r
1191 </xs:extension>\r
1192 </xs:simpleContent>\r
1193 </xs:complexType>\r
1194 </xs:element>\r
1195 <xs:element minOccurs="0" maxOccurs="unbounded" name="PpiNotify">\r
1196 <xs:complexType>\r
1197 <xs:simpleContent>\r
1198 <xs:extension base="C_Name">\r
1199 <xs:attributeGroup ref="PpiNotifyAttributes"/>\r
1200 </xs:extension>\r
1201 </xs:simpleContent>\r
1202 </xs:complexType>\r
1203 </xs:element>\r
1204 </xs:sequence>\r
1205 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
1206 </xs:complexType>\r
1207 </xs:element>\r
1208 </xs:sequence>\r
1209 </xs:complexType>\r
1210 </xs:element>\r
1211 <xs:element name="ProtocolDeclarations">\r
1212 <xs:complexType>\r
1213 <xs:sequence>\r
1214 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">\r
1215 <xs:complexType>\r
1216 <xs:sequence>\r
1217 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
1218 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
1219 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="C_Name"/>\r
1220 </xs:sequence>\r
1221 <xs:attribute name="Name" type="xs:normalizedString" use="required"/>\r
1222 </xs:complexType>\r
1223 </xs:element>\r
1224 </xs:sequence>\r
1225 </xs:complexType>\r
1226 </xs:element>\r
1227 <xs:element name="Protocols">\r
1228 <xs:annotation>\r
1229 <xs:documentation xml:lang="en">If either Protocol or ProtocolNotify sections are needed, one or more of them should be specified within this section</xs:documentation>\r
1230 </xs:annotation>\r
1231 <xs:complexType>\r
1232 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
1233 <xs:element minOccurs="0" maxOccurs="unbounded" name="Protocol">\r
1234 <xs:complexType>\r
1235 <xs:simpleContent>\r
1236 <xs:extension base="C_Name">\r
1237 <xs:attributeGroup ref="ProtocolAttributes"/>\r
1238 </xs:extension>\r
1239 </xs:simpleContent>\r
1240 </xs:complexType>\r
1241 </xs:element>\r
1242 <xs:element minOccurs="0" maxOccurs="unbounded" name="ProtocolNotify">\r
1243 <xs:complexType>\r
1244 <xs:simpleContent>\r
1245 <xs:extension base="C_Name">\r
1246 <xs:attributeGroup ref="ProtocolNotifyAttributes"/>\r
1247 </xs:extension>\r
1248 </xs:simpleContent>\r
1249 </xs:complexType>\r
1250 </xs:element>\r
1251 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
1252 <xs:complexType>\r
1253 <xs:sequence>\r
1254 <xs:element minOccurs="0" maxOccurs="unbounded" name="Protocol">\r
1255 <xs:complexType>\r
1256 <xs:simpleContent>\r
1257 <xs:extension base="C_Name">\r
1258 <xs:attributeGroup ref="ProtocolAttributes"/>\r
1259 </xs:extension>\r
1260 </xs:simpleContent>\r
1261 </xs:complexType>\r
1262 </xs:element>\r
1263 <xs:element minOccurs="0" maxOccurs="unbounded" name="ProtocolNotify">\r
1264 <xs:complexType>\r
1265 <xs:simpleContent>\r
1266 <xs:extension base="C_Name">\r
1267 <xs:attributeGroup ref="ProtocolNotifyAttributes"/>\r
1268 </xs:extension>\r
1269 </xs:simpleContent>\r
1270 </xs:complexType>\r
1271 </xs:element>\r
1272 </xs:sequence>\r
1273 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
1274 </xs:complexType>\r
1275 </xs:element>\r
1276 </xs:sequence>\r
1277 </xs:complexType>\r
1278 </xs:element>\r
1279 <xs:element default="false" name="ReadOnly" type="xs:boolean"/>\r
1280 <xs:element default="false" name="RePackage" type="xs:boolean"/>\r
1281 <xs:element name="Sections">\r
1282 <xs:annotation>\r
1283 <xs:documentation xml:lang="en">Sections refers to the Firmware Filesystem sections, PE32, UI, VER, DXS, etc. and how they are made</xs:documentation>\r
1284 </xs:annotation>\r
1285 <xs:complexType>\r
1286 <xs:sequence minOccurs="1">\r
1287 <xs:element minOccurs="0" maxOccurs="unbounded" name="Section">\r
1288 <xs:complexType>\r
1289 <xs:sequence>\r
1290 <xs:element minOccurs="0" ref="Filenames"/>\r
1291 <xs:element minOccurs="0" name="Args" type="ArgsType"/>\r
1292 <xs:element minOccurs="0" name="OutFile" type="FileNameConvention"/>\r
1293 <xs:element minOccurs="0" name="OutputFileExtension" type="xs:string"/>\r
1294 <xs:element minOccurs="0" name="ToolName" type="ToolType"/>\r
1295 </xs:sequence>\r
1296 <xs:attributeGroup ref="SectionAttributes"/>\r
1297 </xs:complexType>\r
1298 </xs:element>\r
1299 <xs:element minOccurs="0" maxOccurs="unbounded" name="Sections">\r
1300 <xs:complexType>\r
1301 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
1302 <xs:element name="Section">\r
1303 <xs:complexType>\r
1304 <xs:sequence>\r
1305 <xs:element minOccurs="0" ref="Filenames"/>\r
1306 <xs:element minOccurs="0" name="Args" type="ArgsType"/>\r
1307 <xs:element minOccurs="0" name="OutFile" type="FileNameConvention"/>\r
1308 <xs:element minOccurs="0" name="OutputFileExtension" type="xs:string"/>\r
1309 <xs:element minOccurs="0" name="ToolName" type="ToolType"/>\r
1310 </xs:sequence>\r
1311 <xs:attributeGroup ref="SectionAttributes"/>\r
1312 </xs:complexType>\r
1313 </xs:element>\r
1314 </xs:sequence>\r
1315 <xs:attributeGroup ref="SectionsAttributes"/>\r
1316 </xs:complexType>\r
1317 </xs:element>\r
1318 </xs:sequence>\r
1319 <xs:attributeGroup ref="SectionsAttributes"/>\r
1320 </xs:complexType>\r
1321 </xs:element>\r
1322 <xs:element name="SetVirtualAddressMapCallBack" type="C_Name"/>\r
1323 <xs:element name="SourceFiles">\r
1324 <xs:annotation>\r
1325 <xs:documentation xml:lang="en">Multiple Filenames may be specified, and they may also be scoped to a specific Architecture.</xs:documentation>\r
1326 </xs:annotation>\r
1327 <xs:complexType>\r
1328 <xs:sequence minOccurs="1">\r
1329 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Filename"/>\r
1330 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
1331 <xs:complexType>\r
1332 <xs:sequence minOccurs="1">\r
1333 <xs:element maxOccurs="unbounded" ref="Filename"/>\r
1334 </xs:sequence>\r
1335 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
1336 </xs:complexType>\r
1337 </xs:element>\r
1338 </xs:sequence>\r
1339 </xs:complexType>\r
1340 </xs:element>\r
1341 <xs:element name="Specification">\r
1342 <xs:annotation>\r
1343 <xs:documentation xml:lang="en">This string is used to provide the name and version of the Specification that the component conforms to.</xs:documentation>\r
1344 </xs:annotation>\r
1345 <xs:complexType>\r
1346 <xs:simpleContent>\r
1347 <xs:extension base="xs:normalizedString">\r
1348 <xs:attribute name="Version" type="xs:normalizedString" use="optional"/>\r
1349 </xs:extension>\r
1350 </xs:simpleContent>\r
1351 </xs:complexType>\r
1352 </xs:element>\r
1353 <xs:element name="SystemTables">\r
1354 <xs:annotation>\r
1355 <xs:documentation xml:lang="en">This is list of System Table elements.</xs:documentation>\r
1356 </xs:annotation>\r
1357 <xs:complexType>\r
1358 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
1359 <xs:element name="SystemTable">\r
1360 <xs:complexType>\r
1361 <xs:sequence>\r
1362 <xs:element minOccurs="0" maxOccurs="1" name="Entry" type="xs:normalizedString"/>\r
1363 </xs:sequence>\r
1364 <xs:attributeGroup ref="SystemTableAttributes"/>\r
1365 </xs:complexType>\r
1366 </xs:element>\r
1367 </xs:sequence>\r
1368 </xs:complexType>\r
1369 </xs:element>\r
1370 <xs:element name="Updated" type="DateType"/>\r
1371 <xs:element name="URL" type="xs:anyURI"/>\r
1372 <xs:element name="URI" type="xs:anyURI"/>\r
1373 <xs:element name="UserDefinedAntTasks">\r
1374 <xs:annotation>\r
1375 <xs:documentation xml:lang="en">This is a sub-element of BuildOptions</xs:documentation>\r
1376 <xs:documentation xml:lang="en">Permit Users to define their own custom ANT tasks.</xs:documentation>\r
1377 </xs:annotation>\r
1378 <xs:complexType>\r
1379 <xs:sequence maxOccurs="unbounded">\r
1380 <xs:element minOccurs="1" ref="AntTask"/>\r
1381 </xs:sequence>\r
1382 </xs:complexType>\r
1383 </xs:element>\r
1384 <xs:element name="Variables">\r
1385 <xs:annotation>\r
1386 <xs:documentation xml:lang="en">A list of EFI Variables described by GUID string pair.</xs:documentation>\r
1387 </xs:annotation>\r
1388 <xs:complexType>\r
1389 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
1390 <xs:element name="Variable">\r
1391 <xs:annotation>\r
1392 <xs:documentation xml:lang="en">This is an EFI Variable Entry</xs:documentation>\r
1393 </xs:annotation>\r
1394 <xs:complexType>\r
1395 <xs:sequence>\r
1396 <xs:element minOccurs="1" maxOccurs="1" name="String" type="xs:normalizedString"/>\r
1397 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
1398 <xs:element minOccurs="0" maxOccurs="1" name="ByteOffset" type="HexWordDataType">\r
1399 <xs:annotation>\r
1400 <xs:documentation xml:lang="en">This entry represents the Hex Byte Offset {0x0, 0xn} to where the data starts.</xs:documentation>\r
1401 </xs:annotation>\r
1402 </xs:element>\r
1403 <xs:element minOccurs="0" maxOccurs="1" name="BitOffset">\r
1404 <xs:annotation>\r
1405 <xs:documentation xml:lang="en">This entry represents the Location of the Starting Bit {0,8} of the start of Data. A value of zero or 1 indicates that there is no BitOffset into the byte.</xs:documentation>\r
1406 </xs:annotation>\r
1407 <xs:simpleType>\r
1408 <xs:restriction base="xs:int">\r
1409 <xs:minInclusive value="0"/>\r
1410 <xs:maxInclusive value="8"/>\r
1411 </xs:restriction>\r
1412 </xs:simpleType>\r
1413 </xs:element>\r
1414 <xs:element minOccurs="0" maxOccurs="1" name="OffsetBitSize">\r
1415 <xs:annotation>\r
1416 <xs:documentation xml:lang="en">This number represents the number of bits to use {0, 7} starting at the BitOffset. A value of 0 indicates that the entire Byte should be used.</xs:documentation>\r
1417 </xs:annotation>\r
1418 <xs:simpleType>\r
1419 <xs:restriction base="xs:int">\r
1420 <xs:minInclusive value="0"/>\r
1421 <xs:maxInclusive value="7"/>\r
1422 </xs:restriction>\r
1423 </xs:simpleType>\r
1424 </xs:element>\r
1425 </xs:sequence>\r
1426 <xs:attributeGroup ref="VariableAttributes"/>\r
1427 </xs:complexType>\r
1428 </xs:element>\r
1429 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
1430 <xs:complexType>\r
1431 <xs:sequence>\r
1432 <xs:element name="Variable">\r
1433 <xs:annotation>\r
1434 <xs:documentation xml:lang="en">This is an EFI Variable Entry</xs:documentation>\r
1435 </xs:annotation>\r
1436 <xs:complexType>\r
1437 <xs:sequence>\r
1438 <xs:element minOccurs="1" maxOccurs="1" name="String" type="xs:normalizedString"/>\r
1439 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
1440 <xs:element minOccurs="0" maxOccurs="1" name="ByteOffset" type="HexWordDataType">\r
1441 <xs:annotation>\r
1442 <xs:documentation xml:lang="en">This entry represents the Hex Byte Offset {0x0, 0xn} to where the data starts.</xs:documentation>\r
1443 </xs:annotation>\r
1444 </xs:element>\r
1445 <xs:element minOccurs="0" maxOccurs="1" name="BitOffset">\r
1446 <xs:annotation>\r
1447 <xs:documentation xml:lang="en">This entry represents the Location of the Starting Bit {0,8} of the start of Data. A value of zero or 1 indicates that there is no BitOffset into the byte.</xs:documentation>\r
1448 </xs:annotation>\r
1449 <xs:simpleType>\r
1450 <xs:restriction base="xs:int">\r
1451 <xs:minInclusive value="0"/>\r
1452 <xs:maxInclusive value="8"/>\r
1453 </xs:restriction>\r
1454 </xs:simpleType>\r
1455 </xs:element>\r
1456 <xs:element minOccurs="0" maxOccurs="1" name="OffsetBitSize">\r
1457 <xs:annotation>\r
1458 <xs:documentation xml:lang="en">This number represents the number of bits to use {0, 7} starting at the BitOffset. A value of 0 indicates that the entire Byte should be used.</xs:documentation>\r
1459 </xs:annotation>\r
1460 <xs:simpleType>\r
1461 <xs:restriction base="xs:int">\r
1462 <xs:minInclusive value="0"/>\r
1463 <xs:maxInclusive value="7"/>\r
1464 </xs:restriction>\r
1465 </xs:simpleType>\r
1466 </xs:element>\r
1467 </xs:sequence>\r
1468 <xs:attributeGroup ref="VariableAttributes"/>\r
1469 </xs:complexType>\r
1470 </xs:element>\r
1471 </xs:sequence>\r
1472 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
1473 </xs:complexType>\r
1474 </xs:element>\r
1475 </xs:sequence>\r
1476 </xs:complexType>\r
1477 </xs:element>\r
1478 <xs:element name="Version" type="xs:normalizedString"/>\r
1479</xs:schema>\r