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="AntTask">
30 <xs:documentation xml:lang="en">This is a sub-element of UserDefinedAntTasks</xs:documentation>
31 <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>
35 <xs:element minOccurs="0" maxOccurs="1" name="AntCmdOptions" type="xs:normalizedString"/>
36 <xs:element minOccurs="0" maxOccurs="1" name="Filename" type="PathAndFilename"/>
38 <xs:attribute name="Id" type="xs:int" use="required"/>
41 <xs:element name="BootModes">
43 <xs:documentation xml:lang="en">BootModes is valid for all Description Files</xs:documentation>
44 <xs:documentation xml:lang="en">This is a list of BootModes Supported by the Module</xs:documentation>
48 <xs:element minOccurs="1" maxOccurs="unbounded" name="BootMode">
50 <xs:sequence minOccurs="0">
51 <xs:element name="HelpText" type="Paragraph"/>
53 <xs:attributeGroup ref="BootModeAttributes"/>
59 <xs:element name="BuildOptions">
61 <xs:documentation xml:lang="en">BuildOptions is valid for FPD files.</xs:documentation>
65 <xs:element minOccurs="0" maxOccurs="1" ref="UserDefinedAntTasks"/>
66 <xs:element minOccurs="0" maxOccurs="1" ref="Options"/>
67 <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>
68 <!-- The following sections are legacy and will be removed -->
69 <xs:element minOccurs="0" maxOccurs="unbounded" name="Ffs">
72 <xs:element minOccurs="0" maxOccurs="unbounded" name="Attribute">
74 <xs:attribute name="Name" type="C_NameType"/>
75 <xs:attribute name="Value" type="C_NameType"/>
78 <xs:element minOccurs="0" maxOccurs="1" name="Sections">
80 <xs:sequence minOccurs="1">
81 <xs:element name="Section" minOccurs="0" maxOccurs="unbounded">
84 <xs:element ref=" Filenames " minOccurs="0"/>
85 <xs:element name="Args" type=" ArgsType " minOccurs="0"/>
86 <xs:element name="OutFile" type=" FileNameConvention " minOccurs="0"/>
87 <xs:element name="OutputFileExtension" type=" xs:string " minOccurs="0"/>
88 <xs:element name="ToolName" type=" ToolType " minOccurs="0"/>
90 <xs:attributeGroup ref=" SectionsAttributes "/>
93 <xs:element name="Sections" minOccurs="0" maxOccurs="unbounded">
95 <xs:sequence minOccurs="1" maxOccurs="unbounded">
96 <xs:element name="Section">
99 <xs:element ref=" Filenames " minOccurs="0"/>
100 <xs:element name="Args" type=" ArgsType " minOccurs="0"/>
101 <xs:element name="OutFile" type=" FileNameConvention " minOccurs="0"/>
102 <xs:element name="OutputFileExtension" type=" xs:string " minOccurs="0"/>
103 <xs:element name="ToolName" type=" ToolType " minOccurs="0"/>
105 <xs:attributeGroup ref="SectionsAttributes"/>
109 <xs:attributeGroup ref=" SectionsAttributes "/>
113 <xs:attributeGroup ref=" SectionsAttributes "/>
117 <xs:attribute name="FfsKey" type="KeywordType" use="optional"/>
123 <xs:element name="Copyright" type="Paragraph"/>
124 <xs:element name="DataHubs">
126 <xs:documentation xml:lang="en">This is a list of DataHubRecord elements.</xs:documentation>
130 <xs:element minOccurs="1" maxOccurs="unbounded" name="DataHubRecord">
133 <xs:element minOccurs="1" maxOccurs="1" name="DataHubCName" type="C_NameType"/>
134 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
136 <xs:attributeGroup ref="DataHubAttributes"/>
142 <xs:element name="DefaultValue">
144 <xs:documentation xml:lang="en">The default setting of a PCD entry.</xs:documentation>
148 <xs:extension base="xs:normalizedString"/>
152 <xs:element name="Description" type="Paragraph">
154 <xs:documentation xml:lang="en">This section is required for new modules and libraries and must contain more information than the Abstract.</xs:documentation>
157 <xs:element name="DynamicPcdBuildDefinitions">
159 <xs:documentation xml:lang="en">Child of Framework Platform Description (FPD)</xs:documentation>
160 <xs:documentation xml:lang="en">FPD uses this PCD information for Dynamic PCDs Only</xs:documentation>
164 <xs:element minOccurs="1" maxOccurs="unbounded" name="PcdBuildData">
167 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
168 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="TokenDataType"/>
169 <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuidCName" type="C_NameType"/>
170 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
171 <xs:element minOccurs="0" maxOccurs="1" name="MaxDatumSize" type="DatumSizeLimitation"/>
172 <xs:element minOccurs="1" maxOccurs="unbounded" name="SkuInfo">
175 <xs:element minOccurs="1" maxOccurs="1" name="SkuId" type="xs:nonNegativeInteger"/>
177 <xs:group minOccurs="0" maxOccurs="1" ref="HiiEnable"/>
178 <xs:group minOccurs="0" maxOccurs="1" ref="VpdEnable"/>
179 <xs:group minOccurs="0" maxOccurs="1" ref="DefaultGroup"/>
185 <xs:attributeGroup ref="DynamicBuildPcdAttributes"/>
191 <xs:element name="Events">
193 <xs:documentation xml:lang="en">This is a list of MSA Events</xs:documentation>
197 <xs:element minOccurs="0" maxOccurs="1" name="CreateEvents">
200 <xs:element minOccurs="1" maxOccurs="unbounded" name="EventTypes">
203 <xs:element minOccurs="1" maxOccurs="1" name="EventType" type="EventTypes"/>
204 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
206 <xs:attributeGroup ref="EventAttributes"/>
212 <xs:element minOccurs="0" maxOccurs="1" name="SignalEvents">
214 <xs:documentation xml:lang="en">Module has an event that is waiting to be signaled. Event is named by GUID.</xs:documentation>
218 <xs:element minOccurs="1" maxOccurs="unbounded" name="EventTypes">
221 <xs:element minOccurs="1" maxOccurs="1" name="EventType" type="EventTypes"/>
222 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
224 <xs:attributeGroup ref="EventAttributes"/>
233 <xs:element name="Externs">
235 <xs:documentation xml:lang="en">This is a child of MSA files.</xs:documentation>
238 <xs:sequence minOccurs="1">
239 <xs:element minOccurs="0" maxOccurs="1" name="PcdIsDriver" type="PcdDriverTypes"/>
240 <xs:element minOccurs="0" maxOccurs="unbounded" name="Specification" type="Sentence"/>
241 <xs:element minOccurs="0" maxOccurs="unbounded" name="Extern">
243 <xs:choice minOccurs="1">
246 <xs:documentation xml:lang="en">Driver Module</xs:documentation>
248 <xs:element minOccurs="0" maxOccurs="1" name="ModuleEntryPoint" type="C_NameType"/>
249 <xs:element minOccurs="0" maxOccurs="1" name="ModuleUnloadImage" type="C_NameType"/>
253 <xs:documentation xml:lang="en">Library Module</xs:documentation>
255 <xs:element minOccurs="0" maxOccurs="1" name="Constructor" type="C_NameType"/>
256 <xs:element minOccurs="0" maxOccurs="1" name="Destructor" type="C_NameType"/>
260 <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>
261 <xs:documentation xml:lang="en">Permit User Defined Extern Tags</xs:documentation>
263 <xs:element minOccurs="0" maxOccurs="1" name="DriverBinding" type="C_NameType"/>
264 <xs:element minOccurs="0" maxOccurs="1" name="ComponentName" type="C_NameType"/>
265 <xs:element minOccurs="0" maxOccurs="1" name="DriverConfig" type="C_NameType"/>
266 <xs:element minOccurs="0" maxOccurs="1" name="DriverDiag" type="C_NameType"/>
270 <xs:documentation xml:lang="en"> Module Call Backs</xs:documentation>
272 <xs:element minOccurs="0" maxOccurs="1" name="SetVirtualAddressMapCallBack" type="C_NameType"/>
273 <xs:element minOccurs="0" maxOccurs="1" name="ExitBootServicesCallBack" type="C_NameType"/>
276 <xs:attributeGroup ref="ExternAttributes"/>
282 <xs:element name="Filename">
284 <xs:documentation xml:lang="en">Describe the valid content of a filename This should extend PathAndFilename - Variable names not allowed here!</xs:documentation>
288 <xs:extension base="PathAndFilename">
289 <xs:attributeGroup ref="FilenameAttributes"/>
294 <xs:element name="Filenames">
296 <xs:documentation xml:lang="en">This is a list of Filenames</xs:documentation>
299 <xs:sequence minOccurs="1">
300 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Filename"/>
304 <xs:element name="GuidDeclarations">
306 <xs:documentation xml:lang="en">This is a child of PackageSurfaceArea (SPD) </xs:documentation>
310 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">
313 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
314 <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>
315 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
317 <xs:attributeGroup ref="GuidDeclarationAttributes"/>
323 <xs:element name="Guids">
326 <xs:element minOccurs="1" maxOccurs="unbounded" name="GuidCNames">
328 <xs:documentation xml:lang="en">Describe the valid content of a GUID element in and MSA file.</xs:documentation>
332 <xs:element minOccurs="1" maxOccurs="1" name="GuidCName" type="C_NameType"/>
333 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
335 <xs:attributeGroup ref="GuidAttributes"/>
341 <xs:element name="HiiPackages">
343 <xs:documentation xml:lang="en">Describe the list of a HiiPackage elements</xs:documentation>
347 <xs:element minOccurs="1" maxOccurs="unbounded" name="HiiPackage">
350 <xs:element minOccurs="1" maxOccurs="1" name="HiiCName" type="C_NameType"/>
351 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
353 <xs:attributeGroup ref="HiiPackageAttributes"/>
359 <xs:element name="Hobs">
362 <xs:element minOccurs="1" maxOccurs="unbounded" name="HobTypes">
365 <xs:element minOccurs="1" maxOccurs="1" name="HobType" type="HobTypes"/>
366 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
368 <xs:attributeGroup ref="HobAttributes"/>
374 <xs:element name="IncludeHeader">
377 <xs:extension base="PathAndFilename">
378 <xs:attributeGroup ref="IncludeHeaderAttributes"/>
383 <xs:element name="IndustryStdIncludes">
386 <xs:element minOccurs="1" maxOccurs="unbounded" ref="IndustryStdHeader"/>
390 <xs:element name="IndustryStdHeader">
393 <xs:element minOccurs="1" maxOccurs="1" name="IncludeHeader" type="PathAndFilename"/>
394 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
396 <xs:attributeGroup ref="IndustryStdHeaderAttributes"/>
399 <xs:element name="Libraries">
401 <xs:documentation xml:lang="en">Different (Module) Instances of Libraries used ONLY in FPD Files.</xs:documentation>
405 <xs:element minOccurs="1" maxOccurs="unbounded" name="Instance">
407 <xs:attributeGroup ref="LibraryAttributes"/>
413 <xs:element name="LibraryClass">
415 <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>
419 <xs:element minOccurs="1" maxOccurs="1" name="Keyword" type="KeywordType"/>
420 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
422 <xs:attributeGroup ref="LibraryClassAttributes"/>
425 <!-- LAH This is SPD LibraryClassDeclarations FINAL version -->
426 <xs:element name="LibraryClassDeclarations">
429 <xs:element minOccurs="1" maxOccurs="unbounded" name="LibraryClass">
432 <xs:element minOccurs="1" maxOccurs="1" name="IncludeHeader" type="PathAndFilename"/>
433 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
435 <xs:attributeGroup ref="LibraryClassDeclarationAttributes"/>
441 <xs:element name="LibraryClassDefinitions">
443 <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>
447 <xs:element minOccurs="1" maxOccurs="unbounded" ref="LibraryClass"/>
451 <xs:element name="License">
454 <xs:extension base="Paragraph">
455 <xs:attribute name="URL" type="xs:anyURI" use="optional"/>
460 <xs:element name="ModuleBuildOptions">
463 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
467 <xs:element name="ModuleSaBuildOptions">
470 <xs:element minOccurs="0" maxOccurs="1" name="FvBinding" type="KeywordList"/>
471 <!-- The FfsFileNameGuid allows the Platform Integrator to specify a GUID for the FFS File Name GUID -->
472 <xs:element minOccurs="0" maxOccurs="1" name="FfsFileNameGuid" type="GuidType"/>
473 <!-- If binding is specified, you MUST specify the FfsFormatKey -->
474 <xs:element minOccurs="0" maxOccurs="1" name="FfsFormatKey" type="KeywordType"/>
475 <xs:element minOccurs="0" maxOccurs="1" ref="Options"/>
479 <xs:element name="ModuleDefinitions">
482 <xs:element minOccurs="1" maxOccurs="1" name="SupportedArchitectures" type="ArchListType"/>
483 <xs:element minOccurs="1" maxOccurs="1" name="BinaryModule" type="xs:boolean" default="false"/>
484 <xs:element minOccurs="1" maxOccurs="1" name="OutputFileBasename" type="FileNameConvention"/>
485 <xs:element minOccurs="0" maxOccurs="1" name="ClonedFrom">
488 <xs:element minOccurs="1" maxOccurs="unbounded" name="Cloned">
491 <xs:element minOccurs="1" maxOccurs="1" name="PackageGuid" type="GuidType"/>
492 <xs:element minOccurs="1" maxOccurs="1" name="PackageVersion" type="VersionDataType"/>
493 <xs:element minOccurs="1" maxOccurs="1" name="ModuleGuid" type="GuidType"/>
494 <xs:element minOccurs="1" maxOccurs="1" name="ModuleVersion" type="VersionDataType"/>
496 <!-- The Id is a number used to track heritage the first entry will be 0 and increment from then on. -->
497 <xs:attribute name="Id" type="xs:nonNegativeInteger" use="required"/>
498 <!-- If the original module was installed from a FAR, track the FAR it came from. -->
499 <xs:attribute name="FarGuid" type="GuidType" use="optional"/>
508 <xs:element name="ModuleType" type="ModuleTypeDef">
510 <xs:documentation xml:lang="en">Describe the valid EFI Phase that the Module is designed to execute under.</xs:documentation>
513 <!-- Use in Final -->
514 <xs:element name="MsaFiles">
516 <xs:documentation xml:lang="en">MsaFiles is a child of Surface Area Package Description (SPD) files</xs:documentation>
520 <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename" type="PathAndFilename"/>
524 <xs:element name="Options">
527 <xs:element minOccurs="1" maxOccurs="unbounded" ref="Option"/>
531 <xs:element name="Option">
532 <!-- This element is used to store flags from the Tools -->
535 <xs:extension base="xs:normalizedString">
536 <xs:attributeGroup ref="OptionAttributes"/>
541 <xs:element name="PackageDefinitions">
544 <xs:element minOccurs="1" maxOccurs="1" name="ReadOnly" type="xs:boolean" default="false"/>
545 <xs:element minOccurs="1" maxOccurs="1" name="RePackage" type="xs:boolean" default="false"/>
546 <xs:element minOccurs="0" maxOccurs="1" name="ClonedFrom">
549 <xs:element minOccurs="1" maxOccurs="unbounded" name="Cloned">
552 <xs:element minOccurs="1" maxOccurs="1" name="PackageGuid" type="GuidType"/>
553 <xs:element minOccurs="1" maxOccurs="1" name="PackageVersion" type="VersionDataType"/>
555 <!-- The Id is a number used to track heritage the first entry will be 0 and increment from then on. -->
556 <xs:attribute name="Id" type="xs:nonNegativeInteger" use="required"/>
557 <!-- If the original Package was installed from a FAR, track the FAR it came from. -->
558 <xs:attribute name="FarGuid" type="GuidType" use="optional"/>
567 <xs:element name="PackageDependencies">
569 <xs:documentation xml:lang="en">This tag is used in the Module Surface Area Description File (MSA) to track package dependencies for a module.</xs:documentation>
570 <xs:documentation xml:lang="en">Attributes to PackageName include Required: Usage PackageGuid PackageVesion, Optional: FeatureFlag</xs:documentation>
574 <xs:element minOccurs="1" maxOccurs="unbounded" name="Package">
576 <xs:attributeGroup ref="PackageAttributes"/>
582 <xs:element name="PackageHeaders">
584 <xs:documentation xml:lang="en">PackageHeaders is a child of PackageSurfaceArea (SPD) </xs:documentation>
588 <xs:element minOccurs="1" maxOccurs="unbounded" name="IncludePkgHeader">
591 <xs:extension base="PathAndFilename">
592 <xs:attributeGroup ref="PackageHeaderAttributes"/>
600 <xs:element name="PackageList">
601 <!-- Valid for DB usage only! -->
603 <xs:documentation xml:lang="en">This tag is used in the Framework Package Database File to track all packages (SPD files) installed in a workspace. (Database)</xs:documentation>
607 <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename" type="DbPathAndFilename"/>
611 <!-- PcdBuildDefinition is a child of FPD ModuleSA element for FIXED_AT_BUILD, PATCHABLE_IN_MODULE, and FEATURE_FLAG PCDS Only! -->
612 <xs:element name="PcdBuildDefinition">
614 <xs:documentation xml:lang="en">Child of FPD ModuleSA element for FIXED_AT_BUILD, PATCHABLE_IN_MODULE, and FEATURE_FLAG PCDS Only!</xs:documentation>
618 <xs:element minOccurs="1" maxOccurs="unbounded" name="PcdData">
621 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
622 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="TokenDataType"/>
623 <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuidCName" type="C_NameType"/>
624 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
625 <!-- MaxDatumSize is only required if the DatumType is VOID* -->
626 <xs:element minOccurs="0" maxOccurs="1" name="MaxDatumSize" type="DatumSizeLimitation"/>
627 <xs:element minOccurs="0" maxOccurs="1" name="Value" type="DefaultValueType"/>
629 <xs:attributeGroup ref="PcdBuildDefinitionAttributes"/>
635 <xs:group name="DefaultGroup">
637 <xs:element minOccurs="1" maxOccurs="1" name="Value" type="DefaultValueType"/>
640 <xs:group name="HiiEnable">
642 <xs:documentation xml:lang="en">If HiiEnable group is specified, then HiiEnable is default true</xs:documentation>
645 <xs:element minOccurs="1" maxOccurs="1" name="VariableName" type="HexWordArrayType"/>
646 <xs:element minOccurs="1" maxOccurs="1" name="VariableGuid" type="C_NameType"/>
647 <xs:element minOccurs="1" maxOccurs="1" name="VariableOffset" type="Hex64BitDataType"/>
648 <xs:element minOccurs="1" maxOccurs="1" name="HiiDefaultValue" type="DefaultValueType"/>
651 <xs:group name="VpdEnable">
653 <xs:documentation xml:lang="en">If VpdEnable group is specified, then VpdEnable is default true</xs:documentation>
656 <xs:element minOccurs="1" maxOccurs="1" name="VpdOffset" type="Hex64BitDataType"/>
659 <xs:element name="PcdCoded">
661 <xs:documentation xml:lang="en">Child of Module Surface Area Description (MSA)</xs:documentation>
665 <xs:element minOccurs="1" maxOccurs="unbounded" name="PcdEntry">
668 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
669 <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuidCName" type="C_NameType"/>
670 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValueType"/>
671 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
673 <!-- 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. -->
674 <xs:attributeGroup ref="PcdCodedAttributes"/>
680 <!-- LAH This is PcdDeclarations FINAL version -->
681 <xs:element name="PcdDeclarations">
683 <xs:documentation xml:lang="en">PcdDeclaratins is a child of Package Surface Area Description (SPD)</xs:documentation>
686 <xs:sequence minOccurs="1">
687 <xs:element maxOccurs="unbounded" name="PcdEntry">
690 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
691 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="TokenDataType"/>
692 <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuidCName" type="C_NameType"/>
693 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
694 <xs:element minOccurs="1" maxOccurs="1" name="ValidUsage" type="PcdListType"/>
695 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValueType"/>
696 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
698 <xs:attributeGroup ref="PcdDeclarationAttributes"/>
704 <xs:element name="FarList">
705 <!-- Valid for DB usage only! -->
707 <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>
711 <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename" type="DbPathAndFilename"/>
715 <xs:element name="FfsFormatDeclarations">
718 <xs:element minOccurs="1" maxOccurs="unbounded" name="FfsFormatDeclaration">
719 <!-- Required Attributes are the FfsFormatKeyword and SupModuleList -->
722 <xs:element minOccurs="1" maxOccurs="unbounded" ref="ProcessStep"/>
724 <xs:attributeGroup ref="FfsAttributes"/>
730 <xs:element name="PpiDeclarations">
732 <xs:documentation xml:lang="en">PpiDeclarations is a child of PackageSurfaceArea (SPD) </xs:documentation>
736 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">
739 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
740 <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>
741 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
743 <xs:attributeGroup ref="PpiDeclarationAttributes"/>
749 <xs:element name="PPIs">
751 <xs:documentation xml:lang="en">Provide for one or more Ppi or PpiNotify sections. </xs:documentation>
754 <xs:sequence minOccurs="1">
755 <xs:element minOccurs="0" maxOccurs="unbounded" name="Ppi">
758 <xs:element minOccurs="1" maxOccurs="1" name="PpiCName" type="C_NameType"/>
759 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
761 <xs:attributeGroup ref="PpiAttributes"/>
764 <xs:element minOccurs="0" maxOccurs="unbounded" name="PpiNotify">
767 <xs:element minOccurs="1" maxOccurs="1" name="PpiNotifyCName" type="C_NameType"/>
768 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
770 <xs:attributeGroup ref="PpiNotifyAttributes"/>
776 <xs:element name="ProtocolDeclarations">
778 <xs:documentation xml:lang="en">ProtocolDeclarations is a child of PackageSurfaceArea (SPD) </xs:documentation>
782 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">
785 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
786 <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>
787 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
789 <xs:attributeGroup ref="ProtocolDeclarationAttributes"/>
795 <xs:element name="Protocols">
797 <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>
801 <xs:element minOccurs="0" maxOccurs="unbounded" name="Protocol">
804 <xs:element minOccurs="1" maxOccurs="1" name="ProtocolCName" type="C_NameType"/>
805 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
807 <xs:attributeGroup ref="ProtocolAttributes"/>
810 <xs:element minOccurs="0" maxOccurs="unbounded" name="ProtocolNotify">
813 <xs:element minOccurs="1" maxOccurs="1" name="ProtocolNotifyCName" type="C_NameType"/>
814 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
816 <xs:attributeGroup ref="ProtocolNotifyAttributes"/>
822 <xs:element name="ProcessStep">
825 <!-- The following is a macro for Apache ANT -->
826 <xs:element minOccurs="0" maxOccurs="1" name="MacroDefFile">
829 <xs:extension base="PathAndFilename">
830 <xs:attribute name="MacroName" type="KeywordType" use="required"/>
835 <!-- The following is for System Executables -->
836 <xs:element minOccurs="0" maxOccurs="1" name="ToolName" type="xs:NCName"/>
837 <xs:element minOccurs="0" maxOccurs="unbounded" name="ToolArgs" type="xs:normalizedString"/>
838 <xs:element minOccurs="0" maxOccurs="unbounded" name="InputPattern" type="xs:normalizedString"/>
839 <xs:element minOccurs="0" maxOccurs="1" name="OutputPattern" type="xs:normalizedString"/>
841 <xs:attributeGroup ref="ProcessStepAttributes"/>
844 <xs:element name="SourceFiles">
846 <xs:documentation xml:lang="en">Multiple Filenames may be specified, and they may also be scoped to a specific Architecture.</xs:documentation>
850 <xs:element minOccurs="1" maxOccurs="unbounded" ref="Filename"/>
854 <xs:element name="SkuInfo">
857 <xs:element minOccurs="1" maxOccurs="unbounded" name="UiSkuName">
860 <xs:extension base="UiNameType">
861 <xs:attribute name="SkuID" type="xs:nonNegativeInteger" use="required"/>
869 <xs:element name="SystemTables">
871 <xs:documentation xml:lang="en">This is list of System Table elements.</xs:documentation>
875 <xs:element minOccurs="1" maxOccurs="unbounded" name="SystemTableCNames">
878 <xs:element minOccurs="1" maxOccurs="1" name="SystemTableCName" type="C_NameType"/>
879 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
881 <xs:attributeGroup ref="SystemTableAttributes"/>
887 <xs:element name="UserDefinedAntTasks">
889 <xs:documentation xml:lang="en">This is a sub-element of BuildOptions</xs:documentation>
890 <xs:documentation xml:lang="en">Permit Users to define their own custom ANT tasks.</xs:documentation>
894 <xs:element minOccurs="1" maxOccurs="unbounded" ref="AntTask"/>
898 <xs:element name="UserExtensions">
901 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
903 <xs:attribute name="UserID" type="xs:NCName" use="required"/>
904 <xs:attribute name="Identifier" type="xs:nonNegativeInteger" use="required"/>
907 <xs:element name="Variables">
909 <xs:documentation xml:lang="en">An MSA FILE list of EFI Variables described by string pair.</xs:documentation>
913 <xs:element minOccurs="1" maxOccurs="unbounded" name="Variable">
915 <xs:documentation xml:lang="en">This is an EFI Variable Entry</xs:documentation>
919 <xs:element minOccurs="1" maxOccurs="1" name="VariableName" type="HexWordArrayType"/>
920 <xs:element minOccurs="1" maxOccurs="1" name="GuidC_Name" type="C_NameType"/>
921 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
923 <xs:attributeGroup ref="VariableAttributes"/>
929 <xs:element name="Version" type="VersionDataType"/>