1 <?xml version="1.0" encoding="UTF-8"?>
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">
4 Filename: FrameworkDataElements.xsd
6 Copyright (c) 2006, Intel Corp.
7 All rights reserved. This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which may be found at http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 <xs:documentation xml:lang="en"> This schema defines EFI and Framework Data Elements </xs:documentation>
18 <xs:include schemaLocation="NamingConvention.xsd"/>
19 <xs:include schemaLocation="FrameworkDataTypes.xsd"/>
20 <xs:include schemaLocation="FrameworkPlatformDataTypes.xsd"/>
21 <xs:include schemaLocation="FrameworkDataAttributes.xsd"/>
22 <xs:element name="Abstract" type="Sentence">
24 <xs:documentation xml:lang="en">Abstract is valid for all Description Files</xs:documentation>
25 <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>
28 <xs:element name="AntCmd">
30 <xs:documentation xml:lang="en">This is a sub-element of AntTask</xs:documentation>
31 <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>
35 <xs:element minOccurs="0" name="Id" type="xs:int"/>
36 <xs:element name="ExecutionOrder">
38 <xs:list itemType="xs:normalizedString"/>
44 <xs:element name="AntTask">
46 <xs:documentation xml:lang="en">This is a sub-element of UserDefinedAntTasks</xs:documentation>
47 <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>
51 <xs:element ref="AntCmd"/>
52 <xs:element ref="Filename"/>
54 <xs:attribute name="Id" type="xs:int" use="required"/>
57 <xs:element name="BaseName">
59 <xs:documentation xml:lang="en">BaseName is valid for all Description Files</xs:documentation>
60 <xs:documentation xml:lang="en"> We need to be able to permit different attributes for every basename </xs:documentation>
64 <xs:extension base="BaseNameConvention">
65 <xs:attributeGroup ref="BaseNameAttributes"/>
70 <xs:element name="BootModes">
72 <xs:documentation xml:lang="en">BootModes is valid for all Description Files</xs:documentation>
73 <xs:documentation xml:lang="en">This is a list of BootModes Supported by the Module</xs:documentation>
76 <xs:sequence minOccurs="1" maxOccurs="unbounded">
77 <xs:element name="BootMode">
79 <xs:attributeGroup ref="BootModeAttributes"/>
85 <xs:element name="BuildOptions">
87 <xs:documentation xml:lang="en">BuildOptions is valid for MBD and FPD files.</xs:documentation>
88 <xs:documentation xml:lang="en">Specific Build Options, by Tool Chain, than should be applied, overriding any global options</xs:documentation>
92 <xs:element minOccurs="0" maxOccurs="1" ref="UserDefinedAntTasks"/>
93 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ImageEntryPoint"/>
94 <xs:element minOccurs="0" maxOccurs="1" ref="OutputDirectory"/>
95 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Ffs"/>
96 <xs:element minOccurs="0" maxOccurs="1" ref="Sections"/>
97 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Filenames"/>
98 <xs:element ref="Options" minOccurs="0" maxOccurs="1"/>
99 <xs:sequence minOccurs="0">
100 <xs:element minOccurs="0" maxOccurs="unbounded" name="Option">
103 <xs:extension base="xs:normalizedString">
104 <xs:attributeGroup ref="OptionAttributes"/>
109 <!-- Arch element should be removed - use Arch attributes to the above instead. -->
110 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
112 <xs:sequence minOccurs="1">
113 <xs:element maxOccurs="unbounded" name="Option">
116 <xs:extension base="xs:normalizedString">
117 <xs:attributeGroup ref="OptionAttributes"/>
123 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
127 <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>
129 <xs:attribute name="ToolChain" type="ToolChains"/>
132 <xs:element name="Options">
135 <xs:element minOccurs="1" maxOccurs="unbounded" ref="Option"/>
139 <xs:element name="Option">
140 <!-- This element is used to store flags from the Tools -->
143 <xs:extension base="xs:normalizedString">
144 <xs:attributeGroup ref="OptionAttributes"/>
149 <xs:element name="ModuleBuildOptions">
152 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##local"/>
156 <xs:element name="ModuleSaBuildOptions">
159 <xs:element minOccurs="0" maxOccurs="1" name="FvBinding" type="FfsNameType"/>
160 <!-- The FfsFileNameGuid allows the Platform Integrator to specify a GUID for the FFS File Name GUID -->
161 <xs:element minOccurs="0" maxOccurs="1" name="FfsFileNameGuid" type="GuidType"/>
162 <!-- If binding is specified, you MUST specify the FfsFormatKey -->
163 <xs:element minOccurs="0" maxOccurs="1" name="FfsFormatKey" type="FfsNameType"/>
164 <xs:element minOccurs="0" maxOccurs="1" ref="Options"/>
168 <xs:element name="ModuleDefinitions">
171 <xs:element minOccurs="1" maxOccurs="1" name="SupportedArchitectures" type="ArchListType"/>
172 <xs:element minOccurs="1" maxOccurs="1" name="BinaryModule" type="xs:boolean" default="false"/>
173 <xs:element minOccurs="1" maxOccurs="1" name="OutputFileBasename" type="FileNameConvention"/>
177 <xs:element name="C_Name" type="C_Name">
179 <xs:documentation xml:lang="en">C_Name is valid for all Description Files</xs:documentation>
182 <xs:element name="ComponentName" type="C_Name">
184 <xs:documentation xml:lang="en">ComponentName is valid for all Description Files</xs:documentation>
187 <xs:element name="ComponentType" type="FrameworkComponentTypes">
189 <xs:documentation xml:lang="en">Describe the valid Framework Component Type</xs:documentation>
192 <xs:element name="ConditionalExpression">
193 <!-- DO NOT USE remove and use FeatureFlag instead -->
195 <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>
199 <xs:element minOccurs="1" maxOccurs="unbounded" name="Condition" type="xs:normalizedString"/>
201 <xs:attribute name="ConditionalTarget" type="ConditionalTarget" use="optional"/>
204 <xs:element name="Constructor" type="C_Name"/>
205 <xs:element name="Copyright" type="Sentence"/>
206 <xs:element name="Created" type="DateType"/>
207 <xs:element name="CreatedDate" type="DateType"/>
208 <xs:element name="CreatedBy" type="UserName"/>
209 <xs:element name="DataHubs">
211 <xs:documentation xml:lang="en">This is a list of DataHubRecord elements.</xs:documentation>
214 <xs:sequence minOccurs="1" maxOccurs="unbounded">
215 <xs:element name="DataHubRecord">
218 <xs:extension base="C_NameType">
219 <xs:attributeGroup ref="DataHubAttributes"/>
224 <!-- Remove Arch and use Arch Attribute for DataHubRecord instead. -->
225 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
228 <xs:element name="DataHubRecord">
231 <xs:extension base="xs:normalizedString">
232 <xs:attributeGroup ref="DataHubAttributes"/>
238 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
244 <xs:element name="DatabaseName">
246 <xs:documentation xml:lang="en">The Name of the Database, "FrameworkDatabase"</xs:documentation>
250 <xs:extension base="BaseNameConvention">
251 <xs:attributeGroup ref="BaseNameAttributes"/>
256 <xs:element name="DefaultValue">
258 <xs:documentation xml:lang="en">The default setting of a PCD entry.</xs:documentation>
262 <xs:extension base="xs:normalizedString"/>
266 <xs:element name="Description" type="Paragraph">
268 <xs:documentation xml:lang="en">This section is required for new modules and libraries and must contain more information than the Abstract.</xs:documentation>
271 <xs:element name="Destructor" type="C_Name"/>
272 <xs:element name="DriverBinding" type="C_Name"/>
273 <xs:element name="DriverConfig" type="C_Name"/>
274 <xs:element name="DriverDiag" type="C_Name"/>
275 <xs:element name="E-Mail" type="E-Mail"/>
276 <xs:element name="Events">
278 <xs:documentation xml:lang="en">This is a list of MSA Events</xs:documentation>
282 <xs:element minOccurs="0" maxOccurs="1" name="CreateEvents">
284 <xs:sequence minOccurs="1" maxOccurs="unbounded">
285 <xs:element name="Event">
289 <xs:element minOccurs="0" maxOccurs="1" name="GuidC_Name" type="C_NameType"/>
290 <!-- DO NOT USE, removing C_Name in final -->
291 <xs:element minOccurs="0" maxOccurs="1" ref="C_Name"/>
293 <!-- DO NOT USE, removing Guid and GuidValue from Final -->
294 <xs:choice minOccurs="0">
295 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
296 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
299 <xs:attributeGroup ref="EventAttributes"/>
302 <!-- Remove Arch Section and use Arch Attribute instead in Event. -->
303 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
306 <xs:element name="Event">
309 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>
310 <xs:choice minOccurs="0">
311 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
312 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
315 <xs:attributeGroup ref="EventAttributes"/>
319 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
325 <xs:element minOccurs="0" maxOccurs="1" name="SignalEvents">
327 <xs:documentation xml:lang="en">Module has an event that is waiting to be signaled. Event is named by GUID.</xs:documentation>
330 <xs:sequence minOccurs="1" maxOccurs="unbounded">
331 <xs:element name="Event">
335 <xs:element minOccurs="0" maxOccurs="1" name="GuidC_Name" type="C_NameType"/>
336 <!-- DO NOT USE, removing C_Name in final -->
337 <xs:element minOccurs="0" maxOccurs="1" ref="C_Name"/>
339 <!-- DO NOT USE, removing Guid and GuidValue from Final -->
340 <xs:choice minOccurs="0">
341 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
342 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
345 <xs:attributeGroup ref="EventAttributes"/>
348 <!-- Remove Arch and use Arch attribute in Event above -->
349 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
352 <xs:element name="Event">
355 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>
357 <xs:attributeGroup ref="EventAttributes"/>
361 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
370 <xs:element name="ExitBootServicesCallBack" type="C_Name"/>
371 <xs:element name="Externs">
373 <xs:documentation xml:lang="en">This is a child of MSA files.</xs:documentation>
376 <xs:sequence minOccurs="1">
377 <xs:element minOccurs="0" maxOccurs="1" name="PcdIsDriver" type="PcdDriverTypes"/>
378 <xs:element minOccurs="0" maxOccurs="unbounded" name="Specification" type="Sentence"/>
379 <xs:element minOccurs="0" maxOccurs="unbounded" name="Extern">
381 <xs:choice minOccurs="1">
382 <xs:sequence minOccurs="0" maxOccurs="1">
384 <xs:documentation xml:lang="en">Driver Module</xs:documentation>
386 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleEntryPoint"/>
387 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleUnloadImage"/>
389 <xs:sequence minOccurs="0" maxOccurs="1">
391 <xs:documentation xml:lang="en">Library Module</xs:documentation>
393 <xs:element minOccurs="0" maxOccurs="1" ref="Constructor"/>
394 <xs:element minOccurs="0" maxOccurs="1" ref="Destructor"/>
396 <xs:sequence minOccurs="0" maxOccurs="1">
398 <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>
399 <xs:documentation xml:lang="en">Permit User Defined Extern Tags</xs:documentation>
401 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverBinding"/>
402 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ComponentName"/>
403 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverConfig"/>
404 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverDiag"/>
406 <xs:sequence minOccurs="0" maxOccurs="1">
408 <xs:documentation xml:lang="en"> Module Call Backs</xs:documentation>
410 <xs:element minOccurs="0" maxOccurs="unbounded" ref="SetVirtualAddressMapCallBack"/>
411 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ExitBootServicesCallBack"/>
413 <xs:element minOccurs="0" maxOccurs="unbounded" name="UserDefined" type="C_Name"/>
415 <xs:attributeGroup ref="ExternAttributes"/>
418 <!-- Remove Arch and use Arch Attribute in above. -->
419 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
422 <xs:element name="Extern">
424 <xs:choice minOccurs="1">
425 <xs:sequence minOccurs="0" maxOccurs="1">
427 <xs:documentation xml:lang="en">Driver Module</xs:documentation>
429 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleEntryPoint"/>
430 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ModuleUnloadImage"/>
432 <xs:sequence minOccurs="0" maxOccurs="1">
434 <xs:documentation xml:lang="en">Library Module</xs:documentation>
436 <xs:element minOccurs="0" maxOccurs="1" ref="Constructor"/>
437 <xs:element minOccurs="0" maxOccurs="1" ref="Destructor"/>
439 <xs:sequence minOccurs="0" maxOccurs="1">
441 <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>
442 <xs:documentation xml:lang="en">Permit User Defined Extern Tags</xs:documentation>
444 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverBinding"/>
445 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ComponentName"/>
446 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverConfig"/>
447 <xs:element minOccurs="0" maxOccurs="unbounded" ref="DriverDiag"/>
449 <xs:sequence minOccurs="0" maxOccurs="1">
451 <xs:documentation xml:lang="en"> Module Call Backs</xs:documentation>
453 <xs:element minOccurs="0" maxOccurs="unbounded" ref="SetVirtualAddressMapCallBack"/>
454 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ExitBootServicesCallBack"/>
456 <xs:element minOccurs="0" maxOccurs="unbounded" name="UserDefined" type="C_Name"/>
458 <xs:attributeGroup ref="ExternAttributes"/>
462 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
468 <xs:element name="Ffs">
470 <xs:documentation xml:lang="en">Define the FFS File attributes within a sections and containing sections information</xs:documentation>
474 <xs:element minOccurs="0" maxOccurs="unbounded" name="Attribute">
477 <xs:element minOccurs="1" maxOccurs="1" name="Name" type="C_Name"/>
478 <xs:element minOccurs="1" maxOccurs="1" name="Value" type="C_Name"/>
482 <xs:element minOccurs="0" maxOccurs="1" ref="Sections"/>
486 <xs:element name="Filename">
488 <xs:documentation xml:lang="en">Describe the valid content of a filename This should extend PathAndFilename - Variable names not allowed here!</xs:documentation>
492 <xs:extension base="PathAndFilename">
493 <xs:attributeGroup ref="FilenameAttributes"/>
498 <xs:element name="Filenames">
500 <xs:documentation xml:lang="en">This is a list of Filenames</xs:documentation>
503 <xs:sequence minOccurs="1">
504 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Filename"/>
505 <!-- DO NOT USE Arch remove it element and use Arch Attribute to Filename instead -->
506 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
508 <xs:sequence minOccurs="1">
509 <xs:element maxOccurs="unbounded" ref="Filename"/>
511 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
517 <xs:element name="Formsets">
519 <xs:documentation xml:lang="en">Describe the list of a Formset elements</xs:documentation>
522 <xs:sequence minOccurs="1" maxOccurs="unbounded">
523 <xs:element name="Formset">
526 <xs:extension base="C_Name">
527 <xs:attributeGroup ref="FormsetAttributes"/>
532 <!-- DO NOT USE! removing Arch element, use Arch attribute in Formset instead. -->
533 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
536 <xs:element name="Formset">
538 <xs:documentation xml:lang="en">Describe the valid content of a Formset</xs:documentation>
542 <xs:extension base="C_Name">
543 <xs:attributeGroup ref="FormsetAttributes"/>
549 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
555 <xs:element name="Guid">
557 <xs:documentation xml:lang="en">Describe the valid content of a GUID</xs:documentation>
561 <xs:extension base="GuidType">
562 <xs:attributeGroup ref="GuidAttributes"/>
567 <xs:element name="GuidDeclarations">
569 <xs:documentation xml:lang="en">This is a child of PackageSurfaceArea (SPD) </xs:documentation>
573 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">
576 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
577 <xs:choice minOccurs="1">
578 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
579 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
581 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
583 <xs:attributeGroup ref="GuidDeclarationAttributes"/>
589 <xs:element name="Guids">
591 <xs:sequence minOccurs="1" maxOccurs="unbounded">
592 <xs:element minOccurs="0" maxOccurs="unbounded" name="GuidCName">
594 <xs:documentation xml:lang="en">Describe the valid content of a GUID element in and MSA file.</xs:documentation>
598 <xs:extension base="C_NameType">
599 <xs:attributeGroup ref="GuidAttributes"/>
604 <xs:element name="GuidEntry">
606 <xs:documentation xml:lang="en">Describe the valid content of a GUID element in and MSA file.</xs:documentation>
609 <xs:sequence minOccurs="0" maxOccurs="1">
610 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>
611 <!-- DO NOT USE removing GuidValue from use -->
612 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
613 <!-- DO NOT USE removing FeatureFlag from use, use FeatureFlag Attribute instead -->
614 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="C_Name"/>
615 <!-- DO NOT USE remove ConditionalExpression and use FeatureFlag instead -->
616 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ConditionalExpression"/>
617 <!-- DO NOT USE, remove DefaultValue from use -->
618 <xs:element minOccurs="0" maxOccurs="1" ref="DefaultValue"/>
619 <!-- DO NOT USE, remove HelpText from use -->
620 <xs:element minOccurs="0" maxOccurs="1" ref="HelpText"/>
622 <xs:attributeGroup ref="GuidAttributes"/>
625 <!-- DO NOT USE Arch, Arch should be removed and the attribute Arch should be used in the above. -->
626 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
629 <xs:element name="GuidEntry">
631 <xs:documentation xml:lang="en">Describe the valid content of a PCD GUID element</xs:documentation>
634 <xs:sequence minOccurs="0" maxOccurs="1">
635 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>
636 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
637 <xs:element minOccurs="0" maxOccurs="unbounded" name="FeatureFlag" type="C_Name"/>
638 <!-- DO NOT USE remove ConditionalExpression and use FeatureFlag instead -->
639 <xs:element minOccurs="0" maxOccurs="unbounded" ref="ConditionalExpression"/>
640 <xs:element minOccurs="0" maxOccurs="1" ref="DefaultValue"/>
641 <xs:element minOccurs="0" maxOccurs="1" ref="HelpText"/>
643 <xs:attributeGroup ref="GuidAttributes"/>
647 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
653 <xs:element name="GuidValue" type="GuidType"/>
654 <xs:element name="HelpText" type="Paragraph"/>
655 <xs:element name="HiiPackages">
657 <xs:documentation xml:lang="en">Describe the list of a HiiPackage elements</xs:documentation>
660 <xs:sequence minOccurs="1" maxOccurs="unbounded">
661 <xs:element name="HiiPackage">
664 <xs:extension base="C_NameType">
665 <xs:attributeGroup ref="HiiPackageAttributes"/>
673 <xs:element name="Hobs">
675 <xs:sequence minOccurs="1" maxOccurs="unbounded">
676 <xs:element name="Hob">
680 <!-- Remove Name from use -->
681 <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:normalizedString"/>
682 <xs:element minOccurs="0" maxOccurs="1" name="GuidC_Name" type="C_NameType"/>
684 <!-- Remove C_Name from use -->
685 <xs:element minOccurs="0" maxOccurs="1" ref="C_Name"/>
686 <!-- Remove Guid and GuidValue from use -->
687 <xs:choice minOccurs="0">
688 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
689 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
692 <xs:attributeGroup ref="HobAttributes"/>
695 <!-- DO NOT USE Arch, use attribute Arch for Hob in above -->
696 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
699 <xs:element name="Hob">
702 <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:normalizedString"/>
703 <xs:element minOccurs="0" maxOccurs="1" ref="C_Name"/>
704 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
706 <xs:attributeGroup ref="HobAttributes"/>
710 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
716 <xs:element name="ImageEntryPoint" type="C_Name"/>
717 <xs:element name="IncludeHeader">
720 <xs:extension base="PathAndFilename">
721 <!-- Need to use IncludeHeaderAttributes in final -->
722 <xs:attributeGroup ref="IncludeAttributes"/>
727 <xs:element name="Includes">
729 <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>
732 <xs:sequence minOccurs="1" maxOccurs="unbounded">
733 <xs:element minOccurs="0" maxOccurs="unbounded" ref="PackageName"/>
734 <!-- remove Arch element, start using the Arch attribute for the PackageName element above. -->
735 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
737 <xs:sequence minOccurs="1">
738 <xs:element maxOccurs="unbounded" ref="PackageName"/>
740 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
746 <xs:element name="IndustryStdIncludes">
749 <xs:element minOccurs="1" maxOccurs="unbounded" ref="IndustryStdHeader"/>
753 <xs:element name="IndustryStdHeader">
756 <xs:element minOccurs="0" maxOccurs="1" name="Header" type="UiNameType"/>
757 <xs:element minOccurs="1" maxOccurs="1" name="IncludeHeader" type="PathAndFilename"/>
758 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
760 <xs:attributeGroup ref="IndustryStdHeaderAttributes"/>
763 <xs:element name="InstalledDate" type="DateType"/>
764 <xs:element name="Libraries">
766 <xs:documentation xml:lang="en">Different (Module) Instances of Libraries used ONLY in FPD Files.</xs:documentation>
769 <xs:sequence minOccurs="1">
770 <xs:element minOccurs="0" maxOccurs="unbounded" name="Library">
773 <xs:extension base="xs:NCName">
774 <xs:attributeGroup ref="LibraryAttributes"/>
779 <!-- remove Arch Element HERE, start using the Arch attribute in Library element above. -->
780 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
782 <xs:choice minOccurs="1" maxOccurs="unbounded">
783 <xs:element minOccurs="0" maxOccurs="unbounded" name="Library">
786 <xs:extension base="BaseNameConvention">
787 <xs:attributeGroup ref="LibraryAttributes"/>
793 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
796 <!-- /remove Arch Element -->
797 <xs:element minOccurs="0" maxOccurs="unbounded" name="Instance">
799 <xs:attributeGroup ref="LibraryAttributes"/>
805 <xs:element name="LibraryClass">
807 <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>
811 <xs:extension base="KeywordType">
812 <xs:attributeGroup ref="LibraryClassAttributes"/>
817 <!-- LAH This is LibraryClassDeclaration FINAL version -->
818 <xs:element name="LibraryClassDeclaration">
820 <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>
824 <xs:element minOccurs="1" maxOccurs="1" name="LibraryClass">
827 <xs:extension base="xs:NCName">
828 <xs:attribute name="RecommendedInstanceGuid" type="GuidType" use="optional"/>
829 <xs:attribute name="RecommendedInstanceVersion" type="xs:decimal" use="optional"/>
834 <xs:element minOccurs="0" maxOccurs="1" ref="IncludeHeader"/>
835 <xs:element minOccurs="0" maxOccurs="1" name="RecommendedInstanceGuid" type="GuidType"/>
836 <xs:element minOccurs="0" maxOccurs="1" name="RecommendedInstanceVersion" type="xs:decimal"/>
837 <xs:element minOccurs="0" maxOccurs="1" ref="HelpText"/>
841 <!-- LAH This is LibraryClassDeclarations FINAL version -->
842 <xs:element name="LibraryClassDeclarations">
845 <xs:element minOccurs="1" maxOccurs="unbounded" ref="LibraryClassDeclaration"/>
846 <xs:element name="LibraryClass" minOccurs="0" maxOccurs="unbounded">
849 <xs:element minOccurs="1" maxOccurs="1" name="IncludeHeader" type="PathAndFilename"/>
850 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
852 <xs:attributeGroup ref="LibraryClassAttributes"/>
858 <xs:element name="LibraryClassDefinitions">
860 <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>
863 <xs:sequence minOccurs="1" maxOccurs="unbounded">
864 <xs:element ref="LibraryClass"/>
868 <xs:element name="License">
871 <xs:extension base="Paragraph">
872 <xs:attribute name="URL" type="xs:anyURI" use="optional"/>
877 <xs:element name="Modified" type="DateType"/>
878 <xs:element name="ModifiedDate" type="DateType"/>
879 <xs:element name="Module">
881 <xs:documentation xml:lang="en">This is record format for a Module entry in the Framework Database file.</xs:documentation>
885 <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>
888 <xs:element minOccurs="1" maxOccurs="1" ref="ModuleName"/>
889 <xs:choice minOccurs="1">
890 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
891 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
893 <xs:element minOccurs="1" maxOccurs="1" ref="Version"/>
894 <xs:element minOccurs="1" maxOccurs="1" ref="Path"/>
898 <xs:element name="ModuleEntryPoint" type="xs:normalizedString"/>
899 <xs:element name="ModuleList">
901 <xs:documentation xml:lang="en">This tag is used in the Framework Package Database File to track package installation</xs:documentation>
904 <xs:sequence maxOccurs="unbounded">
905 <xs:element minOccurs="1" maxOccurs="unbounded" ref="Module"/>
909 <xs:element name="ModuleName">
911 <xs:documentation xml:lang="en">This is the valid content of a Module Name</xs:documentation>
915 <xs:extension base="xs:NCName">
916 <xs:attributeGroup ref="ModuleNameAttributes"/>
921 <xs:element name="ModuleType" type="ModuleTypeDef">
923 <xs:documentation xml:lang="en">Describe the valid EFI Phase that the Module is designed to execute under.</xs:documentation>
926 <xs:element name="ModuleUnloadImage" type="xs:normalizedString"/>
927 <xs:element name="MsaFiles">
929 <xs:choice minOccurs="1" maxOccurs="unbounded">
930 <xs:sequence minOccurs="1">
931 <xs:element minOccurs="0" maxOccurs="unbounded" name="MsaFile">
933 <xs:documentation xml:lang="en">Surface Area Package Description (SPD) list of Module Surface Area files</xs:documentation>
936 <xs:sequence minOccurs="0" maxOccurs="1">
937 <xs:element minOccurs="0" ref="Filename"/>
938 <xs:element minOccurs="0" ref="BuildOptions"/>
940 <xs:attributeGroup ref="MsaAttributes"/>
943 <!-- DO NOT USE Arch element, use attribute Arch in above. -->
944 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
946 <xs:sequence minOccurs="1">
947 <xs:element maxOccurs="unbounded" name="MsaFile">
949 <xs:documentation xml:lang="en">Describe the valid content of a Surface Area Package Description (SPD) file</xs:documentation>
952 <xs:sequence minOccurs="0" maxOccurs="1">
953 <xs:element minOccurs="0" ref="Filename"/>
954 <xs:element minOccurs="0" ref="BuildOptions"/>
956 <xs:attributeGroup ref="MsaAttributes"/>
960 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
964 <xs:element minOccurs="0" maxOccurs="unbounded" name="Filename" type="PathAndFilename"/>
968 <!-- Use in Final -->
969 <xs:element name="MsaFileList">
971 <xs:documentation xml:lang="en">Surface Area Package Description (SPD) list of Module Surface Area files</xs:documentation>
975 <xs:element minOccurs="0" maxOccurs="unbounded" name="Filename" type="PathAndFilename"/>
979 <xs:element name="OutputDirectory">
981 <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>
985 <xs:extension base="DirectoryNamingConvention">
986 <xs:attribute default="MODULE" name="IntermediateDirectories">
988 <xs:restriction base="UCNameType">
989 <xs:enumeration value="MODULE"/>
990 <xs:enumeration value="UNIFIED"/>
998 <xs:element name="ProcessStep">
1001 <xs:element minOccurs="1" maxOccurs="1" name="ToolName" type="xs:string"/>
1002 <xs:element minOccurs="1" maxOccurs="1" name="ToolArgs" type="xs:string"/>
1003 <!-- Input patterns to be processed by the tool above -->
1004 <xs:element minOccurs="1" maxOccurs="unbounded" name="InputPattern" type="xs:string"/>
1005 <!-- A pattern to match for the output -->
1006 <xs:element minOccurs="1" maxOccurs="1" name="OutputPattern" type="xs:string"/>
1008 <xs:attributeGroup ref="ProcessStepAttributes"/>
1011 <xs:element name="FfsFormatDeclarations">
1014 <xs:element minOccurs="1" maxOccurs="unbounded" name="FfsFormatDeclaration">
1015 <!-- Required Attributes are the FfsFormatKeyword and SupModuleList -->
1018 <xs:element minOccurs="1" maxOccurs="unbounded" ref="ProcessStep"/>
1020 <xs:attributeGroup ref="FfsAttributes"/>
1026 <xs:element name="PackageDefinitions">
1029 <xs:element minOccurs="1" maxOccurs="1" name="ReadOnly" type="xs:boolean" default="false"/>
1030 <xs:element minOccurs="1" maxOccurs="1" name="RePackage" type="xs:boolean" default="false"/>
1034 <xs:element name="PCDs">
1035 <!-- PCDs section is going away to be replaced by something else TB Named later -->
1037 <xs:documentation xml:lang="en">Child of Module Surface Area documents, MSA and MBD files, Library Modules and Other Modules</xs:documentation>
1038 <xs:documentation xml:lang="en">One or more PcdData or PcdBuildData Elements Only one type is permitted</xs:documentation>
1041 <xs:sequence minOccurs="1">
1042 <xs:element maxOccurs="unbounded" name="PcdData">
1044 <xs:documentation xml:lang="en">This is a child of PCDs and can occur in the MSA and MBD files.</xs:documentation>
1045 <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>
1046 <xs:documentation xml:lang="en">There is ONE required Attribute, ItemType</xs:documentation>
1050 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>
1051 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="HexDoubleWordDataType"/>
1052 <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>
1053 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
1054 <xs:element default="false" minOccurs="0" maxOccurs="1" name="HiiEnable" type="xs:boolean"/>
1055 <xs:element default="false" minOccurs="0" maxOccurs="1" name="VpdEnable" type="xs:boolean"/>
1056 <xs:element default="false" minOccurs="0" maxOccurs="1" name="AlternateNameSpaceEnable" type="xs:boolean"/>
1057 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuEnable" type="xs:boolean"/>
1058 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuDataArrayEnable" type="xs:boolean"/>
1059 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="MaxSku" type="HexByteDataType"/>
1060 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="SkuId" type="HexByteDataType"/>
1061 <xs:element minOccurs="0" maxOccurs="1" name="DatumSize" type="DatumSizeLimitation"/>
1062 <xs:element minOccurs="0" maxOccurs="1" name="VariableName" type="xs:normalizedString"/>
1063 <xs:element minOccurs="0" maxOccurs="1" name="VariableGuid" type="VariableGuidType"/>
1064 <xs:element minOccurs="0" maxOccurs="1" name="DataOffset" type="Hex64BitDataType"/>
1065 <xs:element minOccurs="0" maxOccurs="1" name="GuidOffset" type="Hex64BitDataType"/>
1066 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="xs:normalizedString"/>
1067 <xs:element minOccurs="0" maxOccurs="1" ref="HelpText"/>
1069 <xs:attributeGroup ref="PcdAttributes"/>
1070 <xs:attribute name="PcdIsDriver" use="optional"/>
1076 <xs:element name="PackageDependencies">
1078 <xs:documentation xml:lang="en">This tag is used in the Package Surface Area Description File (SPD) to track package dependencies for a module</xs:documentation>
1081 <xs:sequence maxOccurs="unbounded">
1083 <xs:element minOccurs="1" maxOccurs="unbounded" ref="Package"/>
1084 <xs:element minOccurs="1" maxOccurs="unbounded" ref="PackageName"/>
1087 <xs:attributeGroup ref="PackageNameAttributes"/>
1090 <xs:element name="PackageHeaders">
1092 <xs:documentation xml:lang="en">This is a child of PackageSurfaceArea (SPD) </xs:documentation>
1097 <!-- DO NOT USE! removing IncludeHeader, use IncludePkgHeader instead. -->
1098 <xs:element minOccurs="0" maxOccurs="unbounded" ref="IncludeHeader"/>
1099 <xs:element minOccurs="0" maxOccurs="unbounded" name="IncludePkgHeader">
1102 <xs:extension base="PathAndFilename">
1103 <xs:attributeGroup ref="PackageHeaderAttributes"/>
1112 <xs:element name="PackageList">
1114 <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>
1117 <xs:sequence maxOccurs="unbounded">
1118 <xs:element minOccurs="0" name="Package">
1120 <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>
1123 <xs:sequence maxOccurs="unbounded">
1124 <xs:element minOccurs="0" maxOccurs="1" ref="PackageName"/>
1125 <xs:choice minOccurs="0">
1126 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
1127 <!-- DO NOT USE Guid should be removed, use PackageGuid instead -->
1128 <xs:element minOccurs="0" maxOccurs="1" name="PackageGuid" type="GuidType"/>
1130 <xs:choice minOccurs="0">
1131 <xs:element minOccurs="0" maxOccurs="1" ref="Version"/>
1132 <xs:element minOccurs="0" maxOccurs="1" name="PackageVersion" type="VersionDataType"/>
1134 <xs:choice minOccurs="1">
1135 <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>
1136 <xs:element minOccurs="0" maxOccurs="1" ref="Filename"/>
1138 <xs:element minOccurs="1" maxOccurs="1" ref="InstalledDate"/>
1140 <xs:attributeGroup ref="PackageAttributes"/>
1143 <xs:element name="Filename" type="PathAndFilename" minOccurs="0" maxOccurs="unbounded"/>
1147 <xs:element name="Package">
1149 <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>
1152 <xs:attributeGroup ref="PackageAttributes"/>
1155 <xs:element name="PackageName">
1157 <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>
1161 <xs:extension base="UiNameType">
1162 <xs:attributeGroup ref="PackageAttributes"/>
1167 <xs:element name="PackageType" type="PackageType"/>
1168 <xs:element name="Path">
1170 <xs:documentation xml:lang="en">Describe the valid content of a filename</xs:documentation>
1174 <xs:extension base="DirectoryNamingConvention">
1175 <xs:attributeGroup ref="DirectoryAttributes"/>
1180 <xs:element name="DynamicPcdBuildDefinitions">
1182 <xs:documentation xml:lang="en">Child of Framework Platform Description (FPD)</xs:documentation>
1183 <xs:documentation xml:lang="en">FPD uses this PCD information for Dynamic PCDs Only</xs:documentation>
1187 <xs:element minOccurs="1" maxOccurs="unbounded" name="PcdBuildData">
1190 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
1191 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="TokenDataType"/>
1192 <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>
1193 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
1194 <xs:element minOccurs="0" maxOccurs="1" name="MaxDatumSize" type="DatumSizeLimitation"/>
1195 <xs:element minOccurs="1" maxOccurs="unbounded" name="SkuInfo">
1198 <xs:element minOccurs="1" maxOccurs="1" name="SkuId" type="xs:nonNegativeInteger"/>
1200 <xs:group minOccurs="0" maxOccurs="1" ref="HiiEnable"/>
1201 <xs:group minOccurs="0" maxOccurs="1" ref="VpdEnable"/>
1202 <xs:group minOccurs="0" maxOccurs="1" ref="DefaultGroup"/>
1208 <xs:attributeGroup ref="DynamicBuildPcdAttributes"/>
1214 <xs:element name="PcdBuildDefinition">
1216 <xs:documentation xml:lang="en">Child of FPD ModuleSA element for FIXED_AT_BUILD, PATCHABLE_IN_MODULE, and FEATURE_FLAG PCDS Only!</xs:documentation>
1220 <xs:element minOccurs="1" maxOccurs="unbounded" name="PcdData">
1223 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
1224 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="TokenDataType"/>
1225 <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>
1226 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
1227 <!-- MaxDatumSize is only required if the DatumType is VOID* -->
1228 <xs:element minOccurs="0" maxOccurs="1" name="MaxDatumSize" type="DatumSizeLimitation"/>
1229 <xs:element minOccurs="0" maxOccurs="1" name="Value" type="DefaultValueType"/>
1231 <xs:attributeGroup ref="PcdBuildDefinitionAttributes"/>
1237 <xs:group name="DefaultGroup">
1239 <xs:element minOccurs="1" maxOccurs="1" name="Value" type="DefaultValueType"/>
1242 <xs:group name="HiiEnable">
1244 <xs:documentation xml:lang="en">If HiiEnable group is specified, then HiiEnable is default true</xs:documentation>
1247 <xs:element minOccurs="1" maxOccurs="1" name="VariableName" type="VariableNameDataType"/>
1248 <xs:element minOccurs="0" maxOccurs="1" name="VariableGuid" type="C_NameType"/>
1249 <xs:element minOccurs="1" maxOccurs="1" name="VariableOffset" type="Hex64BitDataType"/>
1250 <xs:element minOccurs="1" maxOccurs="1" name="HiiDefaultValue" type="DefaultValueType"/>
1253 <xs:group name="VpdEnable">
1255 <xs:documentation xml:lang="en">If VpdEnable group is specified, then VpdEnable is default true</xs:documentation>
1258 <xs:element minOccurs="1" maxOccurs="1" name="VpdOffset" type="Hex64BitDataType"/>
1261 <xs:element name="PcdCoded">
1263 <xs:documentation xml:lang="en">Child of Module Surface Area Description (MSA)</xs:documentation>
1267 <xs:element minOccurs="1" maxOccurs="unbounded" name="PcdEntry">
1269 <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>
1270 <xs:documentation xml:lang="en">This element is valid for PcdInfo.xml and FPD files.</xs:documentation>
1274 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
1275 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValueType"/>
1276 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
1278 <!-- 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. -->
1279 <xs:attributeGroup ref="PcdCodedAttributes"/>
1285 <!-- LAH This is PcdDeclarations FINAL version -->
1286 <xs:element name="PcdDeclarations">
1288 <xs:documentation xml:lang="en">Child of Package Surface Area Description (SPD)</xs:documentation>
1289 <xs:documentation xml:lang="en">This section is for entering information about a package's PCDs</xs:documentation>
1292 <xs:sequence minOccurs="1">
1293 <xs:element maxOccurs="unbounded" name="PcdEntry">
1296 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
1297 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="TokenDataType"/>
1298 <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>
1299 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
1300 <xs:element minOccurs="1" maxOccurs="1" name="ValidUsage" type="PcdListType"/>
1301 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValueType"/>
1302 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
1304 <xs:attributeGroup ref="PcdDeclarationAttributes"/>
1310 <!-- DO NOT USE removing PcdDefinitions, use PcdDeclarations for SPD entries Use PcdBuildDeclarations for MSA Entires and PcdDynamicBuildDeclarations for FPD Entries -->
1311 <xs:element name="PcdDefinitions">
1313 <xs:documentation xml:lang="en">Child of Package Surface Area Description (SPD)</xs:documentation>
1314 <xs:documentation xml:lang="en">This permits entering information about a package's PCD information</xs:documentation>
1317 <xs:sequence minOccurs="1">
1318 <xs:element maxOccurs="unbounded" name="PcdEntry">
1320 <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>
1321 <xs:documentation xml:lang="en">This element is valid for PcdInfo.xml and FPD files.</xs:documentation>
1322 <xs:documentation xml:lang="en">There is ONE required Attribute, ItemType</xs:documentation>
1326 <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>
1327 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="Token"/>
1328 <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>
1329 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
1330 <xs:element default="false" minOccurs="0" maxOccurs="1" name="HiiEnable" type="xs:boolean"/>
1331 <xs:element default="false" minOccurs="0" maxOccurs="1" name="VpdEnable" type="xs:boolean"/>
1332 <xs:element default="false" minOccurs="0" maxOccurs="1" name="AlternateNameSpaceEnable" type="xs:boolean"/>
1333 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuEnable" type="xs:boolean"/>
1334 <xs:element default="false" minOccurs="0" maxOccurs="1" name="SkuDataArrayEnable" type="xs:boolean"/>
1335 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="MaxSku" type="HexByteDataType"/>
1336 <xs:element default="0x00" minOccurs="0" maxOccurs="1" name="SkuId" type="HexByteDataType"/>
1337 <xs:element minOccurs="0" maxOccurs="1" name="DatumSize">
1339 <xs:documentation xml:lang="en">Max Number of Bytes of the data.</xs:documentation>
1342 <xs:restriction base="xs:int">
1343 <xs:minInclusive value="1"/>
1344 <xs:maxInclusive value="16777215"/>
1348 <xs:element minOccurs="0" maxOccurs="1" name="VariableName" type="xs:normalizedString"/>
1349 <xs:element minOccurs="0" maxOccurs="1" name="VariableGuid" type="VariableGuidType"/>
1350 <xs:element minOccurs="0" maxOccurs="1" name="DataOffset" type="Hex64BitDataType"/>
1351 <xs:element default="0" minOccurs="0" maxOccurs="1" name="GuidOffset" type="Hex64BitDataType"/>
1352 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValueType"/>
1354 <xs:attributeGroup ref="PcdAttributes"/>
1360 <xs:element name="Platform">
1362 <xs:documentation xml:lang="en">Database Entry to locate the Platform Build Tips - path to FPD file.</xs:documentation>
1366 <xs:element minOccurs="0" maxOccurs="1" name="PlatformName">
1368 <xs:documentation xml:lang="en">Define the Name of a Platform</xs:documentation>
1372 <xs:extension base="PlatformNamingConvention">
1373 <xs:attributeGroup ref="PlatformAttributes"/>
1378 <xs:choice minOccurs="0">
1379 <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>
1380 <xs:element minOccurs="0" maxOccurs="1" ref="Filename"/>
1382 <xs:element minOccurs="0" maxOccurs="1" ref="InstalledDate"/>
1383 <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>
1384 <xs:element minOccurs="0" maxOccurs="1" name="AlternatePcdFile" type="FileNameConvention"/>
1385 <xs:element minOccurs="0" maxOccurs="1" name="AlternateFdfFile" type="FileNameConvention"/>
1387 <xs:attributeGroup ref="PlatformAttributes"/>
1390 <xs:element name="PpiDeclarations">
1392 <xs:documentation xml:lang="en">This is a child of PackageSurfaceArea (SPD) </xs:documentation>
1396 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">
1399 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
1401 <!-- DO NOT USE removing Guid in final, use GuidValue instead -->
1402 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
1403 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
1405 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
1407 <xs:attributeGroup ref="PpiDeclarationAttributes"/>
1413 <xs:element name="PPIs">
1415 <xs:documentation xml:lang="en">Provide for one or more Ppi or PpiNotify sections. </xs:documentation>
1418 <xs:sequence minOccurs="1">
1419 <xs:element minOccurs="0" maxOccurs="unbounded" name="Ppi">
1422 <xs:extension base="C_NameType">
1423 <xs:attributeGroup ref="PpiAttributes"/>
1428 <xs:element minOccurs="0" maxOccurs="unbounded" name="PpiNotify">
1431 <xs:extension base="C_NameType">
1432 <xs:attributeGroup ref="PpiNotifyAttributes"/>
1437 <!-- DO NOT USE Arch element, use Arch Attribute in above instead. -->
1438 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
1441 <xs:element minOccurs="0" maxOccurs="unbounded" name="Ppi">
1444 <xs:extension base="C_Name">
1445 <xs:attributeGroup ref="PpiAttributes"/>
1450 <xs:element minOccurs="0" maxOccurs="unbounded" name="PpiNotify">
1453 <xs:extension base="C_Name">
1454 <xs:attributeGroup ref="PpiNotifyAttributes"/>
1460 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
1466 <xs:element name="ProtocolDeclarations">
1468 <xs:documentation xml:lang="en">This is a child of PackageSurfaceArea (SPD) </xs:documentation>
1472 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">
1475 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
1477 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
1478 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
1480 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
1482 <xs:attributeGroup ref="ProtocolDeclarationAttributes"/>
1488 <xs:element name="Protocols">
1490 <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>
1493 <xs:sequence minOccurs="1" maxOccurs="unbounded">
1494 <xs:element minOccurs="0" maxOccurs="unbounded" name="Protocol">
1497 <xs:extension base="C_NameType">
1498 <xs:attributeGroup ref="ProtocolAttributes"/>
1503 <xs:element minOccurs="0" maxOccurs="unbounded" name="ProtocolNotify">
1506 <xs:extension base="C_NameType">
1507 <xs:attributeGroup ref="ProtocolNotifyAttributes"/>
1512 <!-- DO NOT USE! removing Arch element, use Arch attribute of Protocol or ProtocolNotify instead. -->
1513 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
1516 <xs:element minOccurs="0" maxOccurs="unbounded" name="Protocol">
1519 <xs:extension base="C_NameType">
1520 <xs:attributeGroup ref="ProtocolAttributes"/>
1525 <xs:element minOccurs="0" maxOccurs="unbounded" name="ProtocolNotify">
1528 <xs:extension base="C_NameType">
1529 <xs:attributeGroup ref="ProtocolNotifyAttributes"/>
1535 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
1541 <xs:element default="false" name="ReadOnly" type="xs:boolean"/>
1542 <xs:element default="false" name="RePackage" type="xs:boolean"/>
1543 <xs:element name="Sections">
1545 <xs:documentation xml:lang="en">Sections refers to the Firmware Filesystem sections, PE32, UI, VER, DXS, etc. and how they are made</xs:documentation>
1548 <xs:sequence minOccurs="1">
1549 <xs:element minOccurs="0" maxOccurs="unbounded" name="Section">
1552 <xs:element minOccurs="0" ref="Filenames"/>
1553 <xs:element minOccurs="0" name="Args" type="ArgsType"/>
1554 <xs:element minOccurs="0" name="OutFile" type="FileNameConvention"/>
1555 <xs:element minOccurs="0" name="OutputFileExtension" type="xs:string"/>
1556 <xs:element minOccurs="0" name="ToolName" type="ToolType"/>
1558 <xs:attributeGroup ref="SectionAttributes"/>
1561 <xs:element minOccurs="0" maxOccurs="unbounded" name="Sections">
1563 <xs:sequence minOccurs="1" maxOccurs="unbounded">
1564 <xs:element name="Section">
1567 <xs:element minOccurs="0" ref="Filenames"/>
1568 <xs:element minOccurs="0" name="Args" type="ArgsType"/>
1569 <xs:element minOccurs="0" name="OutFile" type="FileNameConvention"/>
1570 <xs:element minOccurs="0" name="OutputFileExtension" type="xs:string"/>
1571 <xs:element minOccurs="0" name="ToolName" type="ToolType"/>
1573 <xs:attributeGroup ref="SectionAttributes"/>
1577 <xs:attributeGroup ref="SectionsAttributes"/>
1581 <xs:attributeGroup ref="SectionsAttributes"/>
1584 <xs:element name="SetVirtualAddressMapCallBack" type="C_Name"/>
1585 <xs:element name="SourceFiles">
1587 <xs:documentation xml:lang="en">Multiple Filenames may be specified, and they may also be scoped to a specific Architecture.</xs:documentation>
1590 <xs:sequence minOccurs="1">
1591 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Filename"/>
1592 <!-- DO NOT USE! removing Arch element, use Arch Attribute of Filename instead. -->
1593 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
1595 <xs:sequence minOccurs="1">
1596 <xs:element maxOccurs="unbounded" ref="Filename"/>
1598 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
1604 <xs:element name="SkuInfo">
1607 <xs:element minOccurs="1" maxOccurs="unbounded" name="UiSkuName">
1610 <xs:extension base="UiNameType">
1611 <xs:attribute name="SkuID" type="xs:nonNegativeInteger" use="required"/>
1619 <xs:element name="Specification">
1621 <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>
1625 <xs:extension base="xs:normalizedString">
1626 <xs:attribute name="Version" type="xs:normalizedString" use="optional"/>
1631 <xs:element name="SystemTables">
1633 <xs:documentation xml:lang="en">This is list of System Table elements.</xs:documentation>
1636 <xs:sequence minOccurs="1" maxOccurs="unbounded">
1637 <xs:element name="SystemTable">
1639 <xs:sequence minOccurs="1" maxOccurs="unbounded">
1640 <!-- Remove Entry from Use -->
1641 <xs:element minOccurs="0" maxOccurs="1" name="Entry" type="xs:normalizedString"/>
1643 <xs:attributeGroup ref="SystemTableAttributes"/>
1646 <xs:element minOccurs="0" maxOccurs="unbounded" name="SystemTableCName">
1649 <xs:extension base="C_NameType">
1650 <xs:attributeGroup ref="SystemTableAttributes"/>
1658 <xs:element name="Updated" type="DateType"/>
1659 <xs:element name="UpdatedDate" type="DateType"/>
1660 <xs:element name="URL" type="xs:anyURI"/>
1661 <xs:element name="URI" type="xs:anyURI"/>
1662 <xs:element name="UserDefinedAntTasks">
1664 <xs:documentation xml:lang="en">This is a sub-element of BuildOptions</xs:documentation>
1665 <xs:documentation xml:lang="en">Permit Users to define their own custom ANT tasks.</xs:documentation>
1668 <xs:sequence maxOccurs="unbounded">
1669 <xs:element minOccurs="1" ref="AntTask"/>
1673 <xs:element name="UserExtensions">
1676 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##local"/>
1678 <xs:attribute name="UserID" type="xs:NCName" use="required"/>
1679 <xs:attribute name="Identifier" type="xs:nonNegativeInteger" use="required"/>
1682 <xs:element name="Variables">
1684 <xs:documentation xml:lang="en">An MSA FILE list of EFI Variables described by string pair.</xs:documentation>
1687 <xs:sequence minOccurs="1" maxOccurs="unbounded">
1688 <xs:element name="Variable">
1690 <xs:documentation xml:lang="en">This is an EFI Variable Entry</xs:documentation>
1695 <!-- DO NOT USE remove String from final -->
1696 <xs:element minOccurs="1" maxOccurs="1" name="String" type="xs:normalizedString"/>
1697 <!-- Make VariableName required -->
1698 <xs:element minOccurs="0" maxOccurs="1" name="VariableName" type="VariableNameDataType"/>
1700 <xs:choice minOccurs="1">
1701 <!-- DO NOT USE, use GuidC_Name instead -->
1702 <xs:element minOccurs="0" maxOccurs="1" ref="Guid"/>
1703 <!-- DO NOT USE, use GuidC_Name instead -->
1704 <xs:element minOccurs="0" maxOccurs="1" ref="GuidValue"/>
1705 <!-- Make GuidC_Name required -->
1706 <xs:element minOccurs="0" maxOccurs="1" name="GuidC_Name" type="C_NameType"/>
1708 <!-- DO NOT USE, removiing ByteOffset, Bit Offset and OffsetBitSize-->
1709 <xs:element minOccurs="0" maxOccurs="1" name="ByteOffset" type="HexWordDataType">
1711 <xs:documentation xml:lang="en">This entry represents the Hex Byte Offset {0x0, 0xn} to where the data starts.</xs:documentation>
1714 <xs:element minOccurs="0" maxOccurs="1" name="BitOffset">
1716 <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>
1719 <xs:restriction base="xs:int">
1720 <xs:minInclusive value="0"/>
1721 <xs:maxInclusive value="8"/>
1725 <xs:element minOccurs="0" maxOccurs="1" name="OffsetBitSize">
1727 <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>
1730 <xs:restriction base="xs:int">
1731 <xs:minInclusive value="0"/>
1732 <xs:maxInclusive value="7"/>
1737 <xs:attributeGroup ref="VariableAttributes"/>
1740 <!-- DO NOT USE Arch element, use attribute Arch in above. -->
1741 <xs:element minOccurs="0" maxOccurs="unbounded" name="Arch">
1744 <xs:element name="Variable">
1746 <xs:documentation xml:lang="en">This is an EFI Variable Entry</xs:documentation>
1750 <xs:element minOccurs="1" maxOccurs="1" name="String" type="xs:normalizedString"/>
1751 <xs:element minOccurs="1" maxOccurs="1" ref="Guid"/>
1752 <xs:element minOccurs="0" maxOccurs="1" name="ByteOffset" type="HexWordDataType">
1754 <xs:documentation xml:lang="en">This entry represents the Hex Byte Offset {0x0, 0xn} to where the data starts.</xs:documentation>
1757 <xs:element minOccurs="0" maxOccurs="1" name="BitOffset">
1759 <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>
1762 <xs:restriction base="xs:int">
1763 <xs:minInclusive value="0"/>
1764 <xs:maxInclusive value="8"/>
1768 <xs:element minOccurs="0" maxOccurs="1" name="OffsetBitSize">
1770 <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>
1773 <xs:restriction base="xs:int">
1774 <xs:minInclusive value="0"/>
1775 <xs:maxInclusive value="7"/>
1780 <xs:attributeGroup ref="VariableAttributes"/>
1784 <xs:attribute name="ArchType" type="SupportedArchitectures"/>
1790 <xs:element name="Version" type="xs:normalizedString"/>
1791 <xs:element name="FarList">
1793 <xs:documentation xml:lang="en">This tag is used in the Framework Package Database File to track all DISTRIBUTION packages (FAR files) installed in a workspace. (Database)</xs:documentation>
1797 <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename" type="PathAndFilename"/>