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="xs:string"/>
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="1" name="TianoR8FlashMap_h" type="xs:boolean" default="false"/>
241 <xs:element minOccurs="0" maxOccurs="unbounded" name="Specification" type="Sentence"/>
242 <xs:element minOccurs="0" maxOccurs="unbounded" name="Extern">
244 <xs:choice minOccurs="1" maxOccurs="1">
245 <xs:sequence minOccurs="0" maxOccurs="1">
247 <xs:documentation xml:lang="en">Driver Module</xs:documentation>
249 <xs:element minOccurs="0" maxOccurs="1" name="ModuleEntryPoint" type="C_NameType"/>
250 <xs:element minOccurs="0" maxOccurs="1" name="ModuleUnloadImage" type="C_NameType"/>
252 <xs:sequence minOccurs="0" maxOccurs="1">
254 <xs:documentation xml:lang="en">Library Module</xs:documentation>
256 <xs:element minOccurs="0" maxOccurs="1" name="Constructor" type="C_NameType"/>
257 <xs:element minOccurs="0" maxOccurs="1" name="Destructor" type="C_NameType"/>
259 <xs:sequence minOccurs="0" maxOccurs="1">
261 <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>
262 <xs:documentation xml:lang="en">Permit User Defined Extern Tags</xs:documentation>
264 <xs:element minOccurs="1" maxOccurs="1" name="DriverBinding" type="C_NameType"/>
265 <xs:element minOccurs="0" maxOccurs="1" name="ComponentName" type="C_NameType"/>
266 <xs:element minOccurs="0" maxOccurs="1" name="DriverConfig" type="C_NameType"/>
267 <xs:element minOccurs="0" maxOccurs="1" name="DriverDiag" type="C_NameType"/>
269 <xs:sequence minOccurs="0" maxOccurs="1">
271 <xs:documentation xml:lang="en"> Module Call Backs</xs:documentation>
273 <xs:element minOccurs="0" maxOccurs="1" name="SetVirtualAddressMapCallBack" type="C_NameType"/>
274 <xs:element minOccurs="0" maxOccurs="1" name="ExitBootServicesCallBack" type="C_NameType"/>
277 <xs:attributeGroup ref="ExternAttributes"/>
283 <xs:element name="Filename">
285 <xs:documentation xml:lang="en">Describe the valid content of a filename This should extend PathAndFilename - Variable names not allowed here!</xs:documentation>
289 <xs:extension base="PathAndFilename">
290 <xs:attributeGroup ref="FilenameAttributes"/>
295 <xs:element name="Filenames">
297 <xs:documentation xml:lang="en">This is a list of Filenames</xs:documentation>
300 <xs:sequence minOccurs="1">
301 <xs:element minOccurs="0" maxOccurs="unbounded" ref="Filename"/>
305 <xs:element name="GuidDeclarations">
307 <xs:documentation xml:lang="en">This is a child of PackageSurfaceArea (SPD) </xs:documentation>
311 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">
314 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
315 <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>
316 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
318 <xs:attributeGroup ref="GuidDeclarationAttributes"/>
324 <xs:element name="Guids">
327 <xs:element minOccurs="1" maxOccurs="unbounded" name="GuidCNames">
329 <xs:documentation xml:lang="en">Describe the valid content of a GUID element in and MSA file.</xs:documentation>
333 <xs:element minOccurs="1" maxOccurs="1" name="GuidCName" type="C_NameType"/>
334 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
336 <xs:attributeGroup ref="GuidAttributes"/>
342 <xs:element name="HiiPackages">
344 <xs:documentation xml:lang="en">Describe the list of a HiiPackage elements</xs:documentation>
348 <xs:element minOccurs="1" maxOccurs="unbounded" name="HiiPackage">
351 <xs:element minOccurs="1" maxOccurs="1" name="HiiCName" type="C_NameType"/>
352 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
354 <xs:attributeGroup ref="HiiPackageAttributes"/>
360 <xs:element name="Hobs">
363 <xs:element minOccurs="1" maxOccurs="unbounded" name="HobTypes">
366 <xs:element minOccurs="1" maxOccurs="1" name="HobType" type="HobTypes"/>
367 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
369 <xs:attributeGroup ref="HobAttributes"/>
375 <xs:element name="IncludeHeader">
378 <xs:extension base="PathAndFilename">
379 <xs:attributeGroup ref="IncludeHeaderAttributes"/>
384 <xs:element name="IndustryStdIncludes">
387 <xs:element minOccurs="1" maxOccurs="unbounded" ref="IndustryStdHeader"/>
391 <xs:element name="IndustryStdHeader">
394 <xs:element minOccurs="1" maxOccurs="1" name="IncludeHeader" type="PathAndFilename"/>
395 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
397 <xs:attributeGroup ref="IndustryStdHeaderAttributes"/>
400 <xs:element name="Libraries">
402 <xs:documentation xml:lang="en">Different (Module) Instances of Libraries used ONLY in FPD Files.</xs:documentation>
406 <xs:element minOccurs="1" maxOccurs="unbounded" name="Instance">
408 <xs:attributeGroup ref="LibraryAttributes"/>
414 <xs:element name="LibraryClass">
416 <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>
420 <xs:element minOccurs="1" maxOccurs="1" name="Keyword" type="KeywordType"/>
421 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
423 <xs:attributeGroup ref="LibraryClassAttributes"/>
426 <!-- LAH This is SPD LibraryClassDeclarations FINAL version -->
427 <xs:element name="LibraryClassDeclarations">
430 <xs:element minOccurs="1" maxOccurs="unbounded" name="LibraryClass">
433 <xs:element minOccurs="1" maxOccurs="1" name="IncludeHeader" type="PathAndFilename"/>
434 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
436 <xs:attributeGroup ref="LibraryClassDeclarationAttributes"/>
442 <xs:element name="LibraryClassDefinitions">
444 <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>
448 <xs:element minOccurs="1" maxOccurs="unbounded" ref="LibraryClass"/>
452 <xs:element name="License">
455 <xs:extension base="Paragraph">
456 <xs:attribute name="URL" type="xs:anyURI" use="optional"/>
461 <xs:element name="ModuleBuildOptions">
464 <xs:element minOccurs="0" maxOccurs="1" ref="Options"/>
465 <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>
469 <xs:element name="ModuleSaBuildOptions">
472 <xs:element minOccurs="0" maxOccurs="1" name="FvBinding" type="KeywordList"/>
473 <!-- The FfsFileNameGuid allows the Platform Integrator to specify a GUID for the FFS File Name GUID -->
474 <xs:element minOccurs="0" maxOccurs="1" name="FfsFileNameGuid" type="GuidType"/>
475 <!-- If binding is specified, you MUST specify the FfsFormatKey -->
476 <xs:element minOccurs="0" maxOccurs="1" name="FfsFormatKey" type="KeywordType"/>
477 <xs:element minOccurs="0" maxOccurs="1" ref="Options"/>
481 <xs:element name="ModuleDefinitions">
484 <xs:element minOccurs="1" maxOccurs="1" name="SupportedArchitectures" type="ArchListType"/>
485 <xs:element minOccurs="1" maxOccurs="1" name="BinaryModule" type="xs:boolean" default="false"/>
486 <xs:element minOccurs="1" maxOccurs="1" name="OutputFileBasename" type="FileNameConvention"/>
487 <xs:element minOccurs="0" maxOccurs="1" name="ClonedFrom">
490 <xs:element minOccurs="1" maxOccurs="unbounded" name="Cloned">
493 <xs:element minOccurs="1" maxOccurs="1" name="PackageGuid" type="GuidType"/>
494 <xs:element minOccurs="1" maxOccurs="1" name="PackageVersion" type="VersionDataType"/>
495 <xs:element minOccurs="1" maxOccurs="1" name="ModuleGuid" type="GuidType"/>
496 <xs:element minOccurs="1" maxOccurs="1" name="ModuleVersion" type="VersionDataType"/>
498 <!-- The Id is a number used to track heritage the first entry will be 0 and increment from then on. -->
499 <xs:attribute name="Id" type="xs:nonNegativeInteger" use="required"/>
500 <!-- If the original module was installed from a FAR, track the FAR it came from. -->
501 <xs:attribute name="FarGuid" type="GuidType" use="optional"/>
510 <xs:element name="ModuleType" type="ModuleTypeDef">
512 <xs:documentation xml:lang="en">Describe the valid EFI Phase that the Module is designed to execute under.</xs:documentation>
515 <!-- Use in Final -->
516 <xs:element name="MsaFiles">
518 <xs:documentation xml:lang="en">MsaFiles is a child of Surface Area Package Description (SPD) files</xs:documentation>
522 <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename" type="PathAndFilename"/>
526 <xs:element name="Options">
529 <xs:element minOccurs="1" maxOccurs="unbounded" ref="Option"/>
533 <xs:element name="NonProcessedFiles">
535 <xs:sequence minOccurs="1" maxOccurs="unbounded">
536 <xs:element name="Filename" type="PathAndFilename"/>
540 <xs:element name="Option">
541 <!-- This element is used to store flags from the Tools -->
544 <xs:extension base="xs:normalizedString">
545 <xs:attributeGroup ref="OptionAttributes"/>
550 <xs:element name="PackageDefinitions">
553 <xs:element minOccurs="1" maxOccurs="1" name="ReadOnly" type="xs:boolean" default="false"/>
554 <xs:element minOccurs="1" maxOccurs="1" name="RePackage" type="xs:boolean" default="false"/>
555 <xs:element minOccurs="0" maxOccurs="1" name="ClonedFrom">
558 <xs:element minOccurs="1" maxOccurs="unbounded" name="Cloned">
561 <xs:element minOccurs="1" maxOccurs="1" name="PackageGuid" type="GuidType"/>
562 <xs:element minOccurs="1" maxOccurs="1" name="PackageVersion" type="VersionDataType"/>
564 <!-- The Id is a number used to track heritage the first entry will be 0 and increment from then on. -->
565 <xs:attribute name="Id" type="xs:nonNegativeInteger" use="required"/>
566 <!-- If the original Package was installed from a FAR, track the FAR it came from. -->
567 <xs:attribute name="FarGuid" type="GuidType" use="optional"/>
576 <xs:element name="PackageDependencies">
578 <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>
579 <xs:documentation xml:lang="en">Attributes to PackageName include Required: Usage PackageGuid PackageVesion, Optional: FeatureFlag</xs:documentation>
583 <xs:element minOccurs="1" maxOccurs="unbounded" name="Package">
585 <xs:attributeGroup ref="PackageAttributes"/>
591 <xs:element name="PackageHeaders">
593 <xs:documentation xml:lang="en">PackageHeaders is a child of PackageSurfaceArea (SPD) </xs:documentation>
597 <xs:element minOccurs="1" maxOccurs="unbounded" name="IncludePkgHeader">
600 <xs:extension base="PathAndFilename">
601 <xs:attributeGroup ref="PackageHeaderAttributes"/>
609 <xs:element name="PackageList">
610 <!-- Valid for DB usage only! -->
612 <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>
616 <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename" type="DbPathAndFilename"/>
620 <!-- PcdBuildDefinition is a child of FPD ModuleSA element for FIXED_AT_BUILD, PATCHABLE_IN_MODULE, and FEATURE_FLAG PCDS Only! -->
621 <xs:element name="PcdBuildDefinition">
623 <xs:documentation xml:lang="en">Child of FPD ModuleSA element for FIXED_AT_BUILD, PATCHABLE_IN_MODULE, and FEATURE_FLAG PCDS Only!</xs:documentation>
627 <xs:element minOccurs="1" maxOccurs="unbounded" name="PcdData">
630 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
631 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="TokenDataType"/>
632 <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuidCName" type="C_NameType"/>
633 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
634 <!-- MaxDatumSize is only required if the DatumType is VOID* -->
635 <xs:element minOccurs="0" maxOccurs="1" name="MaxDatumSize" type="DatumSizeLimitation"/>
636 <xs:element minOccurs="0" maxOccurs="1" name="Value" type="DefaultValueType"/>
638 <xs:attributeGroup ref="PcdBuildDefinitionAttributes"/>
644 <xs:group name="DefaultGroup">
646 <xs:element minOccurs="1" maxOccurs="1" name="Value" type="DefaultValueType"/>
649 <xs:group name="HiiEnable">
651 <xs:documentation xml:lang="en">If HiiEnable group is specified, then HiiEnable is default true</xs:documentation>
654 <xs:element minOccurs="1" maxOccurs="1" name="VariableName" type="HexWordArrayType"/>
655 <xs:element minOccurs="1" maxOccurs="1" name="VariableGuid" type="C_NameType"/>
656 <xs:element minOccurs="1" maxOccurs="1" name="VariableOffset" type="Hex64BitDataType"/>
657 <xs:element minOccurs="1" maxOccurs="1" name="HiiDefaultValue" type="DefaultValueType"/>
660 <xs:group name="VpdEnable">
662 <xs:documentation xml:lang="en">If VpdEnable group is specified, then VpdEnable is default true</xs:documentation>
665 <xs:element minOccurs="1" maxOccurs="1" name="VpdOffset" type="Hex64BitDataType"/>
668 <xs:element name="PcdCoded">
670 <xs:documentation xml:lang="en">Child of Module Surface Area Description (MSA)</xs:documentation>
674 <xs:element minOccurs="1" maxOccurs="unbounded" name="PcdEntry">
677 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
678 <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuidCName" type="C_NameType"/>
679 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValueType"/>
680 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
682 <!-- 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. -->
683 <xs:attributeGroup ref="PcdCodedAttributes"/>
689 <!-- LAH This is PcdDeclarations FINAL version -->
690 <xs:element name="PcdDeclarations">
692 <xs:documentation xml:lang="en">PcdDeclaratins is a child of Package Surface Area Description (SPD)</xs:documentation>
695 <xs:sequence minOccurs="1">
696 <xs:element maxOccurs="unbounded" name="PcdEntry">
699 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
700 <xs:element minOccurs="1" maxOccurs="1" name="Token" type="TokenDataType"/>
701 <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuidCName" type="C_NameType"/>
702 <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes"/>
703 <xs:element minOccurs="1" maxOccurs="1" name="ValidUsage" type="PcdListType"/>
704 <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue" type="DefaultValueType"/>
705 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
707 <xs:attributeGroup ref="PcdDeclarationAttributes"/>
713 <xs:element name="FarList">
714 <!-- Valid for DB usage only! -->
716 <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>
720 <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename" type="DbPathAndFilename"/>
724 <xs:element name="FfsFormatDeclarations">
727 <xs:element minOccurs="1" maxOccurs="unbounded" name="FfsFormatDeclaration">
728 <!-- Required Attributes are the FfsFormatKeyword and SupModuleList -->
731 <xs:element minOccurs="1" maxOccurs="unbounded" ref="ProcessStep"/>
733 <xs:attributeGroup ref="FfsAttributes"/>
739 <xs:element name="PpiDeclarations">
741 <xs:documentation xml:lang="en">PpiDeclarations is a child of PackageSurfaceArea (SPD) </xs:documentation>
745 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">
748 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
749 <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>
750 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
752 <xs:attributeGroup ref="PpiDeclarationAttributes"/>
758 <xs:element name="PPIs">
760 <xs:documentation xml:lang="en">Provide for one or more Ppi or PpiNotify sections. </xs:documentation>
763 <xs:sequence minOccurs="1">
764 <xs:element minOccurs="0" maxOccurs="unbounded" name="Ppi">
767 <xs:element minOccurs="1" maxOccurs="1" name="PpiCName" type="C_NameType"/>
768 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
770 <xs:attributeGroup ref="PpiAttributes"/>
773 <xs:element minOccurs="0" maxOccurs="unbounded" name="PpiNotify">
776 <xs:element minOccurs="1" maxOccurs="1" name="PpiNotifyCName" type="C_NameType"/>
777 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
779 <xs:attributeGroup ref="PpiNotifyAttributes"/>
785 <xs:element name="ProtocolDeclarations">
787 <xs:documentation xml:lang="en">ProtocolDeclarations is a child of PackageSurfaceArea (SPD) </xs:documentation>
791 <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">
794 <xs:element minOccurs="1" maxOccurs="1" name="C_Name" type="C_NameType"/>
795 <xs:element minOccurs="1" maxOccurs="1" name="GuidValue" type="GuidType"/>
796 <xs:element minOccurs="1" maxOccurs="1" name="HelpText" type="Paragraph"/>
798 <xs:attributeGroup ref="ProtocolDeclarationAttributes"/>
804 <xs:element name="Protocols">
806 <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>
810 <xs:element minOccurs="0" maxOccurs="unbounded" name="Protocol">
813 <xs:element minOccurs="1" maxOccurs="1" name="ProtocolCName" type="C_NameType"/>
814 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
816 <xs:attributeGroup ref="ProtocolAttributes"/>
819 <xs:element minOccurs="0" maxOccurs="unbounded" name="ProtocolNotify">
822 <xs:element minOccurs="1" maxOccurs="1" name="ProtocolNotifyCName" type="C_NameType"/>
823 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
825 <xs:attributeGroup ref="ProtocolNotifyAttributes"/>
831 <xs:element name="ProcessStep">
834 <!-- The following is a macro for Apache ANT -->
835 <xs:element minOccurs="0" maxOccurs="1" name="MacroDefFile">
838 <xs:extension base="PathAndFilename">
839 <xs:attribute name="MacroName" type="KeywordType" use="required"/>
844 <!-- The following is for System Executables -->
845 <xs:element minOccurs="0" maxOccurs="1" name="ToolName" type="xs:NCName"/>
846 <xs:element minOccurs="0" maxOccurs="unbounded" name="ToolArgs" type="xs:normalizedString"/>
847 <xs:element minOccurs="0" maxOccurs="unbounded" name="InputPattern" type="xs:normalizedString"/>
848 <xs:element minOccurs="0" maxOccurs="1" name="OutputPattern" type="xs:normalizedString"/>
850 <xs:attributeGroup ref="ProcessStepAttributes"/>
853 <xs:element name="SourceFiles">
855 <xs:documentation xml:lang="en">Multiple Filenames may be specified, and they may also be scoped to a specific Architecture.</xs:documentation>
859 <xs:element minOccurs="1" maxOccurs="unbounded" ref="Filename"/>
863 <xs:element name="SkuInfo">
866 <xs:element minOccurs="1" maxOccurs="unbounded" name="UiSkuName">
869 <xs:extension base="UiNameType">
870 <xs:attribute name="SkuID" type="xs:nonNegativeInteger" use="required"/>
878 <xs:element name="SystemTables">
880 <xs:documentation xml:lang="en">This is list of System Table elements.</xs:documentation>
884 <xs:element minOccurs="1" maxOccurs="unbounded" name="SystemTableCNames">
887 <xs:element minOccurs="1" maxOccurs="1" name="SystemTableCName" type="C_NameType"/>
888 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
890 <xs:attributeGroup ref="SystemTableAttributes"/>
896 <xs:element name="UserDefinedAntTasks">
898 <xs:documentation xml:lang="en">This is a sub-element of BuildOptions</xs:documentation>
899 <xs:documentation xml:lang="en">Permit Users to define their own custom ANT tasks.</xs:documentation>
903 <xs:element minOccurs="1" maxOccurs="unbounded" ref="AntTask"/>
907 <xs:element name="UserExtensions">
910 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
912 <xs:attribute name="UserID" type="xs:NCName" use="required"/>
913 <xs:attribute name="Identifier" type="xs:string" use="required"/>
916 <xs:element name="Variables">
918 <xs:documentation xml:lang="en">An MSA FILE list of EFI Variables described by string pair.</xs:documentation>
922 <xs:element minOccurs="1" maxOccurs="unbounded" name="Variable">
924 <xs:documentation xml:lang="en">This is an EFI Variable Entry</xs:documentation>
928 <xs:element minOccurs="1" maxOccurs="1" name="VariableName" type="HexWordArrayType"/>
929 <xs:element minOccurs="1" maxOccurs="1" name="GuidC_Name" type="C_NameType"/>
930 <xs:element minOccurs="0" maxOccurs="1" name="HelpText" type="Paragraph"/>
932 <xs:attributeGroup ref="VariableAttributes"/>
938 <xs:element name="Version" type="VersionDataType"/>