Updated schema, added some new elements that will be used in the final. Added a Datum...
[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
f29b8a33 3 <!--\r
878ddf1f 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
f29b8a33 16 <xs:documentation xml:lang="en"> This schema defines EFI and Framework Data Elements </xs:documentation>\r
878ddf1f 17 </xs:annotation>\r
f29b8a33 18 <xs:include schemaLocation="NamingConvention.xsd"/>\r
19 <xs:include schemaLocation="FrameworkDataTypes.xsd"/>\r
20 <xs:include schemaLocation="FrameworkDataAttributes.xsd"/>\r
21 <xs:element name="Abstract">\r
22 <xs:annotation>\r
23 <xs:documentation xml:lang="en">Abstract is valid for all Description Files</xs:documentation>\r
24 <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
25 </xs:annotation>\r
26 <xs:complexType>\r
27 <xs:simpleContent>\r
28 <xs:extension base="Sentence">\r
29 <xs:attribute name="URL" type="xs:anyURI" use="optional"/>\r
30 </xs:extension>\r
31 </xs:simpleContent>\r
32 </xs:complexType>\r
33 </xs:element>\r
34 <xs:element name="AntCmd">\r
35 <xs:annotation>\r
36 <xs:documentation xml:lang="en">This is a sub-element of AntTask</xs:documentation>\r
37 <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
38 </xs:annotation>\r
39 <xs:complexType>\r
40 <xs:sequence>\r
41 <xs:element minOccurs="0" name="Id" type="xs:int"/>\r
42 <xs:element name="ExecutionOrder">\r
43 <xs:simpleType>\r
44 <xs:list itemType="xs:normalizedString"/>\r
45 </xs:simpleType>\r
46 </xs:element>\r
47 </xs:sequence>\r
48 <xs:attributeGroup ref="SectionAttributes"/>\r
49 </xs:complexType>\r
878ddf1f 50 </xs:element>\r
51 <xs:element name="AntTask">\r
52 <xs:annotation>\r
53 <xs:documentation xml:lang="en">This is a sub-element of UserDefinedAntTasks</xs:documentation>\r
54 <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
55 </xs:annotation>\r
56 <xs:complexType>\r
57 <xs:choice>\r
58 <xs:element ref="AntCmd"/>\r
59 <xs:element ref="Filename"/>\r
60 </xs:choice>\r
61 <xs:attribute name="Id" type="xs:int" use="required"/>\r
62 </xs:complexType>\r
63 </xs:element>\r
64 <xs:element name="BaseName">\r
65 <xs:annotation>\r
66 <xs:documentation xml:lang="en">BaseName is valid for all Description Files</xs:documentation>\r
67 <xs:documentation xml:lang="en"> We need to be able to permit different attributes for every basename </xs:documentation>\r
68 </xs:annotation>\r
69 <xs:complexType>\r
70 <xs:simpleContent>\r
71 <xs:extension base="BaseNameConvention">\r
72 <xs:attributeGroup ref="BaseNameAttributes"/>\r
73 </xs:extension>\r
74 </xs:simpleContent>\r
75 </xs:complexType>\r
76 </xs:element>\r
77 <xs:element name="BootModes">\r
78 <xs:annotation>\r
79 <xs:documentation xml:lang="en">BootModes is valid for all Description Files</xs:documentation>\r
80 <xs:documentation xml:lang="en">This is a list of BootModes Supported by the Module</xs:documentation>\r
81 </xs:annotation>\r
82 <xs:complexType>\r
83 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
84 <xs:element name="BootMode">\r
85 <xs:complexType>\r
86 <xs:attributeGroup ref="BootModeAttributes"/>\r
87 </xs:complexType>\r
88 </xs:element>\r
89 </xs:sequence>\r
90 </xs:complexType>\r
91 </xs:element>\r
92 <xs:element name="BuildOptions">\r
93 <xs:annotation>\r
94 <xs:documentation xml:lang="en">BuildOptions is valid for MBD and FPD files.</xs:documentation>\r
95 <xs:documentation xml:lang="en">Specific Build Options, by Tool Chain, than should be applied, overriding any global options</xs:documentation>\r
96 </xs:annotation>\r
97 <xs:complexType>\r
98 <xs:sequence>\r
99 <xs:element minOccurs="0" maxOccurs="1" ref="UserDefinedAntTasks"/>\r
100 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ImageEntryPoint"/>\r
101 <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>\r
102 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Ffs"/>\r
103 <xs:element minOccurs="0" maxOccurs="1" ref="Sections"/>\r
104 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Filenames"/>\r
105 <xs:sequence minOccurs="0">\r
106 <xs:element minOccurs="0" maxOccurs="unbounded" name="Option">\r
107 <xs:complexType>\r
108 <xs:simpleContent>\r
109 <xs:extension base="xs:normalizedString">\r
110 <xs:attributeGroup ref="OptionAttributes"/>\r
111 </xs:extension>\r
112 </xs:simpleContent>\r
113 </xs:complexType>\r
114 </xs:element>\r
3a0a3d38 115 <!-- Arch element should be removed - use Arch attributes to the above instead. -->\r
878ddf1f 116 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
117 <xs:complexType>\r
118 <xs:sequence minOccurs="1">\r
119 <xs:element maxOccurs="unbounded" name="Option">\r
120 <xs:complexType>\r
121 <xs:simpleContent>\r
122 <xs:extension base="xs:normalizedString">\r
123 <xs:attributeGroup ref="OptionAttributes"/>\r
124 </xs:extension>\r
125 </xs:simpleContent>\r
126 </xs:complexType>\r
127 </xs:element>\r
128 </xs:sequence>\r
129 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
130 </xs:complexType>\r
131 </xs:element>\r
132 </xs:sequence>\r
133 </xs:sequence>\r
134 <xs:attribute name="ToolChain" type="ToolChains"/>\r
135 </xs:complexType>\r
136 </xs:element>\r
137 <xs:element name="C_Name" type="C_Name">\r
138 <xs:annotation>\r
139 <xs:documentation xml:lang="en">C_Name is valid for all Description Files</xs:documentation>\r
140 </xs:annotation>\r
141 </xs:element>\r
142 <xs:element name="ComponentName" type="C_Name">\r
143 <xs:annotation>\r
144 <xs:documentation xml:lang="en">ComponentName is valid for all Description Files</xs:documentation>\r
145 </xs:annotation>\r
146 </xs:element>\r
147 <xs:element name="ComponentType" type="FrameworkComponentTypes">\r
148 <xs:annotation>\r
149 <xs:documentation xml:lang="en">Describe the valid Framework Component Type</xs:documentation>\r
150 </xs:annotation>\r
151 </xs:element>\r
878ddf1f 152 <xs:element name="ConditionalExpression">\r
3a0a3d38 153 <!-- DO NOT USE remove and use FeatureFlag instead -->\r
878ddf1f 154 <xs:annotation>\r
155 <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
156 </xs:annotation>\r
157 <xs:complexType>\r
158 <xs:sequence>\r
159 <xs:element minOccurs="1" maxOccurs="unbounded" name="Condition" type="xs:normalizedString"/>\r
160 </xs:sequence>\r
161 <xs:attribute name="ConditionalTarget" type="ConditionalTarget" use="optional"/>\r
162 </xs:complexType>\r
163 </xs:element>\r
164 <xs:element name="Constructor" type="C_Name"/>\r
165 <xs:element name="Copyright" type="Sentence"/>\r
166 <xs:element name="Created" type="DateType"/>\r
0fce57e7 167 <xs:element name="CreatedDate" type="DateType"/>\r
878ddf1f 168 <xs:element name="CreatedBy" type="UserName"/>\r
169 <xs:element name="DataHubs">\r
170 <xs:annotation>\r
171 <xs:documentation xml:lang="en">This is a list of DataHubRecord elements.</xs:documentation>\r
172 </xs:annotation>\r
173 <xs:complexType>\r
174 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
175 <xs:element name="DataHubRecord">\r
176 <xs:complexType>\r
177 <xs:simpleContent>\r
178 <xs:extension base="xs:normalizedString">\r
179 <xs:attributeGroup ref="DataHubAttributes"/>\r
180 </xs:extension>\r
181 </xs:simpleContent>\r
182 </xs:complexType>\r
183 </xs:element>\r
3a0a3d38 184 <!-- Remove Arch and use Arch Attribute for DataHubRecord instead. -->\r
878ddf1f 185 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
186 <xs:complexType>\r
187 <xs:sequence>\r
188 <xs:element name="DataHubRecord">\r
189 <xs:complexType>\r
190 <xs:simpleContent>\r
191 <xs:extension base="xs:normalizedString">\r
192 <xs:attributeGroup ref="DataHubAttributes"/>\r
193 </xs:extension>\r
194 </xs:simpleContent>\r
195 </xs:complexType>\r
196 </xs:element>\r
197 </xs:sequence>\r
198 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
199 </xs:complexType>\r
200 </xs:element>\r
201 </xs:sequence>\r
202 </xs:complexType>\r
203 </xs:element>\r
204 <xs:element name="DatabaseName">\r
205 <xs:annotation>\r
206 <xs:documentation xml:lang="en">The Name of the Database, "FrameworkDatabase"</xs:documentation>\r
207 </xs:annotation>\r
208 <xs:complexType>\r
209 <xs:simpleContent>\r
210 <xs:extension base="BaseNameConvention">\r
211 <xs:attributeGroup ref="BaseNameAttributes"/>\r
212 </xs:extension>\r
213 </xs:simpleContent>\r
214 </xs:complexType>\r
215 </xs:element>\r
216 <xs:element name="DefaultValue">\r
217 <xs:annotation>\r
218 <xs:documentation xml:lang="en">The default setting of a PCD entry.</xs:documentation>\r
219 </xs:annotation>\r
220 <xs:complexType>\r
221 <xs:simpleContent>\r
222 <xs:extension base="xs:normalizedString"/>\r
223 </xs:simpleContent>\r
224 </xs:complexType>\r
225 </xs:element>\r
226 <xs:element name="Description" type="Paragraph">\r
227 <xs:annotation>\r
228 <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
229 </xs:annotation>\r
230 </xs:element>\r
231 <xs:element name="Destructor" type="C_Name"/>\r
232 <xs:element name="DriverBinding" type="C_Name"/>\r
233 <xs:element name="DriverConfig" type="C_Name"/>\r
234 <xs:element name="DriverDiag" type="C_Name"/>\r
235 <xs:element name="E-Mail" type="E-Mail"/>\r
236 <xs:element name="Events">\r
237 <xs:annotation>\r
238 <xs:documentation xml:lang="en">This is a list of Events</xs:documentation>\r
239 </xs:annotation>\r
240 <xs:complexType>\r
241 <xs:sequence>\r
242 <xs:element minOccurs="0" maxOccurs="1" name="CreateEvents">\r
243 <xs:complexType>\r
244 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
245 <xs:element name="Event">\r
246 <xs:complexType>\r
247 <xs:sequence>\r
248 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
3a0a3d38 249 <xs:choice minOccurs="0">\r
250 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
251 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
252 </xs:choice>\r
878ddf1f 253 </xs:sequence>\r
254 <xs:attributeGroup ref="EventAttributes"/>\r
255 </xs:complexType>\r
256 </xs:element>\r
47d0b581 257 <!-- Remove Arch Section and use Arch Attribute instead in Event. -->\r
878ddf1f 258 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
259 <xs:complexType>\r
260 <xs:sequence>\r
261 <xs:element name="Event">\r
262 <xs:complexType>\r
263 <xs:sequence>\r
264 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
3a0a3d38 265 <xs:choice minOccurs="0">\r
266 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
267 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
268 </xs:choice>\r
878ddf1f 269 </xs:sequence>\r
270 <xs:attributeGroup ref="EventAttributes"/>\r
271 </xs:complexType>\r
272 </xs:element>\r
273 </xs:sequence>\r
274 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
275 </xs:complexType>\r
276 </xs:element>\r
277 </xs:sequence>\r
278 </xs:complexType>\r
279 </xs:element>\r
280 <xs:element minOccurs="0" maxOccurs="1" name="SignalEvents">\r
281 <xs:annotation>\r
282 <xs:documentation xml:lang="en">Module has an event that is waiting to be signaled. Event is named by GUID.</xs:documentation>\r
283 </xs:annotation>\r
284 <xs:complexType>\r
285 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
286 <xs:element name="Event">\r
287 <xs:complexType>\r
288 <xs:sequence>\r
289 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
3a0a3d38 290 <xs:choice minOccurs="0">\r
291 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
292 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
293 </xs:choice>\r
878ddf1f 294 </xs:sequence>\r
295 <xs:attributeGroup ref="EventAttributes"/>\r
296 </xs:complexType>\r
297 </xs:element>\r
47d0b581 298 <!-- Remove Arch and use Arch attribute in Event above -->\r
878ddf1f 299 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
300 <xs:complexType>\r
301 <xs:sequence>\r
302 <xs:element name="Event">\r
303 <xs:complexType>\r
304 <xs:sequence>\r
305 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
878ddf1f 306 </xs:sequence>\r
307 <xs:attributeGroup ref="EventAttributes"/>\r
308 </xs:complexType>\r
309 </xs:element>\r
310 </xs:sequence>\r
311 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
312 </xs:complexType>\r
313 </xs:element>\r
314 </xs:sequence>\r
315 </xs:complexType>\r
316 </xs:element>\r
317 </xs:sequence>\r
318 </xs:complexType>\r
319 </xs:element>\r
320 <xs:element name="ExitBootServicesCallBack" type="C_Name"/>\r
321 <xs:element name="Externs">\r
322 <xs:annotation>\r
323 <xs:documentation xml:lang="en">This is a child of MSA files, both Library and Module.</xs:documentation>\r
324 <xs:documentation xml:lang="en">This is a list of Extern statements, right now, only Driver Binding information is provided.</xs:documentation>\r
325 </xs:annotation>\r
326 <xs:complexType>\r
f29b8a33 327 <xs:sequence minOccurs="1">\r
328 <xs:element minOccurs="0" maxOccurs="1" name="PcdIsDriver" type="PcdDriverTypes"/>\r
329 <xs:element minOccurs="0" maxOccurs="unbounded" name="Extern">\r
878ddf1f 330 <xs:complexType>\r
331 <xs:choice minOccurs="1">\r
332 <xs:sequence minOccurs="0" maxOccurs="1">\r
333 <xs:annotation>\r
334 <xs:documentation xml:lang="en">Driver Module</xs:documentation>\r
335 </xs:annotation>\r
336 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleEntryPoint"/>\r
337 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleUnloadImage"/>\r
338 </xs:sequence>\r
339 <xs:sequence minOccurs="0" maxOccurs="1">\r
340 <xs:annotation>\r
341 <xs:documentation xml:lang="en">Library Module</xs:documentation>\r
342 </xs:annotation>\r
343 <xs:element minOccurs="0" maxOccurs="1" ref="Constructor"/>\r
344 <xs:element minOccurs="0" maxOccurs="1" ref="Destructor"/>\r
345 </xs:sequence>\r
346 <xs:sequence minOccurs="0" maxOccurs="1">\r
347 <xs:annotation>\r
348 <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
349 <xs:documentation xml:lang="en">Permit User Defined Extern Tags</xs:documentation>\r
350 </xs:annotation>\r
351 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverBinding"/>\r
352 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ComponentName"/>\r
353 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverConfig"/>\r
354 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverDiag"/>\r
355 </xs:sequence>\r
356 <xs:sequence minOccurs="0" maxOccurs="1">\r
357 <xs:annotation>\r
358 <xs:documentation xml:lang="en"> Module Call Backs</xs:documentation>\r
359 </xs:annotation>\r
360 <xs:element minOccurs="0" maxOccurs="unbounded" ref="SetVirtualAddressMapCallBack"/>\r
361 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ExitBootServicesCallBack"/>\r
362 </xs:sequence>\r
363 <xs:element minOccurs="0" maxOccurs="unbounded" name="UserDefined" type="C_Name"/>\r
364 </xs:choice>\r
365 <xs:attributeGroup ref="ExternAttributes"/>\r
366 </xs:complexType>\r
367 </xs:element>\r
3a0a3d38 368 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Specification"/>\r
369 <!-- Remove Arch and use Arch Attribute in above. -->\r
878ddf1f 370 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
371 <xs:complexType>\r
372 <xs:sequence>\r
373 <xs:element name="Extern">\r
374 <xs:complexType>\r
375 <xs:choice minOccurs="1">\r
376 <xs:sequence minOccurs="0" maxOccurs="1">\r
377 <xs:annotation>\r
378 <xs:documentation xml:lang="en">Driver Module</xs:documentation>\r
379 </xs:annotation>\r
380 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleEntryPoint"/>\r
381 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleUnloadImage"/>\r
382 </xs:sequence>\r
383 <xs:sequence minOccurs="0" maxOccurs="1">\r
384 <xs:annotation>\r
385 <xs:documentation xml:lang="en">Library Module</xs:documentation>\r
386 </xs:annotation>\r
387 <xs:element minOccurs="0" maxOccurs="1" ref="Constructor"/>\r
388 <xs:element minOccurs="0" maxOccurs="1" ref="Destructor"/>\r
389 </xs:sequence>\r
390 <xs:sequence minOccurs="0" maxOccurs="1">\r
391 <xs:annotation>\r
392 <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
393 <xs:documentation xml:lang="en">Permit User Defined Extern Tags</xs:documentation>\r
394 </xs:annotation>\r
395 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverBinding"/>\r
396 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ComponentName"/>\r
397 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverConfig"/>\r
398 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverDiag"/>\r
399 </xs:sequence>\r
400 <xs:sequence minOccurs="0" maxOccurs="1">\r
401 <xs:annotation>\r
402 <xs:documentation xml:lang="en"> Module Call Backs</xs:documentation>\r
403 </xs:annotation>\r
404 <xs:element minOccurs="0" maxOccurs="unbounded" ref="SetVirtualAddressMapCallBack"/>\r
405 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ExitBootServicesCallBack"/>\r
406 </xs:sequence>\r
407 <xs:element minOccurs="0" maxOccurs="unbounded" name="UserDefined" type="C_Name"/>\r
408 </xs:choice>\r
409 <xs:attributeGroup ref="ExternAttributes"/>\r
410 </xs:complexType>\r
411 </xs:element>\r
412 </xs:sequence>\r
413 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
414 </xs:complexType>\r
415 </xs:element>\r
416 </xs:sequence>\r
417 </xs:complexType>\r
418 </xs:element>\r
419 <xs:element name="Ffs">\r
420 <xs:annotation>\r
421 <xs:documentation xml:lang="en">Define the FFS File attributes within a sections and containing sections information</xs:documentation>\r
422 </xs:annotation>\r
423 <xs:complexType>\r
424 <xs:sequence>\r
425 <xs:element minOccurs="0" maxOccurs="unbounded" name="Attribute">\r
426 <xs:complexType>\r
427 <xs:sequence>\r
428 <xs:element minOccurs="1" maxOccurs="1" name="Name" type="C_Name"/>\r
429 <xs:element minOccurs="1" maxOccurs="1" name="Value" type="C_Name"/>\r
430 </xs:sequence>\r
431 </xs:complexType>\r
432 </xs:element>\r
433 <xs:element minOccurs="0" maxOccurs="1" ref="Sections"/>\r
434 </xs:sequence>\r
435 </xs:complexType>\r
436 </xs:element>\r
437 <xs:element name="Filename">\r
438 <xs:annotation>\r
439 <xs:documentation xml:lang="en">Describe the valid content of a filename</xs:documentation>\r
440 </xs:annotation>\r
441 <xs:complexType>\r
442 <xs:simpleContent>\r
443 <xs:extension base="VariableConvention">\r
444 <xs:attributeGroup ref="FilenameAttributes"/>\r
445 </xs:extension>\r
446 </xs:simpleContent>\r
447 </xs:complexType>\r
448 </xs:element>\r
449 <xs:element name="Filenames">\r
450 <xs:annotation>\r
451 <xs:documentation xml:lang="en">This is a list of Filenames</xs:documentation>\r
452 </xs:annotation>\r
453 <xs:complexType>\r
454 <xs:sequence minOccurs="1">\r
455 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Filename"/>\r
3a0a3d38 456 <!-- DO NOT USE Arch remove it element and use Arch Attribute to Filename instead -->\r
878ddf1f 457 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
458 <xs:complexType>\r
459 <xs:sequence minOccurs="1">\r
460 <xs:element maxOccurs="unbounded" ref="Filename"/>\r
461 </xs:sequence>\r
462 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
463 </xs:complexType>\r
464 </xs:element>\r
465 </xs:sequence>\r
466 </xs:complexType>\r
467 </xs:element>\r
468 <xs:element name="Formsets">\r
469 <xs:annotation>\r
470 <xs:documentation xml:lang="en">Describe the list of a Formset elements</xs:documentation>\r
471 </xs:annotation>\r
472 <xs:complexType>\r
473 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
474 <xs:element name="Formset">\r
475 <xs:annotation>\r
476 <xs:documentation xml:lang="en">Describe the valid content of a Formset</xs:documentation>\r
477 </xs:annotation>\r
478 <xs:complexType>\r
479 <xs:simpleContent>\r
480 <xs:extension base="C_Name">\r
481 <xs:attributeGroup ref="FormsetAttributes"/>\r
482 </xs:extension>\r
483 </xs:simpleContent>\r
484 </xs:complexType>\r
485 </xs:element>\r
47d0b581 486 <!-- DO NOT USE! removing Arch element, use Arch attribute in Formset instead. -->\r
878ddf1f 487 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
488 <xs:complexType>\r
489 <xs:sequence>\r
490 <xs:element name="Formset">\r
491 <xs:annotation>\r
492 <xs:documentation xml:lang="en">Describe the valid content of a Formset</xs:documentation>\r
493 </xs:annotation>\r
494 <xs:complexType>\r
495 <xs:simpleContent>\r
496 <xs:extension base="C_Name">\r
497 <xs:attributeGroup ref="FormsetAttributes"/>\r
498 </xs:extension>\r
499 </xs:simpleContent>\r
500 </xs:complexType>\r
501 </xs:element>\r
502 </xs:sequence>\r
503 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
504 </xs:complexType>\r
505 </xs:element>\r
506 </xs:sequence>\r
507 </xs:complexType>\r
508 </xs:element>\r
509 <xs:element name="Guid">\r
510 <xs:annotation>\r
511 <xs:documentation xml:lang="en">Describe the valid content of a GUID</xs:documentation>\r
512 </xs:annotation>\r
513 <xs:complexType>\r
514 <xs:simpleContent>\r
515 <xs:extension base="GuidType">\r
516 <xs:attributeGroup ref="GuidAttributes"/>\r
517 </xs:extension>\r
518 </xs:simpleContent>\r
519 </xs:complexType>\r
520 </xs:element>\r
521 <xs:element name="GuidDeclarations">\r
522 <xs:complexType>\r
523 <xs:sequence>\r
524 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">\r
525 <xs:complexType>\r
526 <xs:sequence>\r
527 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
3a0a3d38 528 <xs:choice minOccurs="1">\r
529 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
530 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
531 </xs:choice>\r
878ddf1f 532 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="C_Name"/>\r
533 </xs:sequence>\r
534 <xs:attribute name="Name" type="xs:normalizedString" use="required"/>\r
535 </xs:complexType>\r
536 </xs:element>\r
537 </xs:sequence>\r
538 </xs:complexType>\r
539 </xs:element>\r
540 <xs:element name="Guids">\r
541 <xs:complexType>\r
542 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
543 <xs:element name="GuidEntry">\r
544 <xs:annotation>\r
545 <xs:documentation xml:lang="en">Describe the valid content of a PCD GUID element</xs:documentation>\r
546 </xs:annotation>\r
547 <xs:complexType>\r
548 <xs:sequence minOccurs="0" maxOccurs="1">\r
549 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
550 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
551 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="C_Name"/>\r
47d0b581 552 <!-- DO NOT USE remove ConditionalExpression and use FeatureFlag instead -->\r
878ddf1f 553 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ConditionalExpression"/>\r
554 <xs:element minOccurs="0" maxOccurs="1" ref="DefaultValue"/>\r
555 <xs:element minOccurs="0" maxOccurs="1" ref="HelpText"/>\r
556 </xs:sequence>\r
557 <xs:attributeGroup ref="GuidAttributes"/>\r
558 </xs:complexType>\r
559 </xs:element>\r
3a0a3d38 560 <!-- DO NOT USE Arch, Arch should be removed and the attribute Arch should be used in the above. -->\r
878ddf1f 561 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
562 <xs:complexType>\r
563 <xs:sequence>\r
564 <xs:element name="GuidEntry">\r
565 <xs:annotation>\r
566 <xs:documentation xml:lang="en">Describe the valid content of a PCD GUID element</xs:documentation>\r
567 </xs:annotation>\r
568 <xs:complexType>\r
569 <xs:sequence minOccurs="0" maxOccurs="1">\r
570 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
571 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
572 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="C_Name"/>\r
47d0b581 573 <!-- DO NOT USE remove ConditionalExpression and use FeatureFlag instead -->\r
878ddf1f 574 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ConditionalExpression"/>\r
575 <xs:element minOccurs="0" maxOccurs="1" ref="DefaultValue"/>\r
576 <xs:element minOccurs="0" maxOccurs="1" ref="HelpText"/>\r
577 </xs:sequence>\r
578 <xs:attributeGroup ref="GuidAttributes"/>\r
579 </xs:complexType>\r
580 </xs:element>\r
581 </xs:sequence>\r
582 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
583 </xs:complexType>\r
584 </xs:element>\r
585 </xs:sequence>\r
586 </xs:complexType>\r
587 </xs:element>\r
588 <xs:element name="GuidValue" type="GuidType"/>\r
589 <xs:element name="HelpText" type="Paragraph">\r
590 <xs:annotation>\r
591 <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
592 </xs:annotation>\r
593 </xs:element>\r
594 <xs:element name="Hobs">\r
595 <xs:complexType>\r
596 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
597 <xs:element name="Hob">\r
598 <xs:complexType>\r
599 <xs:sequence>\r
600 <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:normalizedString"/>\r
601 <xs:element minOccurs="0" maxOccurs="1" ref="C_Name"/>\r
3a0a3d38 602 <xs:choice minOccurs="0">\r
603 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
604 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
605 </xs:choice>\r
878ddf1f 606 </xs:sequence>\r
607 <xs:attributeGroup ref="HobAttributes"/>\r
608 </xs:complexType>\r
609 </xs:element>\r
3a0a3d38 610 <!-- DO NOT USE Arch, use attribute Arch for Hob in above -->\r
878ddf1f 611 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
612 <xs:complexType>\r
613 <xs:sequence>\r
614 <xs:element name="Hob">\r
615 <xs:complexType>\r
616 <xs:sequence>\r
617 <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:normalizedString"/>\r
618 <xs:element minOccurs="0" maxOccurs="1" ref="C_Name"/>\r
619 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
620 </xs:sequence>\r
621 <xs:attributeGroup ref="HobAttributes"/>\r
622 </xs:complexType>\r
623 </xs:element>\r
624 </xs:sequence>\r
625 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
626 </xs:complexType>\r
627 </xs:element>\r
628 </xs:sequence>\r
629 </xs:complexType>\r
630 </xs:element>\r
631 <xs:element name="ImageEntryPoint" type="C_Name"/>\r
632 <xs:element name="IncludeHeader">\r
633 <xs:complexType>\r
634 <xs:simpleContent>\r
635 <xs:extension base="FileNameConvention">\r
636 <xs:attributeGroup ref="IncludeAttributes"/>\r
637 </xs:extension>\r
638 </xs:simpleContent>\r
639 </xs:complexType>\r
640 </xs:element>\r
641 <xs:element name="Includes">\r
642 <xs:annotation>\r
643 <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
644 </xs:annotation>\r
645 <xs:complexType>\r
646 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
647 <xs:element minOccurs="0" maxOccurs="unbounded" ref="PackageName"/>\r
0675decb 648 <!-- remove Arch element, start using the Arch attribute for the PackageName element above. -->\r
878ddf1f 649 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
650 <xs:complexType>\r
651 <xs:sequence minOccurs="1">\r
652 <xs:element maxOccurs="unbounded" ref="PackageName"/>\r
653 </xs:sequence>\r
654 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
655 </xs:complexType>\r
656 </xs:element>\r
657 </xs:sequence>\r
658 </xs:complexType>\r
659 </xs:element>\r
0850ca3b 660 <xs:element name="IndustryStdHeaders">\r
661 <xs:complexType>\r
662 <xs:sequence>\r
663 <xs:element minOccurs="1" maxOccurs="unbounded" ref="IncludeHeader"/>\r
664 </xs:sequence>\r
665 </xs:complexType>\r
666 </xs:element>\r
878ddf1f 667 <xs:element name="InstalledDate" type="DateType"/>\r
668 <xs:element name="Libraries">\r
669 <xs:annotation>\r
3a0a3d38 670 <xs:documentation xml:lang="en">Different (Module) Instances of Libraries used ONLY in FPD Files.</xs:documentation>\r
878ddf1f 671 </xs:annotation>\r
672 <xs:complexType>\r
673 <xs:sequence minOccurs="1">\r
674 <xs:element minOccurs="0" maxOccurs="unbounded" name="Library">\r
675 <xs:complexType>\r
676 <xs:simpleContent>\r
0675decb 677 <xs:extension base="xs:NCName">\r
878ddf1f 678 <xs:attributeGroup ref="LibraryAttributes"/>\r
679 </xs:extension>\r
680 </xs:simpleContent>\r
681 </xs:complexType>\r
682 </xs:element>\r
0675decb 683 <!-- remove Arch Element HERE, start using the Arch attribute in Library element above. -->\r
878ddf1f 684 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
685 <xs:complexType>\r
686 <xs:choice minOccurs="1" maxOccurs="unbounded">\r
687 <xs:element minOccurs="0" maxOccurs="unbounded" name="Library">\r
688 <xs:complexType>\r
689 <xs:simpleContent>\r
690 <xs:extension base="BaseNameConvention">\r
691 <xs:attributeGroup ref="LibraryAttributes"/>\r
692 </xs:extension>\r
693 </xs:simpleContent>\r
694 </xs:complexType>\r
695 </xs:element>\r
696 </xs:choice>\r
697 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
698 </xs:complexType>\r
699 </xs:element>\r
0675decb 700 <!-- /remove Arch Element -->\r
878ddf1f 701 </xs:sequence>\r
702 </xs:complexType>\r
703 </xs:element>\r
704 <xs:element name="LibraryClass">\r
705 <xs:annotation>\r
0675decb 706 <xs:documentation xml:lang="en">Used in MSA files. This defines what class of library is being supported = produced (library module) or consumed by a module.</xs:documentation>\r
878ddf1f 707 </xs:annotation>\r
708 <xs:complexType>\r
709 <xs:simpleContent>\r
710 <xs:extension base="BaseNameConvention">\r
47d0b581 711 <xs:attributeGroup ref="LibraryClassAttributes"/>\r
878ddf1f 712 </xs:extension>\r
713 </xs:simpleContent>\r
714 </xs:complexType>\r
715 </xs:element>\r
716 <xs:element name="LibraryClassDeclaration">\r
717 <xs:annotation>\r
718 <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
719 </xs:annotation>\r
720 <xs:complexType>\r
721 <xs:sequence minOccurs="0">\r
2fdd0c7d 722 <xs:element minOccurs="1" maxOccurs="1" name="LibraryClass">\r
723 <xs:annotation>\r
0675decb 724 <xs:documentation xml:lang="en">Used in MSA and SPD files. This defines what class of library is being supported = produced (library module) or consumed by a module.</xs:documentation>\r
2fdd0c7d 725 </xs:annotation>\r
726 <xs:complexType>\r
727 <xs:simpleContent>\r
728 <xs:extension base="BaseNameConvention">\r
0675decb 729 <xs:attribute name="RecommendedInstance" type="xs:NCName" use="optional"/>\r
2fdd0c7d 730 <xs:attribute name="RecommendedInstanceGuid" type="GuidType" use="optional"/>\r
731 </xs:extension>\r
732 </xs:simpleContent>\r
733 </xs:complexType>\r
734 </xs:element>\r
878ddf1f 735 <xs:element minOccurs="1" maxOccurs="1" ref="IncludeHeader"/>\r
736 </xs:sequence>\r
737 </xs:complexType>\r
738 </xs:element>\r
739 <xs:element name="LibraryClassDeclarations">\r
740 <xs:annotation>\r
741 <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
742 </xs:annotation>\r
743 <xs:complexType mixed="true">\r
744 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
745 <xs:element ref="LibraryClassDeclaration"/>\r
746 </xs:sequence>\r
747 </xs:complexType>\r
748 </xs:element>\r
749 <xs:element name="LibraryClassDefinitions">\r
750 <xs:annotation>\r
0850ca3b 751 <xs:documentation xml:lang="en">This section defines what Classes of Library that this library supports. A Library may belong to multiple different library classes.</xs:documentation>\r
878ddf1f 752 </xs:annotation>\r
753 <xs:complexType mixed="true">\r
754 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
755 <xs:element ref="LibraryClass"/>\r
756 </xs:sequence>\r
757 </xs:complexType>\r
758 </xs:element>\r
759 <xs:element name="License">\r
760 <xs:complexType>\r
761 <xs:simpleContent>\r
762 <xs:extension base="Paragraph">\r
fbf910a5 763 <xs:attribute name="URL" type="xs:anyURI" use="optional"/>\r
878ddf1f 764 </xs:extension>\r
765 </xs:simpleContent>\r
766 </xs:complexType>\r
767 </xs:element>\r
768 <xs:element name="Modified" type="DateType"/>\r
2558d455 769 <xs:element name="ModifiedDate" type="DateType"/>\r
878ddf1f 770 <xs:element name="Module">\r
771 <xs:annotation>\r
772 <xs:documentation xml:lang="en">This is record format for a Module entry in the Framework Database file.</xs:documentation>\r
773 </xs:annotation>\r
774 <xs:complexType>\r
775 <xs:annotation>\r
776 <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
777 </xs:annotation>\r
778 <xs:sequence>\r
779 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleName"/>\r
3a0a3d38 780 <xs:choice minOccurs="1">\r
781 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
782 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
783 </xs:choice>\r
878ddf1f 784 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>\r
785 <xs:element minOccurs="1" maxOccurs="1" ref="Path"/>\r
786 </xs:sequence>\r
787 </xs:complexType>\r
788 </xs:element>\r
789 <xs:element name="ModuleEntryPoint" type="xs:normalizedString"/>\r
790 <xs:element name="ModuleList">\r
791 <xs:annotation>\r
792 <xs:documentation xml:lang="en">This tag is used in the Framework Package Database File to track package installation</xs:documentation>\r
793 </xs:annotation>\r
794 <xs:complexType>\r
795 <xs:sequence maxOccurs="unbounded">\r
796 <xs:element minOccurs="1" maxOccurs="unbounded" ref="Module"/>\r
797 </xs:sequence>\r
798 </xs:complexType>\r
799 </xs:element>\r
800 <xs:element name="ModuleName">\r
801 <xs:annotation>\r
802 <xs:documentation xml:lang="en">This is the valid content of a Module Name</xs:documentation>\r
803 </xs:annotation>\r
804 <xs:complexType>\r
805 <xs:simpleContent>\r
0675decb 806 <xs:extension base="xs:NCName">\r
878ddf1f 807 <xs:attributeGroup ref="ModuleNameAttributes"/>\r
808 </xs:extension>\r
809 </xs:simpleContent>\r
810 </xs:complexType>\r
811 </xs:element>\r
812 <xs:element name="ModuleType" type="ModuleTypeDef">\r
813 <xs:annotation>\r
814 <xs:documentation xml:lang="en">Describe the valid EFI Phase that the Module is designed to execute under.</xs:documentation>\r
815 </xs:annotation>\r
816 </xs:element>\r
817 <xs:element name="ModuleUnloadImage" type="xs:normalizedString"/>\r
818 <xs:element name="MsaFiles">\r
819 <xs:complexType>\r
820 <xs:sequence minOccurs="1">\r
821 <xs:element minOccurs="0" maxOccurs="unbounded" name="MsaFile">\r
822 <xs:annotation>\r
2fdd0c7d 823 <xs:documentation xml:lang="en">Surface Area Package Description (SPD) list of Module Surface Area files</xs:documentation>\r
878ddf1f 824 </xs:annotation>\r
825 <xs:complexType>\r
826 <xs:sequence minOccurs="0" maxOccurs="1">\r
827 <xs:element minOccurs="0" ref="Filename"/>\r
828 <xs:element minOccurs="0" ref="BuildOptions"/>\r
829 </xs:sequence>\r
830 <xs:attributeGroup ref="MsaAttributes"/>\r
831 </xs:complexType>\r
832 </xs:element>\r
3a0a3d38 833 <!-- DO NOT USE Arch element, use attribute Arch in above. -->\r
878ddf1f 834 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
835 <xs:complexType>\r
836 <xs:sequence minOccurs="1">\r
837 <xs:element maxOccurs="unbounded" name="MsaFile">\r
838 <xs:annotation>\r
839 <xs:documentation xml:lang="en">Describe the valid content of a Surface Area Package Description (SPD) file</xs:documentation>\r
840 </xs:annotation>\r
841 <xs:complexType>\r
842 <xs:sequence minOccurs="0" maxOccurs="1">\r
843 <xs:element minOccurs="0" ref="Filename"/>\r
844 <xs:element minOccurs="0" ref="BuildOptions"/>\r
845 </xs:sequence>\r
846 <xs:attributeGroup ref="MsaAttributes"/>\r
847 </xs:complexType>\r
848 </xs:element>\r
849 </xs:sequence>\r
850 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
851 </xs:complexType>\r
852 </xs:element>\r
853 </xs:sequence>\r
854 </xs:complexType>\r
855 </xs:element>\r
47d0b581 856 <xs:element name="MsaPcdDeclarations">\r
857 <xs:annotation>\r
858 <xs:documentation xml:lang="en">Child of Module Surface Area Description (MSA)</xs:documentation>\r
859 </xs:annotation>\r
860 <xs:complexType>\r
861 <xs:sequence minOccurs="1">\r
862 <xs:element maxOccurs="unbounded" name="PcdEntry">\r
863 <xs:annotation>\r
864 <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
865 <xs:documentation xml:lang="en">This element is valid for PcdInfo.xml and FPD files.</xs:documentation>\r
866 </xs:annotation>\r
867 <xs:complexType>\r
868 <xs:sequence>\r
869 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
870 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValue"/>\r
871 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>\r
872 </xs:sequence>\r
873 <!-- MSA file declares a single usage, and must match one of the entries in what the SPD file declares as the set of possible Item Types. -->\r
874 <xs:attribute name="PcdItemType" type="PcdItemTypes" use="required"/>\r
875 </xs:complexType>\r
876 </xs:element>\r
877 </xs:sequence>\r
878 </xs:complexType>\r
879 </xs:element>\r
e4ecc06e 880 <xs:element name="MsaFileList">\r
881 <xs:annotation>\r
882 <xs:documentation xml:lang="en">Surface Area Package Description (SPD) list of Module Surface Area files</xs:documentation>\r
883 </xs:annotation>\r
884 <xs:complexType>\r
885 <xs:sequence>\r
886 <xs:element minOccurs="0" maxOccurs="unbounded" name="Filename">\r
887 <xs:complexType>\r
888 <xs:simpleContent>\r
889 <xs:extension base="xs:anyURI">\r
890 <xs:attributeGroup ref="ModuleNameSaAttributes"/>\r
891 </xs:extension>\r
892 </xs:simpleContent>\r
893 </xs:complexType>\r
894 </xs:element>\r
895 </xs:sequence>\r
896 </xs:complexType>\r
897 </xs:element>\r
878ddf1f 898 <xs:element name="OutputDirectory">\r
899 <xs:annotation>\r
900 <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
901 </xs:annotation>\r
902 <xs:complexType>\r
903 <xs:simpleContent>\r
904 <xs:extension base="DirectoryNamingConvention">\r
905 <xs:attribute default="MODULE" name="IntermediateDirectories">\r
906 <xs:simpleType>\r
907 <xs:restriction base="UCNameType">\r
908 <xs:enumeration value="MODULE"/>\r
909 <xs:enumeration value="UNIFIED"/>\r
910 </xs:restriction>\r
911 </xs:simpleType>\r
912 </xs:attribute>\r
913 </xs:extension>\r
914 </xs:simpleContent>\r
915 </xs:complexType>\r
916 </xs:element>\r
917 <xs:element name="PCDs">\r
3a0a3d38 918 <!-- PCDs section is going away to be replaced by something else TB Named later -->\r
878ddf1f 919 <xs:annotation>\r
920 <xs:documentation xml:lang="en">Child of Module Surface Area documents, MSA and MBD files, Library Modules and Other Modules</xs:documentation>\r
921 <xs:documentation xml:lang="en">One or more PcdData or PcdBuildData Elements Only one type is permitted</xs:documentation>\r
922 </xs:annotation>\r
923 <xs:complexType>\r
924 <xs:sequence minOccurs="1">\r
925 <xs:element maxOccurs="unbounded" name="PcdData">\r
926 <xs:annotation>\r
927 <xs:documentation xml:lang="en">This is a child of PCDs and can occur in the MSA and MBD files.</xs:documentation>\r
928 <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
929 <xs:documentation xml:lang="en">There is ONE required Attribute, ItemType</xs:documentation>\r
930 </xs:annotation>\r
931 <xs:complexType>\r
932 <xs:sequence>\r
933 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
934 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="HexDoubleWordDataType"/>\r
cb9f0b9e 935 <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>\r
878ddf1f 936 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>\r
937 <xs:element default="false" minOccurs="0" maxOccurs="1" name="HiiEnable" type="xs:boolean"/>\r
938 <xs:element default="false" minOccurs="0" maxOccurs="1" name="VpdEnable" type="xs:boolean"/>\r
939 <xs:element default="false" minOccurs="0" maxOccurs="1" name="AlternateNameSpaceEnable" type="xs:boolean"/>\r
940 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuEnable" type="xs:boolean"/>\r
941 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuDataArrayEnable" type="xs:boolean"/>\r
942 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="MaxSku" type="HexByteDataType"/>\r
943 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="SkuId" type="HexByteDataType"/>\r
e4ecc06e 944 <xs:element minOccurs="0" maxOccurs="1" name="DatumSize" type="DatumSizeLimitation"/>\r
878ddf1f 945 <xs:element minOccurs="0" maxOccurs="1" name="VariableName" type="xs:normalizedString"/>\r
946 <xs:element minOccurs="0" maxOccurs="1" name="VariableGuid" type="VariableGuidType"/>\r
947 <xs:element minOccurs="0" maxOccurs="1" name="DataOffset" type="Hex64BitDataType"/>\r
948 <xs:element minOccurs="0" maxOccurs="1" name="GuidOffset" type="Hex64BitDataType"/>\r
949 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="xs:normalizedString"/>\r
950 <xs:element minOccurs="0" maxOccurs="1" ref="HelpText"/>\r
951 </xs:sequence>\r
952 <xs:attributeGroup ref="PcdAttributes"/>\r
f29b8a33 953 <xs:attribute name="PcdIsDriver" use="optional"/>\r
878ddf1f 954 </xs:complexType>\r
955 </xs:element>\r
956 </xs:sequence>\r
957 </xs:complexType>\r
958 </xs:element>\r
959 <xs:element name="PackageDependencies">\r
960 <xs:annotation>\r
961 <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
962 </xs:annotation>\r
963 <xs:complexType>\r
964 <xs:sequence maxOccurs="unbounded">\r
965 <xs:element minOccurs="1" maxOccurs="unbounded" ref="PackageName"/>\r
966 </xs:sequence>\r
967 <xs:attributeGroup ref="PackageNameAttributes"/>\r
968 </xs:complexType>\r
969 </xs:element>\r
970 <xs:element name="PackageHeaders">\r
971 <xs:annotation>\r
972 <xs:documentation xml:lang="en">This defines the minimum header file needed to support a given ModuleType.</xs:documentation>\r
973 </xs:annotation>\r
974 <xs:complexType>\r
975 <xs:sequence>\r
976 <xs:element minOccurs="1" maxOccurs="unbounded" ref="IncludeHeader"/>\r
977 </xs:sequence>\r
978 </xs:complexType>\r
979 </xs:element>\r
980 <xs:element name="PackageList">\r
981 <xs:annotation>\r
0675decb 982 <xs:documentation xml:lang="en">This tag is used in the Framework Package Database File to track all packages installed in a workspace. (Database)</xs:documentation>\r
878ddf1f 983 </xs:annotation>\r
984 <xs:complexType>\r
985 <xs:sequence maxOccurs="unbounded">\r
986 <xs:element minOccurs="1" name="Package">\r
987 <xs:annotation>\r
988 <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
989 </xs:annotation>\r
990 <xs:complexType>\r
991 <xs:sequence maxOccurs="unbounded">\r
992 <xs:element minOccurs="0" maxOccurs="1" ref="PackageName"/>\r
3a0a3d38 993 <xs:choice minOccurs="0">\r
0675decb 994 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
995 <!-- DO NOT USE Guid should be removed, use PackageGuid instead -->\r
996 <xs:element minOccurs="0" maxOccurs="1" name="PackageGuid" type="GuidType"/>\r
997 </xs:choice>\r
3a0a3d38 998 <xs:choice minOccurs="0">\r
0675decb 999 <xs:element minOccurs="0" maxOccurs="1" ref="Version"/>\r
1000 <xs:element minOccurs="0" maxOccurs="1" name="PackageVersion" type="VersionDataType"/>\r
1001 </xs:choice>\r
3a0a3d38 1002 <xs:choice minOccurs="1">\r
1003 <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>\r
1004 <xs:element minOccurs="0" maxOccurs="1" ref="Filename"/>\r
1005 </xs:choice>\r
878ddf1f 1006 <xs:element minOccurs="1" maxOccurs="1" ref="InstalledDate"/>\r
1007 </xs:sequence>\r
1008 <xs:attributeGroup ref="PackageAttributes"/>\r
1009 </xs:complexType>\r
1010 </xs:element>\r
1011 </xs:sequence>\r
1012 </xs:complexType>\r
1013 </xs:element>\r
1014 <xs:element name="PackageName">\r
1015 <xs:annotation>\r
0675decb 1016 <xs:documentation xml:lang="en">This tag is used in the Package Surface Area Description File to track package dependencies for a module (SPD) </xs:documentation>\r
878ddf1f 1017 </xs:annotation>\r
1018 <xs:complexType>\r
1019 <xs:simpleContent>\r
1020 <xs:extension base="BaseNameConvention">\r
1021 <xs:attributeGroup ref="PackageAttributes"/>\r
1022 </xs:extension>\r
1023 </xs:simpleContent>\r
1024 </xs:complexType>\r
1025 </xs:element>\r
1026 <xs:element name="PackageType" type="PackageType"/>\r
1027 <xs:element name="Path">\r
1028 <xs:annotation>\r
1029 <xs:documentation xml:lang="en">Describe the valid content of a filename</xs:documentation>\r
1030 </xs:annotation>\r
1031 <xs:complexType>\r
1032 <xs:simpleContent>\r
1033 <xs:extension base="DirectoryNamingConvention">\r
1034 <xs:attributeGroup ref="DirectoryAttributes"/>\r
1035 </xs:extension>\r
1036 </xs:simpleContent>\r
1037 </xs:complexType>\r
1038 </xs:element>\r
1039 <xs:element name="PcdBuildDeclarations">\r
1040 <xs:annotation>\r
2558d455 1041 <xs:documentation xml:lang="en">NEW: Will become a child of ModuleSA in the FPD</xs:documentation>\r
878ddf1f 1042 </xs:annotation>\r
1043 <xs:complexType>\r
1044 <xs:choice minOccurs="1">\r
1045 <xs:element minOccurs="0" maxOccurs="1" ref="Filename"/>\r
1046 <xs:element minOccurs="0" maxOccurs="unbounded" name="PcdBuildData">\r
1047 <xs:annotation>\r
1048 <xs:documentation xml:lang="en">Child of PcdBuildDeclarations</xs:documentation>\r
1049 <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
1050 <xs:documentation xml:lang="en">There is ONE required Attribute, ItemType</xs:documentation>\r
1051 </xs:annotation>\r
1052 <xs:complexType>\r
1053 <xs:sequence>\r
1054 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
1055 <xs:element minOccurs="1" maxOccurs="1" name="Token">\r
1056 <xs:annotation>\r
1057 <xs:documentation xml:lang="en">This as a unique identifier defined for either this name space.</xs:documentation>\r
1058 <xs:documentation xml:lang="en">The Target Attribute may be used to define a Target name space, such as PCI.</xs:documentation>\r
1059 </xs:annotation>\r
1060 <xs:complexType>\r
1061 <xs:simpleContent>\r
1062 <xs:extension base="HexDoubleWordDataType">\r
1063 <xs:attribute name="Target" type="C_Name" use="optional"/>\r
1064 </xs:extension>\r
1065 </xs:simpleContent>\r
1066 </xs:complexType>\r
1067 </xs:element>\r
cb9f0b9e 1068 <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>\r
878ddf1f 1069 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes">\r
1070 <xs:annotation>\r
1071 <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
1072 </xs:annotation>\r
1073 </xs:element>\r
1074 <xs:element default="false" minOccurs="1" maxOccurs="1" name="HiiEnable" type="xs:boolean">\r
1075 <xs:annotation>\r
1076 <xs:documentation xml:lang="en">This Bit means that the Variable data is associated with HII</xs:documentation>\r
1077 </xs:annotation>\r
1078 </xs:element>\r
1079 <xs:element default="false" minOccurs="1" maxOccurs="1" name="VpdEnable" type="xs:boolean">\r
1080 <xs:annotation>\r
1081 <xs:documentation xml:lang="en">This bit enables the Vital Product Data area within flash for maintaining PCD information</xs:documentation>\r
1082 </xs:annotation>\r
1083 </xs:element>\r
1084 <xs:element default="false" minOccurs="1" maxOccurs="1" name="AlternateNameSpaceEnable" type="xs:boolean">\r
1085 <xs:annotation>\r
1086 <xs:documentation>This is only applicable to ItemType DYNAMIC_EX</xs:documentation>\r
1087 </xs:annotation>\r
1088 </xs:element>\r
1089 <xs:element default="false" minOccurs="1" maxOccurs="1" name="SkuEnable" type="xs:boolean"/>\r
1090 <xs:element default="false" minOccurs="1" maxOccurs="1" name="SkuDataArrayEnable" type="xs:boolean"/>\r
1091 <xs:choice minOccurs="0">\r
1092 <xs:element minOccurs="0" maxOccurs="1" name="SkuDataArray">\r
1093 <xs:annotation>\r
1094 <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
1095 </xs:annotation>\r
1096 <xs:simpleType>\r
1097 <xs:list itemType="xs:normalizedString"/>\r
1098 </xs:simpleType>\r
1099 </xs:element>\r
1100 <xs:element minOccurs="0" maxOccurs="unbounded" name="SkuData">\r
1101 <xs:annotation>\r
1102 <xs:documentation xml:lang="en">This section is for a list of SkuData Elements, ID and Value</xs:documentation>\r
1103 </xs:annotation>\r
1104 <xs:complexType>\r
1105 <xs:sequence minOccurs="1">\r
1106 <xs:element name="Id" type="xs:int"/>\r
1107 <xs:element name="Value" type="xs:normalizedString"/>\r
1108 </xs:sequence>\r
1109 </xs:complexType>\r
1110 </xs:element>\r
1111 </xs:choice>\r
1112 <xs:element default="0x00" minOccurs="1" maxOccurs="1" name="MaxSku" type="HexByteDataType">\r
1113 <xs:annotation>\r
1114 <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
1115 </xs:annotation>\r
1116 </xs:element>\r
1117 <xs:element default="0x00" minOccurs="1" maxOccurs="1" name="SkuId" type="HexByteDataType">\r
1118 <xs:annotation>\r
1119 <xs:documentation xml:lang="en">This is the specific Sku ID for this build.</xs:documentation>\r
1120 </xs:annotation>\r
1121 </xs:element>\r
1122 <xs:element minOccurs="1" maxOccurs="1" name="DatumSize">\r
1123 <xs:annotation>\r
1124 <xs:documentation xml:lang="en">Max Number of Bytes of the data.</xs:documentation>\r
1125 </xs:annotation>\r
1126 <xs:simpleType>\r
1127 <xs:restriction base="xs:int">\r
1128 <xs:minInclusive value="1"/>\r
1129 <xs:maxInclusive value="16777215"/>\r
1130 </xs:restriction>\r
1131 </xs:simpleType>\r
1132 </xs:element>\r
1133 <xs:element minOccurs="1" maxOccurs="1" name="VariableGuid" type="VariableGuidType">\r
1134 <xs:annotation>\r
1135 <xs:documentation xml:lang="en">This is the Variable's GUID if and only if HII is enabled.</xs:documentation>\r
1136 </xs:annotation>\r
1137 </xs:element>\r
1138 <xs:element minOccurs="1" maxOccurs="1" name="VariableName" type="xs:normalizedString">\r
1139 <xs:annotation>\r
1140 <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
1141 </xs:annotation>\r
1142 </xs:element>\r
2558d455 1143 <xs:element minOccurs="0" maxOccurs="1" name="VariableValueDefault" type="xs:normalizedString"/>\r
878ddf1f 1144 <xs:element minOccurs="1" maxOccurs="1" name="DataOffset" type="Hex64BitDataType">\r
1145 <xs:annotation>\r
1146 <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
1147 </xs:annotation>\r
1148 </xs:element>\r
0df1e610 1149 <xs:element minOccurs="0" maxOccurs="1" name="GuidOffset" type="Hex64BitDataType">\r
878ddf1f 1150 <xs:annotation>\r
0df1e610 1151 <xs:documentation xml:lang="en">FIELD IS NOT USED! REMOVE in FINAL!</xs:documentation>\r
878ddf1f 1152 </xs:annotation>\r
1153 </xs:element>\r
1154 <xs:element minOccurs="1" maxOccurs="1" name="DefaultValue" type="xs:normalizedString"/>\r
1155 </xs:sequence>\r
1156 <xs:attributeGroup ref="PcdAttributes"/>\r
eebf7983 1157 <xs:attribute name="PcdIsDriver">\r
f29b8a33 1158 <xs:simpleType>\r
1159 <xs:annotation>\r
1160 <xs:documentation xml:lang="en">This is an enumerated data type that will be used for DYNAMIC_EX, PEIM or DXE only</xs:documentation>\r
1161 </xs:annotation>\r
1162 <xs:restriction base="UCNameType">\r
1163 <xs:enumeration value="PEI_PCD_DRIVER"/>\r
1164 <xs:enumeration value="DXE_PCD_DRIVER"/>\r
1165 </xs:restriction>\r
1166 </xs:simpleType>\r
1167 </xs:attribute>\r
878ddf1f 1168 </xs:complexType>\r
1169 </xs:element>\r
1170 </xs:choice>\r
1171 </xs:complexType>\r
f29b8a33 1172 </xs:element>\r
1173 <!-- PcdBuildDeclarations -->\r
1174 <xs:element name="PcdDynamicBuildDeclarations">\r
1175 <xs:annotation>\r
1176 <xs:documentation xml:lang="en">Child of Framework Platform Description (FPD)</xs:documentation>\r
1177 <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
1178 </xs:annotation>\r
1179 <xs:complexType>\r
1180 <xs:sequence>\r
1181 <xs:element minOccurs="0" maxOccurs="unbounded" name="PcdBuildData">\r
1182 <xs:annotation>\r
1183 <xs:documentation xml:lang="en">Child of PcdBuildDeclarations</xs:documentation>\r
1184 <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
1185 <xs:documentation xml:lang="en">There is ONE required Attribute, ItemType</xs:documentation>\r
1186 </xs:annotation>\r
1187 <xs:complexType>\r
1188 <xs:sequence>\r
1189 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
1190 <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>\r
1191 <xs:element minOccurs="1" maxOccurs="1" name="Token">\r
1192 <xs:annotation>\r
1193 <xs:documentation xml:lang="en">This as a unique identifier defined for either this name space.</xs:documentation>\r
1194 <xs:documentation xml:lang="en">The Target Attribute may be used to define a Target name space, such as PCI.</xs:documentation>\r
1195 </xs:annotation>\r
1196 <xs:complexType>\r
1197 <xs:simpleContent>\r
1198 <xs:extension base="HexDoubleWordDataType">\r
1199 <xs:attribute name="Target" type="C_Name" use="optional"/>\r
1200 </xs:extension>\r
1201 </xs:simpleContent>\r
1202 </xs:complexType>\r
1203 </xs:element>\r
cb9f0b9e 1204 <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>\r
e4ecc06e 1205 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>\r
1206 <xs:element default="false" minOccurs="1" maxOccurs="1" name="HiiEnable" type="xs:boolean"/>\r
1207 <xs:element default="false" minOccurs="1" maxOccurs="1" name="VpdEnable" type="xs:boolean"/>\r
1208 <xs:element default="false" minOccurs="1" maxOccurs="1" name="AlternateNameSpaceEnable" type="xs:boolean"/>\r
f29b8a33 1209 <xs:element default="false" minOccurs="1" maxOccurs="1" name="SkuEnable" type="xs:boolean"/>\r
1210 <xs:element default="false" minOccurs="1" maxOccurs="1" name="SkuDataArrayEnable" type="xs:boolean"/>\r
1211 <xs:choice minOccurs="0">\r
1212 <xs:element minOccurs="0" maxOccurs="1" name="SkuDataArray">\r
1213 <xs:annotation>\r
1214 <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
1215 </xs:annotation>\r
1216 <xs:simpleType>\r
1217 <xs:list itemType="xs:normalizedString"/>\r
1218 </xs:simpleType>\r
1219 </xs:element>\r
1220 <xs:element minOccurs="0" maxOccurs="unbounded" name="SkuData">\r
1221 <xs:annotation>\r
1222 <xs:documentation xml:lang="en">This section is for a list of SkuData Elements, ID and Value</xs:documentation>\r
1223 </xs:annotation>\r
1224 <xs:complexType>\r
1225 <xs:sequence minOccurs="1">\r
1226 <xs:element name="Id" type="xs:int"/>\r
1227 <xs:element name="Value" type="xs:normalizedString"/>\r
1228 </xs:sequence>\r
1229 </xs:complexType>\r
1230 </xs:element>\r
1231 </xs:choice>\r
1232 <xs:element default="0x00" minOccurs="1" maxOccurs="1" name="MaxSku" type="HexByteDataType">\r
1233 <xs:annotation>\r
1234 <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
1235 </xs:annotation>\r
1236 </xs:element>\r
e4ecc06e 1237 <xs:element default="0x00" minOccurs="1" maxOccurs="1" name="SkuId" type="HexByteDataType"/>\r
1238 <xs:element minOccurs="1" maxOccurs="1" name="DatumSize" type="DatumSizeLimitation"/>\r
1239 <xs:element minOccurs="1" maxOccurs="1" name="VariableGuid" type="VariableGuidType"/>\r
1240 <xs:element minOccurs="1" maxOccurs="1" name="VariableName" type="xs:normalizedString"/>\r
f29b8a33 1241 <xs:element minOccurs="0" maxOccurs="1" name="VariableValueDefault" type="xs:normalizedString"/>\r
e4ecc06e 1242 <xs:element minOccurs="1" maxOccurs="1" name="DataOffset" type="Hex64BitDataType"/>\r
1243 <xs:element minOccurs="0" maxOccurs="1" name="GuidOffset" type="Hex64BitDataType"/>\r
2558d455 1244 <xs:element minOccurs="1" maxOccurs="1" name="DefaultValue" type="xs:normalizedString"/>\r
1245 </xs:sequence>\r
1246 <xs:attributeGroup ref="PcdAttributes"/>\r
eebf7983 1247 <xs:attribute name="PcdIsDriver">\r
f29b8a33 1248 <xs:simpleType>\r
1249 <xs:annotation>\r
1250 <xs:documentation xml:lang="en">This is an enumerated data type that will be used for DYNAMIC_EX, PEIM or DXE only</xs:documentation>\r
1251 </xs:annotation>\r
1252 <xs:restriction base="UCNameType">\r
1253 <xs:enumeration value="PEI_PCD_DRIVER"/>\r
1254 <xs:enumeration value="DXE_PCD_DRIVER"/>\r
1255 </xs:restriction>\r
1256 </xs:simpleType>\r
1257 </xs:attribute>\r
2558d455 1258 </xs:complexType>\r
1259 </xs:element>\r
1260 </xs:sequence>\r
1261 </xs:complexType>\r
f29b8a33 1262 </xs:element>\r
e4ecc06e 1263 <xs:element name="DynamicPcdBuildDefinitions">\r
1264 <xs:annotation>\r
1265 <xs:documentation xml:lang="en">Child of Framework Platform Description (FPD)</xs:documentation>\r
1266 <xs:documentation xml:lang="en">FPD uses this PCD information for Dynamic PCDs Only</xs:documentation>\r
1267 </xs:annotation>\r
1268 <xs:complexType>\r
1269 <xs:sequence>\r
1270 <xs:element minOccurs="0" maxOccurs="unbounded" name="PcdBuildData">\r
1271 <xs:complexType>\r
1272 <xs:sequence>\r
1273 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
1274 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="HexDoubleWordDataType"/>\r
1275 <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>\r
1276 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>\r
1277 <xs:group minOccurs="0" maxOccurs="1" ref="SkuGroup"/>\r
1278 <xs:choice minOccurs="0" maxOccurs="1">\r
1279 <xs:group minOccurs="0" maxOccurs="1" ref="HiiGroup"/>\r
1280 <xs:group minOccurs="0" maxOccurs="1" ref="VpdGroup"/>\r
1281 </xs:choice>\r
1282 <xs:element minOccurs="1" maxOccurs="1" name="DatumSize" type="DatumSizeLimitation"/>\r
1283 <xs:element minOccurs="1" maxOccurs="1" name="Value" type="xs:normalizedString"/>\r
1284 </xs:sequence>\r
1285 <xs:attributeGroup ref="PcdAttributes"/>\r
1286 </xs:complexType>\r
1287 </xs:element>\r
1288 </xs:sequence>\r
1289 </xs:complexType>\r
1290 </xs:element>\r
1291 <xs:element name="PcdBuildDefinition">\r
1292 <xs:annotation>\r
1293 <xs:documentation xml:lang="en">Child of FPD ModuleSA element for FIXED_AT_BUILD, PATCHABLE_IN_MODULE, and FEATURE_FLAG PCDS Only!</xs:documentation>\r
1294 </xs:annotation>\r
1295 <xs:complexType>\r
1296 <xs:sequence minOccurs="1">\r
1297 <xs:element maxOccurs="unbounded" name="PcdData">\r
1298 <xs:complexType>\r
1299 <xs:sequence>\r
1300 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
1301 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="HexDoubleWordDataType"/>\r
1302 <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>\r
1303 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>\r
1304 <xs:group minOccurs="0" maxOccurs="1" ref="SkuGroup"/>\r
1305 <xs:choice minOccurs="0" maxOccurs="1">\r
1306 <xs:group minOccurs="0" maxOccurs="1" ref="HiiGroup"/>\r
1307 <xs:group minOccurs="0" maxOccurs="1" ref="VpdGroup"/>\r
1308 </xs:choice>\r
1309 <xs:element minOccurs="0" maxOccurs="1" name="DatumSize" type="DatumSizeLimitation"/>\r
1310 <xs:element minOccurs="0" maxOccurs="1" name="Value" type="xs:normalizedString"/>\r
1311 </xs:sequence>\r
1312 <xs:attributeGroup ref="PcdAttributes"/>\r
1313 </xs:complexType>\r
1314 </xs:element>\r
1315 </xs:sequence>\r
1316 </xs:complexType>\r
1317 </xs:element>\r
1318 <xs:group name="HiiGroup">\r
1319 <xs:annotation>\r
1320 <xs:documentation xml:lang="en">If HiiGroup is specified, then HiiEnable is default true</xs:documentation>\r
1321 </xs:annotation>\r
1322 <xs:sequence>\r
1323 <xs:element minOccurs="0" maxOccurs="1" name="VariableName" type="xs:normalizedString"/>\r
1324 <xs:element minOccurs="0" maxOccurs="1" name="VariableGuid" type="VariableGuidType"/>\r
1325 <xs:element minOccurs="0" maxOccurs="1" name="VariableOffset" type="Hex64BitDataType"/>\r
1326 </xs:sequence>\r
1327 </xs:group>\r
1328 <xs:group name="VpdGroup">\r
1329 <xs:sequence>\r
1330 <xs:element minOccurs="0" maxOccurs="1" name="VpdOffset" type="Hex64BitDataType"/>\r
1331 </xs:sequence>\r
1332 </xs:group>\r
1333 <xs:group name="SkuGroup">\r
1334 <xs:sequence>\r
1335 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="SkuSet" type="SkuListType"/>\r
1336 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="SkuList" type="SkuListType"/>\r
1337 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuDataArrayEnable" type="xs:boolean"/>\r
1338 <xs:element minOccurs="0" maxOccurs="unbounded" name="SkuData">\r
1339 <xs:complexType>\r
1340 <xs:sequence minOccurs="1">\r
1341 <xs:element name="Id" type="xs:int"/>\r
1342 <xs:element name="Value" type="xs:normalizedString"/>\r
1343 </xs:sequence>\r
1344 </xs:complexType>\r
1345 </xs:element>\r
1346 </xs:sequence>\r
1347 </xs:group>\r
1348 <xs:element name="PcdCoded">\r
1349 <xs:annotation>\r
1350 <xs:documentation xml:lang="en">Child of Module Surface Area Description (MSA)</xs:documentation>\r
1351 </xs:annotation>\r
1352 <xs:complexType>\r
1353 <xs:sequence minOccurs="1">\r
1354 <xs:element maxOccurs="unbounded" name="PcdEntry">\r
1355 <xs:annotation>\r
1356 <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
1357 <xs:documentation xml:lang="en">This element is valid for PcdInfo.xml and FPD files.</xs:documentation>\r
1358 </xs:annotation>\r
1359 <xs:complexType>\r
1360 <xs:sequence>\r
1361 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
1362 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValue"/>\r
1363 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>\r
1364 </xs:sequence>\r
1365 <!-- MSA file declares a single usage, and must match one of the entries in what the SPD file declares as the set of possible Item Types. -->\r
1366 <xs:attribute name="PcdItemType" type="PcdItemTypes" use="required"/>\r
1367 </xs:complexType>\r
1368 </xs:element>\r
1369 </xs:sequence>\r
1370 </xs:complexType>\r
1371 </xs:element>\r
47d0b581 1372 <xs:element name="PcdDeclarations">\r
1373 <xs:annotation>\r
1374 <xs:documentation xml:lang="en">Child of Package Surface Area Description (SPD)</xs:documentation>\r
1375 <xs:documentation xml:lang="en">This permits entering information about a package's PCD information</xs:documentation>\r
1376 </xs:annotation>\r
1377 <xs:complexType>\r
1378 <xs:sequence minOccurs="1">\r
1379 <xs:element maxOccurs="unbounded" name="PcdEntry">\r
1380 <xs:annotation>\r
1381 <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
1382 <xs:documentation xml:lang="en">This element is valid for PcdInfo.xml and FPD files.</xs:documentation>\r
1383 <xs:documentation xml:lang="en">There is ONE required Attribute, ItemType</xs:documentation>\r
1384 </xs:annotation>\r
1385 <xs:complexType>\r
1386 <xs:sequence>\r
1387 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
1388 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="Token"/>\r
1389 <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>\r
1390 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>\r
1391 <xs:element minOccurs="1" maxOccurs="1" name="ValidUsage" type="PcdListType"/>\r
1392 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValue"/>\r
1393 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>\r
1394 </xs:sequence>\r
1395 <xs:attributeGroup ref="PcdAttributes"/>\r
1396 </xs:complexType>\r
1397 </xs:element>\r
1398 </xs:sequence>\r
1399 </xs:complexType>\r
1400 </xs:element>\r
1401 <!-- DO NOT USE removing PcdDefinitions, use PcdDeclarations for SPD entries Use PcdBuildDeclarations for MSA Entires and PcdDynamicBuildDeclarations for FPD Entries -->\r
878ddf1f 1402 <xs:element name="PcdDefinitions">\r
1403 <xs:annotation>\r
1404 <xs:documentation xml:lang="en">Child of Package Surface Area Description (SPD)</xs:documentation>\r
1405 <xs:documentation xml:lang="en">This permits entering information about a package's PCD information</xs:documentation>\r
1406 </xs:annotation>\r
1407 <xs:complexType>\r
1408 <xs:sequence minOccurs="1">\r
1409 <xs:element maxOccurs="unbounded" name="PcdEntry">\r
1410 <xs:annotation>\r
1411 <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
1412 <xs:documentation xml:lang="en">This element is valid for PcdInfo.xml and FPD files.</xs:documentation>\r
1413 <xs:documentation xml:lang="en">There is ONE required Attribute, ItemType</xs:documentation>\r
1414 </xs:annotation>\r
1415 <xs:complexType>\r
1416 <xs:sequence>\r
1417 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
1418 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="Token"/>\r
cb9f0b9e 1419 <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>\r
878ddf1f 1420 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>\r
1421 <xs:element default="false" minOccurs="0" maxOccurs="1" name="HiiEnable" type="xs:boolean"/>\r
1422 <xs:element default="false" minOccurs="0" maxOccurs="1" name="VpdEnable" type="xs:boolean"/>\r
1423 <xs:element default="false" minOccurs="0" maxOccurs="1" name="AlternateNameSpaceEnable" type="xs:boolean"/>\r
1424 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuEnable" type="xs:boolean"/>\r
1425 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuDataArrayEnable" type="xs:boolean"/>\r
1426 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="MaxSku" type="HexByteDataType"/>\r
1427 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="SkuId" type="HexByteDataType"/>\r
1428 <xs:element minOccurs="0" maxOccurs="1" name="DatumSize">\r
1429 <xs:annotation>\r
1430 <xs:documentation xml:lang="en">Max Number of Bytes of the data.</xs:documentation>\r
1431 </xs:annotation>\r
1432 <xs:simpleType>\r
1433 <xs:restriction base="xs:int">\r
1434 <xs:minInclusive value="1"/>\r
1435 <xs:maxInclusive value="16777215"/>\r
1436 </xs:restriction>\r
1437 </xs:simpleType>\r
1438 </xs:element>\r
1439 <xs:element minOccurs="0" maxOccurs="1" name="VariableName" type="xs:normalizedString"/>\r
1440 <xs:element minOccurs="0" maxOccurs="1" name="VariableGuid" type="VariableGuidType"/>\r
1441 <xs:element minOccurs="0" maxOccurs="1" name="DataOffset" type="Hex64BitDataType"/>\r
1442 <xs:element default="0" minOccurs="0" maxOccurs="1" name="GuidOffset" type="Hex64BitDataType"/>\r
1443 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValue"/>\r
1444 </xs:sequence>\r
1445 <xs:attributeGroup ref="PcdAttributes"/>\r
1446 </xs:complexType>\r
1447 </xs:element>\r
1448 </xs:sequence>\r
1449 </xs:complexType>\r
1450 </xs:element>\r
1451 <xs:element name="Platform">\r
1452 <xs:annotation>\r
1453 <xs:documentation xml:lang="en">Database Entry to locate the Platform Build Tips - path to FPD file.</xs:documentation>\r
1454 </xs:annotation>\r
1455 <xs:complexType>\r
1456 <xs:sequence>\r
2558d455 1457 <xs:element minOccurs="0" maxOccurs="1" name="PlatformName">\r
878ddf1f 1458 <xs:annotation>\r
1459 <xs:documentation xml:lang="en">Define the Name of a Platform</xs:documentation>\r
1460 </xs:annotation>\r
1461 <xs:complexType>\r
1462 <xs:simpleContent>\r
1463 <xs:extension base="PlatformNamingConvention">\r
1464 <xs:attributeGroup ref="PlatformAttributes"/>\r
1465 </xs:extension>\r
1466 </xs:simpleContent>\r
1467 </xs:complexType>\r
1468 </xs:element>\r
3a0a3d38 1469 <xs:choice minOccurs="0">\r
1470 <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>\r
1471 <xs:element minOccurs="0" maxOccurs="1" ref="Filename"/>\r
1472 </xs:choice>\r
2558d455 1473 <xs:element minOccurs="0" maxOccurs="1" ref="InstalledDate"/>\r
1474 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>\r
878ddf1f 1475 <xs:element minOccurs="0" maxOccurs="1" name="AlternatePcdFile" type="FileNameConvention"/>\r
1476 <xs:element minOccurs="0" maxOccurs="1" name="AlternateFdfFile" type="FileNameConvention"/>\r
1477 </xs:sequence>\r
1478 <xs:attributeGroup ref="PlatformAttributes"/>\r
1479 </xs:complexType>\r
1480 </xs:element>\r
1481 <xs:element name="PpiDeclarations">\r
1482 <xs:complexType>\r
1483 <xs:sequence>\r
1484 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">\r
1485 <xs:complexType>\r
1486 <xs:sequence>\r
1487 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
3a0a3d38 1488 <xs:choice>\r
1489 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
1490 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
1491 </xs:choice>\r
1492 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="xs:normalizedString"/>\r
878ddf1f 1493 </xs:sequence>\r
1494 <xs:attribute name="Name" type="xs:normalizedString" use="required"/>\r
1495 </xs:complexType>\r
1496 </xs:element>\r
1497 </xs:sequence>\r
1498 </xs:complexType>\r
1499 </xs:element>\r
1500 <xs:element name="PPIs">\r
1501 <xs:annotation>\r
1502 <xs:documentation xml:lang="en">Provide for one or more Ppi or PpiNotify sections. </xs:documentation>\r
1503 </xs:annotation>\r
1504 <xs:complexType>\r
1505 <xs:sequence minOccurs="1">\r
1506 <xs:element minOccurs="0" maxOccurs="unbounded" name="Ppi">\r
1507 <xs:complexType>\r
1508 <xs:simpleContent>\r
1509 <xs:extension base="C_Name">\r
1510 <xs:attributeGroup ref="PpiAttributes"/>\r
1511 </xs:extension>\r
1512 </xs:simpleContent>\r
1513 </xs:complexType>\r
1514 </xs:element>\r
1515 <xs:element minOccurs="0" maxOccurs="unbounded" name="PpiNotify">\r
1516 <xs:complexType>\r
1517 <xs:simpleContent>\r
1518 <xs:extension base="C_Name">\r
1519 <xs:attributeGroup ref="PpiNotifyAttributes"/>\r
1520 </xs:extension>\r
1521 </xs:simpleContent>\r
1522 </xs:complexType>\r
1523 </xs:element>\r
3a0a3d38 1524 <!-- DO NOT USE Arch element, use Arch Attribute in above instead. -->\r
878ddf1f 1525 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
1526 <xs:complexType>\r
1527 <xs:sequence>\r
1528 <xs:element minOccurs="0" maxOccurs="unbounded" name="Ppi">\r
1529 <xs:complexType>\r
1530 <xs:simpleContent>\r
1531 <xs:extension base="C_Name">\r
1532 <xs:attributeGroup ref="PpiAttributes"/>\r
1533 </xs:extension>\r
1534 </xs:simpleContent>\r
1535 </xs:complexType>\r
1536 </xs:element>\r
1537 <xs:element minOccurs="0" maxOccurs="unbounded" name="PpiNotify">\r
1538 <xs:complexType>\r
1539 <xs:simpleContent>\r
1540 <xs:extension base="C_Name">\r
1541 <xs:attributeGroup ref="PpiNotifyAttributes"/>\r
1542 </xs:extension>\r
1543 </xs:simpleContent>\r
1544 </xs:complexType>\r
1545 </xs:element>\r
1546 </xs:sequence>\r
1547 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
1548 </xs:complexType>\r
1549 </xs:element>\r
1550 </xs:sequence>\r
1551 </xs:complexType>\r
1552 </xs:element>\r
1553 <xs:element name="ProtocolDeclarations">\r
1554 <xs:complexType>\r
1555 <xs:sequence>\r
1556 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">\r
1557 <xs:complexType>\r
1558 <xs:sequence>\r
1559 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>\r
1560 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
1561 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="C_Name"/>\r
1562 </xs:sequence>\r
1563 <xs:attribute name="Name" type="xs:normalizedString" use="required"/>\r
1564 </xs:complexType>\r
1565 </xs:element>\r
1566 </xs:sequence>\r
1567 </xs:complexType>\r
1568 </xs:element>\r
1569 <xs:element name="Protocols">\r
1570 <xs:annotation>\r
1571 <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
1572 </xs:annotation>\r
1573 <xs:complexType>\r
1574 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
1575 <xs:element minOccurs="0" maxOccurs="unbounded" name="Protocol">\r
1576 <xs:complexType>\r
1577 <xs:simpleContent>\r
1578 <xs:extension base="C_Name">\r
1579 <xs:attributeGroup ref="ProtocolAttributes"/>\r
1580 </xs:extension>\r
1581 </xs:simpleContent>\r
1582 </xs:complexType>\r
1583 </xs:element>\r
1584 <xs:element minOccurs="0" maxOccurs="unbounded" name="ProtocolNotify">\r
1585 <xs:complexType>\r
1586 <xs:simpleContent>\r
1587 <xs:extension base="C_Name">\r
1588 <xs:attributeGroup ref="ProtocolNotifyAttributes"/>\r
1589 </xs:extension>\r
1590 </xs:simpleContent>\r
1591 </xs:complexType>\r
1592 </xs:element>\r
47d0b581 1593 <!-- DO NOT USE! removing Arch element, use Arch attribute of Protocol or ProtocolNotify instead. -->\r
878ddf1f 1594 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
1595 <xs:complexType>\r
1596 <xs:sequence>\r
1597 <xs:element minOccurs="0" maxOccurs="unbounded" name="Protocol">\r
1598 <xs:complexType>\r
1599 <xs:simpleContent>\r
1600 <xs:extension base="C_Name">\r
1601 <xs:attributeGroup ref="ProtocolAttributes"/>\r
1602 </xs:extension>\r
1603 </xs:simpleContent>\r
1604 </xs:complexType>\r
1605 </xs:element>\r
1606 <xs:element minOccurs="0" maxOccurs="unbounded" name="ProtocolNotify">\r
1607 <xs:complexType>\r
1608 <xs:simpleContent>\r
1609 <xs:extension base="C_Name">\r
1610 <xs:attributeGroup ref="ProtocolNotifyAttributes"/>\r
1611 </xs:extension>\r
1612 </xs:simpleContent>\r
1613 </xs:complexType>\r
1614 </xs:element>\r
1615 </xs:sequence>\r
1616 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
1617 </xs:complexType>\r
1618 </xs:element>\r
1619 </xs:sequence>\r
1620 </xs:complexType>\r
1621 </xs:element>\r
1622 <xs:element default="false" name="ReadOnly" type="xs:boolean"/>\r
1623 <xs:element default="false" name="RePackage" type="xs:boolean"/>\r
1624 <xs:element name="Sections">\r
1625 <xs:annotation>\r
1626 <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
1627 </xs:annotation>\r
1628 <xs:complexType>\r
1629 <xs:sequence minOccurs="1">\r
1630 <xs:element minOccurs="0" maxOccurs="unbounded" name="Section">\r
1631 <xs:complexType>\r
1632 <xs:sequence>\r
1633 <xs:element minOccurs="0" ref="Filenames"/>\r
1634 <xs:element minOccurs="0" name="Args" type="ArgsType"/>\r
1635 <xs:element minOccurs="0" name="OutFile" type="FileNameConvention"/>\r
1636 <xs:element minOccurs="0" name="OutputFileExtension" type="xs:string"/>\r
1637 <xs:element minOccurs="0" name="ToolName" type="ToolType"/>\r
1638 </xs:sequence>\r
1639 <xs:attributeGroup ref="SectionAttributes"/>\r
1640 </xs:complexType>\r
1641 </xs:element>\r
1642 <xs:element minOccurs="0" maxOccurs="unbounded" name="Sections">\r
1643 <xs:complexType>\r
1644 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
1645 <xs:element name="Section">\r
1646 <xs:complexType>\r
1647 <xs:sequence>\r
1648 <xs:element minOccurs="0" ref="Filenames"/>\r
1649 <xs:element minOccurs="0" name="Args" type="ArgsType"/>\r
1650 <xs:element minOccurs="0" name="OutFile" type="FileNameConvention"/>\r
1651 <xs:element minOccurs="0" name="OutputFileExtension" type="xs:string"/>\r
1652 <xs:element minOccurs="0" name="ToolName" type="ToolType"/>\r
1653 </xs:sequence>\r
1654 <xs:attributeGroup ref="SectionAttributes"/>\r
1655 </xs:complexType>\r
1656 </xs:element>\r
1657 </xs:sequence>\r
1658 <xs:attributeGroup ref="SectionsAttributes"/>\r
1659 </xs:complexType>\r
1660 </xs:element>\r
1661 </xs:sequence>\r
1662 <xs:attributeGroup ref="SectionsAttributes"/>\r
1663 </xs:complexType>\r
1664 </xs:element>\r
1665 <xs:element name="SetVirtualAddressMapCallBack" type="C_Name"/>\r
1666 <xs:element name="SourceFiles">\r
1667 <xs:annotation>\r
1668 <xs:documentation xml:lang="en">Multiple Filenames may be specified, and they may also be scoped to a specific Architecture.</xs:documentation>\r
1669 </xs:annotation>\r
1670 <xs:complexType>\r
1671 <xs:sequence minOccurs="1">\r
1672 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Filename"/>\r
47d0b581 1673 <!-- DO NOT USE! removing Arch element, use Arch Attribute of Filename instead. -->\r
878ddf1f 1674 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
1675 <xs:complexType>\r
1676 <xs:sequence minOccurs="1">\r
1677 <xs:element maxOccurs="unbounded" ref="Filename"/>\r
1678 </xs:sequence>\r
1679 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
1680 </xs:complexType>\r
1681 </xs:element>\r
1682 </xs:sequence>\r
1683 </xs:complexType>\r
1684 </xs:element>\r
1685 <xs:element name="Specification">\r
1686 <xs:annotation>\r
1687 <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
1688 </xs:annotation>\r
1689 <xs:complexType>\r
1690 <xs:simpleContent>\r
1691 <xs:extension base="xs:normalizedString">\r
1692 <xs:attribute name="Version" type="xs:normalizedString" use="optional"/>\r
1693 </xs:extension>\r
1694 </xs:simpleContent>\r
1695 </xs:complexType>\r
1696 </xs:element>\r
1697 <xs:element name="SystemTables">\r
1698 <xs:annotation>\r
1699 <xs:documentation xml:lang="en">This is list of System Table elements.</xs:documentation>\r
1700 </xs:annotation>\r
1701 <xs:complexType>\r
1702 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
1703 <xs:element name="SystemTable">\r
1704 <xs:complexType>\r
1705 <xs:sequence>\r
1706 <xs:element minOccurs="0" maxOccurs="1" name="Entry" type="xs:normalizedString"/>\r
1707 </xs:sequence>\r
1708 <xs:attributeGroup ref="SystemTableAttributes"/>\r
1709 </xs:complexType>\r
1710 </xs:element>\r
1711 </xs:sequence>\r
1712 </xs:complexType>\r
1713 </xs:element>\r
1714 <xs:element name="Updated" type="DateType"/>\r
f29b8a33 1715 <xs:element name="UpdatedDate" type="DateType"/>\r
878ddf1f 1716 <xs:element name="URL" type="xs:anyURI"/>\r
1717 <xs:element name="URI" type="xs:anyURI"/>\r
1718 <xs:element name="UserDefinedAntTasks">\r
1719 <xs:annotation>\r
1720 <xs:documentation xml:lang="en">This is a sub-element of BuildOptions</xs:documentation>\r
1721 <xs:documentation xml:lang="en">Permit Users to define their own custom ANT tasks.</xs:documentation>\r
1722 </xs:annotation>\r
1723 <xs:complexType>\r
1724 <xs:sequence maxOccurs="unbounded">\r
1725 <xs:element minOccurs="1" ref="AntTask"/>\r
1726 </xs:sequence>\r
1727 </xs:complexType>\r
1728 </xs:element>\r
e4ecc06e 1729 <xs:element name="UserExtensions">\r
1730 <xs:complexType>\r
1731 <xs:complexContent mixed="true">\r
1732 <xs:extension base="xs:anyType">\r
1733 <xs:attribute name="UserID" type="xs:NCName" use="required"/>\r
1734 <xs:attribute name="Identifier" type="xs:integer" use="required"/>\r
1735 </xs:extension>\r
1736 </xs:complexContent>\r
1737 </xs:complexType>\r
1738 </xs:element>\r
878ddf1f 1739 <xs:element name="Variables">\r
1740 <xs:annotation>\r
1741 <xs:documentation xml:lang="en">A list of EFI Variables described by GUID string pair.</xs:documentation>\r
1742 </xs:annotation>\r
1743 <xs:complexType>\r
1744 <xs:sequence minOccurs="1" maxOccurs="unbounded">\r
1745 <xs:element name="Variable">\r
1746 <xs:annotation>\r
1747 <xs:documentation xml:lang="en">This is an EFI Variable Entry</xs:documentation>\r
1748 </xs:annotation>\r
1749 <xs:complexType>\r
1750 <xs:sequence>\r
1751 <xs:element minOccurs="1" maxOccurs="1" name="String" type="xs:normalizedString"/>\r
3a0a3d38 1752 <xs:choice minOccurs="1">\r
1753 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>\r
1754 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>\r
1755 </xs:choice>\r
878ddf1f 1756 <xs:element minOccurs="0" maxOccurs="1" name="ByteOffset" type="HexWordDataType">\r
1757 <xs:annotation>\r
1758 <xs:documentation xml:lang="en">This entry represents the Hex Byte Offset {0x0, 0xn} to where the data starts.</xs:documentation>\r
1759 </xs:annotation>\r
1760 </xs:element>\r
1761 <xs:element minOccurs="0" maxOccurs="1" name="BitOffset">\r
1762 <xs:annotation>\r
1763 <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
1764 </xs:annotation>\r
1765 <xs:simpleType>\r
1766 <xs:restriction base="xs:int">\r
1767 <xs:minInclusive value="0"/>\r
1768 <xs:maxInclusive value="8"/>\r
1769 </xs:restriction>\r
1770 </xs:simpleType>\r
1771 </xs:element>\r
1772 <xs:element minOccurs="0" maxOccurs="1" name="OffsetBitSize">\r
1773 <xs:annotation>\r
1774 <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
1775 </xs:annotation>\r
1776 <xs:simpleType>\r
1777 <xs:restriction base="xs:int">\r
1778 <xs:minInclusive value="0"/>\r
1779 <xs:maxInclusive value="7"/>\r
1780 </xs:restriction>\r
1781 </xs:simpleType>\r
1782 </xs:element>\r
1783 </xs:sequence>\r
1784 <xs:attributeGroup ref="VariableAttributes"/>\r
1785 </xs:complexType>\r
1786 </xs:element>\r
3a0a3d38 1787 <!-- DO NOT USE Arch element, use attribute Arch in above. -->\r
878ddf1f 1788 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">\r
1789 <xs:complexType>\r
1790 <xs:sequence>\r
1791 <xs:element name="Variable">\r
1792 <xs:annotation>\r
1793 <xs:documentation xml:lang="en">This is an EFI Variable Entry</xs:documentation>\r
1794 </xs:annotation>\r
1795 <xs:complexType>\r
1796 <xs:sequence>\r
1797 <xs:element minOccurs="1" maxOccurs="1" name="String" type="xs:normalizedString"/>\r
1798 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>\r
1799 <xs:element minOccurs="0" maxOccurs="1" name="ByteOffset" type="HexWordDataType">\r
1800 <xs:annotation>\r
1801 <xs:documentation xml:lang="en">This entry represents the Hex Byte Offset {0x0, 0xn} to where the data starts.</xs:documentation>\r
1802 </xs:annotation>\r
1803 </xs:element>\r
1804 <xs:element minOccurs="0" maxOccurs="1" name="BitOffset">\r
1805 <xs:annotation>\r
1806 <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
1807 </xs:annotation>\r
1808 <xs:simpleType>\r
1809 <xs:restriction base="xs:int">\r
1810 <xs:minInclusive value="0"/>\r
1811 <xs:maxInclusive value="8"/>\r
1812 </xs:restriction>\r
1813 </xs:simpleType>\r
1814 </xs:element>\r
1815 <xs:element minOccurs="0" maxOccurs="1" name="OffsetBitSize">\r
1816 <xs:annotation>\r
1817 <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
1818 </xs:annotation>\r
1819 <xs:simpleType>\r
1820 <xs:restriction base="xs:int">\r
1821 <xs:minInclusive value="0"/>\r
1822 <xs:maxInclusive value="7"/>\r
1823 </xs:restriction>\r
1824 </xs:simpleType>\r
1825 </xs:element>\r
1826 </xs:sequence>\r
1827 <xs:attributeGroup ref="VariableAttributes"/>\r
1828 </xs:complexType>\r
1829 </xs:element>\r
1830 </xs:sequence>\r
1831 <xs:attribute name="ArchType" type="SupportedArchitectures"/>\r
1832 </xs:complexType>\r
1833 </xs:element>\r
1834 </xs:sequence>\r
1835 </xs:complexType>\r
1836 </xs:element>\r
1837 <xs:element name="Version" type="xs:normalizedString"/>\r
1838</xs:schema>\r