diff options
author | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-18 09:29:36 +0000 |
---|---|---|
committer | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-18 09:29:36 +0000 |
commit | 2558d455a5c21ed01b89686a795786d99648a177 (patch) | |
tree | 960d507fd36a8435cec288d72bcf9843d6bd7611 /Tools/XMLSchema | |
parent | 2cad7af6723f908a5183b14984a555d47d7b82d7 (diff) | |
download | edk2-platforms-2558d455a5c21ed01b89686a795786d99648a177.tar.xz |
Updated Schema for PcdDynamicBuildDeclarations and FrameworkDatabase adding optional elements and attributes to match new XMLSchema
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@194 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/XMLSchema')
-rw-r--r-- | Tools/XMLSchema/FrameworkDataElements.xsd | 160 | ||||
-rw-r--r-- | Tools/XMLSchema/FrameworkDataTypes.xsd | 3 | ||||
-rw-r--r-- | Tools/XMLSchema/FrameworkPlatformDataElements.xsd | 33 | ||||
-rw-r--r-- | Tools/XMLSchema/SurfaceArea.xsd | 320 |
4 files changed, 357 insertions, 159 deletions
diff --git a/Tools/XMLSchema/FrameworkDataElements.xsd b/Tools/XMLSchema/FrameworkDataElements.xsd index bbc75d9729..3be6afb289 100644 --- a/Tools/XMLSchema/FrameworkDataElements.xsd +++ b/Tools/XMLSchema/FrameworkDataElements.xsd @@ -725,6 +725,7 @@ </xs:complexType>
</xs:element>
<xs:element name="Modified" type="DateType"/>
+ <xs:element name="ModifiedDate" type="DateType"/>
<xs:element name="Module">
<xs:annotation>
<xs:documentation xml:lang="en">This is record format for a Module entry in the Framework Database file.</xs:documentation>
@@ -947,8 +948,7 @@ </xs:element>
<xs:element name="PcdBuildDeclarations">
<xs:annotation>
- <xs:documentation xml:lang="en">Child of Framework Platform Description (FPD)</xs:documentation>
- <xs:documentation xml:lang="en">We permit the FPD to use an external XML file for PCD information or else the information must be contained within the XML data element, PcdBuildData.</xs:documentation>
+ <xs:documentation xml:lang="en">NEW: Will become a child of ModuleSA in the FPD</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="1">
@@ -962,6 +962,7 @@ <xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>
<xs:element minOccurs="1" maxOccurs="1" name="Token">
<xs:annotation>
<xs:documentation xml:lang="en">This as a unique identifier defined for either this name space.</xs:documentation>
@@ -1049,6 +1050,7 @@ <xs:documentation xml:lang="en">This is the C Name for the Variable, and is valid if and only HII is enabled.</xs:documentation>
</xs:annotation>
</xs:element>
+ <xs:element minOccurs="0" maxOccurs="1" name="VariableValueDefault" type="xs:normalizedString"/>
<xs:element minOccurs="1" maxOccurs="1" name="DataOffset" type="Hex64BitDataType">
<xs:annotation>
<xs:documentation xml:lang="en">If HII is enabled, This is the offset into the variable data entry, If Vpd is enabled, then it's the Offset into the VPD area of the image defined by platform manufacturer, if neither HII nor Vpd are enabled, it's the offset into the PCD Data Area. HII and VPD can never be enabled at the same time (as of the date of this document.)</xs:documentation>
@@ -1062,11 +1064,156 @@ <xs:element minOccurs="1" maxOccurs="1" name="DefaultValue" type="xs:normalizedString"/>
</xs:sequence>
<xs:attributeGroup ref="PcdAttributes"/>
+ <xs:attribute name="PcdIsDriver" use="optional">
+ <xs:simpleType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This is an enumerated data type that will be used for DYNAMIC_EX, PEIM or DXE only</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="UCNameType">
+ <xs:enumeration value="PEI_PCD_DRIVER"/>
+ <xs:enumeration value="DXE_PCD_DRIVER"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
- </xs:element>
+ </xs:element> <!-- PcdBuildDeclarations -->
+ <xs:element name="PcdDynamicBuildDeclarations">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Child of Framework Platform Description (FPD)</xs:documentation>
+ <xs:documentation xml:lang="en">We permit the FPD to use an external XML file for PCD information or else the information must be contained within the XML data element, PcdBuildData.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="PcdBuildData">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Child of PcdBuildDeclarations</xs:documentation>
+ <xs:documentation xml:lang="en">This is date element is used in the platform build description file and contains valid data for a Platform Build</xs:documentation>
+ <xs:documentation xml:lang="en">There is ONE required Attribute, ItemType</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" ref="C_Name"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="TokenSpaceGuid" type="GuidType"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="Token">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This as a unique identifier defined for either this name space.</xs:documentation>
+ <xs:documentation xml:lang="en">The Target Attribute may be used to define a Target name space, such as PCI.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="HexDoubleWordDataType">
+ <xs:attribute name="Target" type="C_Name" use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDataTypes">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This specifies the size of the Pcd Datum. It is either 8, 16, 32 or 64 bits for values, 1 bit for BOOLEAN and variable length for elements defined as VOID*</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element default="false" minOccurs="1" maxOccurs="1" name="HiiEnable" type="xs:boolean">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This Bit means that the Variable data is associated with HII</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element default="false" minOccurs="1" maxOccurs="1" name="VpdEnable" type="xs:boolean">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This bit enables the Vital Product Data area within flash for maintaining PCD information</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element default="false" minOccurs="1" maxOccurs="1" name="AlternateNameSpaceEnable" type="xs:boolean">
+ <xs:annotation>
+ <xs:documentation>This is only applicable to ItemType DYNAMIC_EX</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element default="false" minOccurs="1" maxOccurs="1" name="SkuEnable" type="xs:boolean"/>
+ <xs:element default="false" minOccurs="1" maxOccurs="1" name="SkuDataArrayEnable" type="xs:boolean"/>
+ <xs:choice minOccurs="0">
+ <xs:element minOccurs="0" maxOccurs="1" name="SkuDataArray">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This element is a list of two entries per line, the first should be an integer, while the second entry should be a string value</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:list itemType="xs:normalizedString"/>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="unbounded" name="SkuData">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This section is for a list of SkuData Elements, ID and Value</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence minOccurs="1">
+ <xs:element name="Id" type="xs:int"/>
+ <xs:element name="Value" type="xs:normalizedString"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ <xs:element default="0x00" minOccurs="1" maxOccurs="1" name="MaxSku" type="HexByteDataType">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This value comes from a production line database, and has nothing to do with the number of SkuData IDs that have been defined.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element default="0x00" minOccurs="1" maxOccurs="1" name="SkuId" type="HexByteDataType">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This is the specific Sku ID for this build.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="1" maxOccurs="1" name="DatumSize">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Max Number of Bytes of the data.</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:int">
+ <xs:minInclusive value="1"/>
+ <xs:maxInclusive value="16777215"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element minOccurs="1" maxOccurs="1" name="VariableGuid" type="VariableGuidType">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This is the Variable's GUID if and only if HII is enabled.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="1" maxOccurs="1" name="VariableName" type="xs:normalizedString">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This is the C Name for the Variable, and is valid if and only HII is enabled.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="1" name="VariableValueDefault" type="xs:normalizedString"/>
+ <xs:element minOccurs="1" maxOccurs="1" name="DataOffset" type="Hex64BitDataType">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">If HII is enabled, This is the offset into the variable data entry, If Vpd is enabled, then it's the Offset into the VPD area of the image defined by platform manufacturer, if neither HII nor Vpd are enabled, it's the offset into the PCD Data Area. HII and VPD can never be enabled at the same time (as of the date of this document.)</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="1" maxOccurs="1" name="GuidOffset" type="Hex64BitDataType">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This field is only valid if AlternateNameSpaceEnable is true.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="1" maxOccurs="1" name="DefaultValue" type="xs:normalizedString"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="PcdAttributes"/>
+ <xs:attribute name="PcdIsDriver" use="optional">
+ <xs:simpleType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This is an enumerated data type that will be used for DYNAMIC_EX, PEIM or DXE only</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="UCNameType">
+ <xs:enumeration value="PEI_PCD_DRIVER"/>
+ <xs:enumeration value="DXE_PCD_DRIVER"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element> <!-- PcdDynamicBuildDeclarations -->
<xs:element name="PcdDefinitions">
<xs:annotation>
<xs:documentation xml:lang="en">Child of Package Surface Area Description (SPD)</xs:documentation>
@@ -1121,7 +1268,7 @@ </xs:annotation>
<xs:complexType>
<xs:sequence>
- <xs:element name="PlatformName">
+ <xs:element minOccurs="0" maxOccurs="1" name="PlatformName">
<xs:annotation>
<xs:documentation xml:lang="en">Define the Name of a Platform</xs:documentation>
</xs:annotation>
@@ -1133,7 +1280,10 @@ </xs:simpleContent>
</xs:complexType>
</xs:element>
- <xs:element ref="Path"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Path"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="File"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="InstalledDate"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="ModifiedDate"/>
<xs:element minOccurs="0" maxOccurs="1" name="AlternatePcdFile" type="FileNameConvention"/>
<xs:element minOccurs="0" maxOccurs="1" name="AlternateFdfFile" type="FileNameConvention"/>
</xs:sequence>
diff --git a/Tools/XMLSchema/FrameworkDataTypes.xsd b/Tools/XMLSchema/FrameworkDataTypes.xsd index 4fbaea4e76..31bd87ea1d 100644 --- a/Tools/XMLSchema/FrameworkDataTypes.xsd +++ b/Tools/XMLSchema/FrameworkDataTypes.xsd @@ -1136,6 +1136,9 @@ <xs:attribute name="Guid" type="GuidType" use="optional"/>
<xs:attribute name="Version" type="VersionDataType" use="optional"/>
<xs:attribute name="AlternateName" type="FileNameConvention" use="optional"/>
+ <xs:attribute name="PlatformName" type="BaseNameConvention" use="optional"/>
+ <xs:attribute name="PlatformGuid" type="GuidType" use="optional"/>
+ <xs:attribute name="PlatformVersion" type="xs:string" use="optional"/>
</xs:attributeGroup>
<xs:attributeGroup name="PpiAttributes">
<xs:attribute name="Guid" type="GuidType" use="optional"/>
diff --git a/Tools/XMLSchema/FrameworkPlatformDataElements.xsd b/Tools/XMLSchema/FrameworkPlatformDataElements.xsd index 9a89ae2d48..5a530c05a8 100644 --- a/Tools/XMLSchema/FrameworkPlatformDataElements.xsd +++ b/Tools/XMLSchema/FrameworkPlatformDataElements.xsd @@ -260,6 +260,9 @@ </xs:complexType>
</xs:element>
<xs:element name="Overrides">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE! - Removing this from Schema</xs:documentation>
+ </xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" ref="FlashDeviceOverrideInfo"/>
@@ -268,15 +271,43 @@ </xs:complexType>
</xs:element>
<xs:element name="PlatformDescriptions">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE! - Use PlatformList instead</xs:documentation>
+ </xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element ref="Platform"/>
</xs:sequence>
</xs:complexType>
</xs:element>
+ <xs:element name="PlatformList">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This is used in the Framework Database file</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence maxOccurs="unbounded">
+ <xs:element ref="Platform"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="FrameworkModules">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This is used in a Framework Platform Description (FPD) file</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="1" name="SEC" type="Components"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="PEI_CORE" type="Components"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="PEIM" type="Components"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="DXE_CORE" type="Components"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="DXE_DRIVERS" type="Components"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="OTHER_COMPONENTS" type="Components"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
<xs:element name="TianoImage">
<xs:annotation>
- <xs:documentation xml:lang="en">This defines the required sections of a valid EFI/Tiano binary image</xs:documentation>
+ <xs:documentation xml:lang="en">DO NOT USE - Use FrameworkModules Instead.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
diff --git a/Tools/XMLSchema/SurfaceArea.xsd b/Tools/XMLSchema/SurfaceArea.xsd index 7b309570ae..8cca1211c9 100644 --- a/Tools/XMLSchema/SurfaceArea.xsd +++ b/Tools/XMLSchema/SurfaceArea.xsd @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.TianoCore.org/2006/Edk2.0" xmlns="http://www.TianoCore.org/2006/Edk2.0">
- <!--
+ <!--
Filename: SurfaceArea.xsd
Copyright (c) 2006, Intel Corp.
@@ -12,156 +12,170 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-->
- <xs:include schemaLocation="FrameworkHeaders.xsd"/>
- <xs:include schemaLocation="FrameworkDataElements.xsd"/>
- <xs:include schemaLocation="FrameworkPlatformDataElements.xsd"/>
- <xs:element name="FrameworkDatabase">
- <xs:annotation>
- <xs:documentation xml:lang="en">This is the valid format for the Package Database File. Note: MsaList is used for Modules that have not yet been included in a package.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="1" maxOccurs="1" ref="FdbHeader"/>
- <xs:element minOccurs="1" maxOccurs="1" ref="PackageList"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="ModuleList"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PlatformDescriptions"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="FrameworkPlatformDescription">
- <xs:annotation>
- <xs:documentation xml:lang="en">This is the valid format for the Framework Platform Description (FPD) File.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="1" maxOccurs="1" ref="PlatformHeader"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Flash"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="TianoImage"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PcdBuildDeclarations"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="LibraryModuleBuildDescription">
- <xs:annotation>
- <xs:documentation xml:lang="en">This is the Module Build Description that contains the list of overrides, library instances that can or must be used by the library.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="1" maxOccurs="1" ref="MbdLibHeader"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="SourceFiles"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Libraries"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="LibraryModuleSurfaceArea">
- <xs:annotation>
- <xs:documentation xml:lang="en">This is the Module Library Surface Area Description that contains the list of the module's source files, library classes that can or must be used by the module, the Class(es) of the Library that will be supported by the library, the Include Paths, Protocols and Ppi's that are either produced or consued.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="1" maxOccurs="1" ref="MsaLibHeader"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDefinitions"/>
- <xs:element minOccurs="1" maxOccurs="1" ref="SourceFiles"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="ModuleBuildDescription">
- <xs:annotation>
- <xs:documentation xml:lang="en">This is the Module Build Description that contains the list of overrides, library instances that can or must be used by the module.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="1" maxOccurs="1" ref="MbdHeader"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="SourceFiles"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Libraries"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="ModuleSurfaceArea">
- <xs:annotation>
- <xs:documentation xml:lang="en">This is the Module Surface Area Description that contains the list of the module's source files, library classes that can or must be used by the module, the Include Paths, Protocols and Ppi's that are either produced or consued.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="1" maxOccurs="1" ref="MsaHeader"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDefinitions"/>
- <xs:element minOccurs="1" maxOccurs="1" ref="SourceFiles"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="PackageSurfaceArea">
- <xs:annotation>
- <xs:documentation xml:lang="en">This is valid content for a Package Surface Area Description (SPD) file.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="1" maxOccurs="1" ref="SpdHeader"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDeclarations"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PackageDependencies"/>
- <xs:element minOccurs="1" maxOccurs="1" ref="MsaFiles"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PackageHeaders"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="GuidDeclarations"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="ProtocolDeclarations"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PpiDeclarations"/>
- <xs:element minOccurs="0" maxOccurs="1" ref="PcdDefinitions"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
+ <xs:include schemaLocation="FrameworkHeaders.xsd"/>
+ <xs:include schemaLocation="FrameworkDataElements.xsd"/>
+ <xs:include schemaLocation="FrameworkPlatformDataElements.xsd"/>
+ <xs:element name="FrameworkDatabase">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This is the valid format for the Package Database File. Note: MsaList is used for Modules that have not yet been included in a package.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" ref="FdbHeader"/>
+ <xs:element minOccurs="1" maxOccurs="1" ref="PackageList"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PlatformList"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PlatformDescriptions">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE! - Use PlatformList instead.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="FrameworkPlatformDescription">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This is the valid format for the Framework Platform Description (FPD) File.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" ref="PlatformHeader"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Flash"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="TianoImage">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE! - Use FrameworkModules instead.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="1" ref="FrameworkModules"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PcdBuildDeclarations">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE! - Use PcdBuildDeclaratiion in ModuleSA instead.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PcdDynamicBuildDeclarations"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="LibraryModuleBuildDescription">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE - PUT IN PLATFORM DESCRIPTION FILE, FPD</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" ref="MbdLibHeader"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="SourceFiles"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Libraries"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="LibraryModuleSurfaceArea">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE - USE MODULE DESCRIPTION FILE, MSA</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" ref="MsaLibHeader"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDefinitions"/>
+ <xs:element minOccurs="1" maxOccurs="1" ref="SourceFiles"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="ModuleBuildDescription">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">DO NOT USE - PUT IN PLATFORM DESCRIPTION FILE, FPD</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" ref="MbdHeader"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="SourceFiles"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Libraries"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="ModuleSurfaceArea">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This is the Module Surface Area Description that contains the list of the module's source files, library classes that can or must be used by the module, the Include Paths, Protocols and Ppi's that are either produced or consued.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" ref="MsaHeader"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDefinitions"/>
+ <xs:element minOccurs="1" maxOccurs="1" ref="SourceFiles"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="PackageSurfaceArea">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">This is valid content for a Package Surface Area Description (SPD) file.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="1" ref="SpdHeader"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDeclarations"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PackageDependencies"/>
+ <xs:element minOccurs="1" maxOccurs="1" ref="MsaFiles"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PackageHeaders"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="GuidDeclarations"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="ProtocolDeclarations"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PpiDeclarations"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PcdDefinitions"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
</xs:schema>
|