2006-04-22 00:54:32 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<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" >
2006-06-01 05:23:09 +02:00
<!--
2006-04-22 00:54:32 +02:00
Filename: FrameworkDataElements.xsd
Copyright (c) 2006, Intel Corp.
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-->
<xs:annotation >
2006-06-01 05:23:09 +02:00
<xs:documentation xml:lang= "en" > This schema defines EFI and Framework Data Elements </xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
2006-06-01 05:23:09 +02:00
<xs:include schemaLocation= "NamingConvention.xsd" />
<xs:include schemaLocation= "FrameworkDataTypes.xsd" />
2006-06-09 04:06:06 +02:00
<xs:include schemaLocation= "FrameworkPlatformDataTypes.xsd" />
2006-06-01 05:23:09 +02:00
<xs:include schemaLocation= "FrameworkDataAttributes.xsd" />
<xs:element name= "Abstract" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Abstract is valid for all Description Files</xs:documentation>
<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>
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "Sentence" >
<xs:attribute name= "URL" type= "xs:anyURI" use= "optional" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "AntCmd" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This is a sub-element of AntTask</xs:documentation>
<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>
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "0" name= "Id" type= "xs:int" />
<xs:element name= "ExecutionOrder" >
<xs:simpleType >
<xs:list itemType= "xs:normalizedString" />
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref= "SectionAttributes" />
</xs:complexType>
2006-04-22 00:54:32 +02:00
</xs:element>
<xs:element name= "AntTask" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This is a sub-element of UserDefinedAntTasks</xs:documentation>
<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>
</xs:annotation>
<xs:complexType >
<xs:choice >
<xs:element ref= "AntCmd" />
<xs:element ref= "Filename" />
</xs:choice>
<xs:attribute name= "Id" type= "xs:int" use= "required" />
</xs:complexType>
</xs:element>
<xs:element name= "BaseName" >
<xs:annotation >
<xs:documentation xml:lang= "en" > BaseName is valid for all Description Files</xs:documentation>
<xs:documentation xml:lang= "en" > We need to be able to permit different attributes for every basename </xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "BaseNameConvention" >
<xs:attributeGroup ref= "BaseNameAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "BootModes" >
<xs:annotation >
<xs:documentation xml:lang= "en" > BootModes is valid for all Description Files</xs:documentation>
<xs:documentation xml:lang= "en" > This is a list of BootModes Supported by the Module</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "BootMode" >
<xs:complexType >
<xs:attributeGroup ref= "BootModeAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "BuildOptions" >
<xs:annotation >
<xs:documentation xml:lang= "en" > BuildOptions is valid for MBD and FPD files.</xs:documentation>
<xs:documentation xml:lang= "en" > Specific Build Options, by Tool Chain, than should be applied, overriding any global options</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "UserDefinedAntTasks" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "ImageEntryPoint" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "OutputDirectory" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "Ffs" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Sections" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "Filenames" />
<xs:sequence minOccurs= "0" >
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Option" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "xs:normalizedString" >
<xs:attributeGroup ref= "OptionAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
2006-06-03 04:03:23 +02:00
<!-- Arch element should be removed - use Arch attributes to the above instead. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element maxOccurs= "unbounded" name= "Option" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "xs:normalizedString" >
<xs:attributeGroup ref= "OptionAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:sequence>
<xs:attribute name= "ToolChain" type= "ToolChains" />
</xs:complexType>
</xs:element>
<xs:element name= "C_Name" type= "C_Name" >
<xs:annotation >
<xs:documentation xml:lang= "en" > C_Name is valid for all Description Files</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name= "ComponentName" type= "C_Name" >
<xs:annotation >
<xs:documentation xml:lang= "en" > ComponentName is valid for all Description Files</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name= "ComponentType" type= "FrameworkComponentTypes" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Describe the valid Framework Component Type</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name= "ConditionalExpression" >
2006-06-03 04:03:23 +02:00
<!-- DO NOT USE remove and use FeatureFlag instead -->
2006-04-22 00:54:32 +02:00
<xs:annotation >
<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>
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "unbounded" name= "Condition" type= "xs:normalizedString" />
</xs:sequence>
<xs:attribute name= "ConditionalTarget" type= "ConditionalTarget" use= "optional" />
</xs:complexType>
</xs:element>
<xs:element name= "Constructor" type= "C_Name" />
<xs:element name= "Copyright" type= "Sentence" />
<xs:element name= "Created" type= "DateType" />
2006-05-25 17:34:26 +02:00
<xs:element name= "CreatedDate" type= "DateType" />
2006-04-22 00:54:32 +02:00
<xs:element name= "CreatedBy" type= "UserName" />
<xs:element name= "DataHubs" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This is a list of DataHubRecord elements.</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "DataHubRecord" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "xs:normalizedString" >
<xs:attributeGroup ref= "DataHubAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
2006-06-03 04:03:23 +02:00
<!-- Remove Arch and use Arch Attribute for DataHubRecord instead. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence >
<xs:element name= "DataHubRecord" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "xs:normalizedString" >
<xs:attributeGroup ref= "DataHubAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "DatabaseName" >
<xs:annotation >
<xs:documentation xml:lang= "en" > The Name of the Database, "FrameworkDatabase"</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "BaseNameConvention" >
<xs:attributeGroup ref= "BaseNameAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "DefaultValue" >
<xs:annotation >
<xs:documentation xml:lang= "en" > The default setting of a PCD entry.</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "xs:normalizedString" />
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "Description" type= "Paragraph" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This section is required for new modules and libraries and must contain more information than the Abstract.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name= "Destructor" type= "C_Name" />
<xs:element name= "DriverBinding" type= "C_Name" />
<xs:element name= "DriverConfig" type= "C_Name" />
<xs:element name= "DriverDiag" type= "C_Name" />
<xs:element name= "E-Mail" type= "E-Mail" />
<xs:element name= "Events" >
<xs:annotation >
2006-06-09 06:32:47 +02:00
<xs:documentation xml:lang= "en" > This is a list of MSA Events</xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "0" maxOccurs= "1" name= "CreateEvents" >
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "Event" >
<xs:complexType >
<xs:sequence >
2006-06-09 06:32:47 +02:00
<xs:choice >
<xs:element minOccurs= "0" maxOccurs= "1" name= "GuidC_Name" type= "GuidC_NameType" />
<!-- DO NOT USE, removing C_Name in final -->
<xs:element minOccurs= "0" maxOccurs= "1" ref= "C_Name" />
</xs:choice>
<!-- DO NOT USE, removing Guid and GuidValue from Final -->
2006-06-03 04:03:23 +02:00
<xs:choice minOccurs= "0" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
</xs:choice>
2006-04-22 00:54:32 +02:00
</xs:sequence>
<xs:attributeGroup ref= "EventAttributes" />
</xs:complexType>
</xs:element>
2006-06-04 01:59:38 +02:00
<!-- Remove Arch Section and use Arch Attribute instead in Event. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence >
<xs:element name= "Event" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "C_Name" />
2006-06-03 04:03:23 +02:00
<xs:choice minOccurs= "0" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
</xs:choice>
2006-04-22 00:54:32 +02:00
</xs:sequence>
<xs:attributeGroup ref= "EventAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs= "0" maxOccurs= "1" name= "SignalEvents" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Module has an event that is waiting to be signaled. Event is named by GUID.</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "Event" >
<xs:complexType >
<xs:sequence >
2006-06-09 06:32:47 +02:00
<xs:choice >
<xs:element minOccurs= "0" maxOccurs= "1" name= "GuidC_Name" type= "GuidC_NameType" />
<!-- DO NOT USE, removing C_Name in final -->
<xs:element minOccurs= "0" maxOccurs= "1" ref= "C_Name" />
</xs:choice>
<!-- DO NOT USE, removing Guid and GuidValue from Final -->
2006-06-03 04:03:23 +02:00
<xs:choice minOccurs= "0" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
</xs:choice>
2006-04-22 00:54:32 +02:00
</xs:sequence>
<xs:attributeGroup ref= "EventAttributes" />
</xs:complexType>
</xs:element>
2006-06-04 01:59:38 +02:00
<!-- Remove Arch and use Arch attribute in Event above -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence >
<xs:element name= "Event" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "C_Name" />
</xs:sequence>
<xs:attributeGroup ref= "EventAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "ExitBootServicesCallBack" type= "C_Name" />
<xs:element name= "Externs" >
<xs:annotation >
2006-06-09 06:32:47 +02:00
<xs:documentation xml:lang= "en" > This is a child of MSA files.</xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
2006-06-01 05:23:09 +02:00
<xs:sequence minOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "1" name= "PcdIsDriver" type= "PcdDriverTypes" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Extern" >
2006-04-22 00:54:32 +02:00
<xs:complexType >
<xs:choice minOccurs= "1" >
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Driver Module</xs:documentation>
</xs:annotation>
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "ModuleEntryPoint" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "ModuleUnloadImage" />
</xs:sequence>
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Library Module</xs:documentation>
</xs:annotation>
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Constructor" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Destructor" />
</xs:sequence>
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:annotation >
<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>
<xs:documentation xml:lang= "en" > Permit User Defined Extern Tags</xs:documentation>
</xs:annotation>
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "DriverBinding" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "ComponentName" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "DriverConfig" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "DriverDiag" />
</xs:sequence>
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Module Call Backs</xs:documentation>
</xs:annotation>
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "SetVirtualAddressMapCallBack" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "ExitBootServicesCallBack" />
</xs:sequence>
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "UserDefined" type= "C_Name" />
</xs:choice>
<xs:attributeGroup ref= "ExternAttributes" />
</xs:complexType>
</xs:element>
2006-06-03 04:03:23 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "Specification" />
<!-- Remove Arch and use Arch Attribute in above. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence >
<xs:element name= "Extern" >
<xs:complexType >
<xs:choice minOccurs= "1" >
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Driver Module</xs:documentation>
</xs:annotation>
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "ModuleEntryPoint" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "ModuleUnloadImage" />
</xs:sequence>
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Library Module</xs:documentation>
</xs:annotation>
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Constructor" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Destructor" />
</xs:sequence>
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:annotation >
<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>
<xs:documentation xml:lang= "en" > Permit User Defined Extern Tags</xs:documentation>
</xs:annotation>
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "DriverBinding" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "ComponentName" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "DriverConfig" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "DriverDiag" />
</xs:sequence>
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Module Call Backs</xs:documentation>
</xs:annotation>
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "SetVirtualAddressMapCallBack" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "ExitBootServicesCallBack" />
</xs:sequence>
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "UserDefined" type= "C_Name" />
</xs:choice>
<xs:attributeGroup ref= "ExternAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "Ffs" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Define the FFS File attributes within a sections and containing sections information</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Attribute" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" name= "Name" type= "C_Name" />
<xs:element minOccurs= "1" maxOccurs= "1" name= "Value" type= "C_Name" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Sections" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "Filename" >
<xs:annotation >
2006-06-09 06:32:47 +02:00
<xs:documentation xml:lang= "en" > Describe the valid content of a filename This should extend PathAndFilename - Variable names not allowed here!</xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "VariableConvention" >
<xs:attributeGroup ref= "FilenameAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "Filenames" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This is a list of Filenames</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "Filename" />
2006-06-03 04:03:23 +02:00
<!-- DO NOT USE Arch remove it element and use Arch Attribute to Filename instead -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element maxOccurs= "unbounded" ref= "Filename" />
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "Formsets" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Describe the list of a Formset elements</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "Formset" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "C_Name" >
<xs:attributeGroup ref= "FormsetAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
2006-06-04 01:59:38 +02:00
<!-- DO NOT USE! removing Arch element, use Arch attribute in Formset instead. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence >
<xs:element name= "Formset" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Describe the valid content of a Formset</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "C_Name" >
<xs:attributeGroup ref= "FormsetAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "Guid" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Describe the valid content of a GUID</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "GuidType" >
<xs:attributeGroup ref= "GuidAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "GuidDeclarations" >
2006-06-09 04:06:06 +02:00
<xs:annotation >
<xs:documentation xml:lang= "en" > This is a child of PackageSurfaceArea (SPD) </xs:documentation>
</xs:annotation>
2006-04-22 00:54:32 +02:00
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "unbounded" name= "Entry" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "C_Name" />
2006-06-03 04:03:23 +02:00
<xs:choice minOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
</xs:choice>
2006-06-09 04:06:06 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "HelpText" />
2006-04-22 00:54:32 +02:00
</xs:sequence>
2006-06-09 04:06:06 +02:00
<xs:attributeGroup ref= "GuidDeclarationAttributes" />
2006-04-22 00:54:32 +02:00
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "Guids" >
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "GuidEntry" >
<xs:annotation >
2006-06-09 06:32:47 +02:00
<xs:documentation xml:lang= "en" > Describe the valid content of a GUID element in and MSA file.</xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "C_Name" />
2006-06-09 06:32:47 +02:00
<!-- DO NOT USE removing GuidValue from use -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
2006-06-09 06:32:47 +02:00
<!-- DO NOT USE removing FeatureFlag from use, use FeatureFlag Attribute instead -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "FeatureFlag" type= "C_Name" />
2006-06-04 01:59:38 +02:00
<!-- DO NOT USE remove ConditionalExpression and use FeatureFlag instead -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "ConditionalExpression" />
2006-06-09 06:32:47 +02:00
<!-- DO NOT USE, remove DefaultValue from use -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "DefaultValue" />
2006-06-09 06:32:47 +02:00
<!-- DO NOT USE, remove HelpText from use -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "HelpText" />
</xs:sequence>
<xs:attributeGroup ref= "GuidAttributes" />
</xs:complexType>
</xs:element>
2006-06-03 04:03:23 +02:00
<!-- DO NOT USE Arch, Arch should be removed and the attribute Arch should be used in the above. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence >
<xs:element name= "GuidEntry" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Describe the valid content of a PCD GUID element</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "C_Name" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "FeatureFlag" type= "C_Name" />
2006-06-04 01:59:38 +02:00
<!-- DO NOT USE remove ConditionalExpression and use FeatureFlag instead -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "ConditionalExpression" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "DefaultValue" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "HelpText" />
</xs:sequence>
<xs:attributeGroup ref= "GuidAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "GuidValue" type= "GuidType" />
2006-06-09 01:46:59 +02:00
<xs:element name= "HelpText" type= "Paragraph" />
<xs:element name= "HiiPackages" >
2006-04-22 00:54:32 +02:00
<xs:annotation >
2006-06-09 01:46:59 +02:00
<xs:documentation xml:lang= "en" > Describe the list of a HiiPackage elements</xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
2006-06-09 01:46:59 +02:00
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "HiiPackage" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "C_Name" >
2006-06-09 06:32:47 +02:00
<xs:attributeGroup ref= "HiiPackageAttributes" />
2006-06-09 01:46:59 +02:00
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
2006-04-22 00:54:32 +02:00
</xs:element>
<xs:element name= "Hobs" >
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "Hob" >
<xs:complexType >
<xs:sequence >
2006-06-09 06:32:47 +02:00
<xs:choice >
<!-- Remove Name from use -->
<xs:element minOccurs= "0" maxOccurs= "1" name= "Name" type= "xs:normalizedString" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "GuidC_Name" type= "GuidC_NameType" />
</xs:choice>
<!-- Remove C_Name from use -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "C_Name" />
2006-06-09 06:32:47 +02:00
<!-- Remove Guid and GuidValue from use -->
2006-06-03 04:03:23 +02:00
<xs:choice minOccurs= "0" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
</xs:choice>
2006-04-22 00:54:32 +02:00
</xs:sequence>
<xs:attributeGroup ref= "HobAttributes" />
</xs:complexType>
</xs:element>
2006-06-03 04:03:23 +02:00
<!-- DO NOT USE Arch, use attribute Arch for Hob in above -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence >
<xs:element name= "Hob" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "0" maxOccurs= "1" name= "Name" type= "xs:normalizedString" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "C_Name" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
</xs:sequence>
<xs:attributeGroup ref= "HobAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "ImageEntryPoint" type= "C_Name" />
<xs:element name= "IncludeHeader" >
<xs:complexType >
<xs:simpleContent >
2006-06-09 01:46:59 +02:00
<xs:extension base= "PathAndFilename" >
<!-- Need to use IncludeHeaderAttributes in final -->
2006-04-22 00:54:32 +02:00
<xs:attributeGroup ref= "IncludeAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "Includes" >
<xs:annotation >
<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>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "PackageName" />
2006-06-03 02:46:59 +02:00
<!-- remove Arch element, start using the Arch attribute for the PackageName element above. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element maxOccurs= "unbounded" ref= "PackageName" />
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
2006-06-09 01:46:59 +02:00
<xs:element name= "IndustryStdIncludes" >
2006-06-04 08:09:14 +02:00
<xs:complexType >
<xs:sequence >
2006-06-09 01:46:59 +02:00
<xs:element minOccurs= "1" maxOccurs= "unbounded" ref= "IndustryStdHeader" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "IndustryStdHeader" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" name= "Header" type= "UiNameType" />
<xs:element minOccurs= "1" maxOccurs= "1" name= "IncludeHeader" type= "PathAndFilename" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "HelpText" />
2006-06-04 08:09:14 +02:00
</xs:sequence>
2006-06-09 01:46:59 +02:00
<xs:attributeGroup ref= "IndustryStdHeaderAttributes" />
2006-06-04 08:09:14 +02:00
</xs:complexType>
</xs:element>
2006-04-22 00:54:32 +02:00
<xs:element name= "InstalledDate" type= "DateType" />
<xs:element name= "Libraries" >
<xs:annotation >
2006-06-03 04:03:23 +02:00
<xs:documentation xml:lang= "en" > Different (Module) Instances of Libraries used ONLY in FPD Files.</xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Library" >
<xs:complexType >
<xs:simpleContent >
2006-06-03 02:46:59 +02:00
<xs:extension base= "xs:NCName" >
2006-04-22 00:54:32 +02:00
<xs:attributeGroup ref= "LibraryAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
2006-06-03 02:46:59 +02:00
<!-- remove Arch Element HERE, start using the Arch attribute in Library element above. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:choice minOccurs= "1" maxOccurs= "unbounded" >
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Library" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "BaseNameConvention" >
<xs:attributeGroup ref= "LibraryAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
2006-06-03 02:46:59 +02:00
<!-- /remove Arch Element -->
2006-04-22 00:54:32 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "LibraryClass" >
<xs:annotation >
2006-06-03 02:46:59 +02:00
<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>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
2006-06-09 06:32:47 +02:00
<xs:extension base= "xs:NCName" >
2006-06-04 01:59:38 +02:00
<xs:attributeGroup ref= "LibraryClassAttributes" />
2006-04-22 00:54:32 +02:00
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
2006-06-09 01:46:59 +02:00
<!-- LAH This is LibraryClassDeclaration FINAL version -->
2006-04-22 00:54:32 +02:00
<xs:element name= "LibraryClassDeclaration" >
<xs:annotation >
<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>
</xs:annotation>
<xs:complexType >
2006-06-09 01:46:59 +02:00
<xs:sequence >
2006-06-02 02:24:08 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "LibraryClass" >
<xs:complexType >
<xs:simpleContent >
2006-06-09 01:46:59 +02:00
<xs:extension base= "xs:NCName" >
2006-06-02 02:24:08 +02:00
<xs:attribute name= "RecommendedInstanceGuid" type= "GuidType" use= "optional" />
2006-06-09 01:46:59 +02:00
<xs:attribute name= "RecommendedInstanceVersion" type= "xs:decimal" use= "optional" />
2006-06-02 02:24:08 +02:00
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" ref= "IncludeHeader" />
</xs:sequence>
</xs:complexType>
</xs:element>
2006-06-09 01:46:59 +02:00
<!-- LAH This is LibraryClassDeclarations FINAL version -->
2006-04-22 00:54:32 +02:00
<xs:element name= "LibraryClassDeclarations" >
2006-06-09 01:46:59 +02:00
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "unbounded" ref= "LibraryClassDeclaration" />
2006-04-22 00:54:32 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "LibraryClassDefinitions" >
<xs:annotation >
2006-06-04 08:09:14 +02:00
<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>
2006-04-22 00:54:32 +02:00
</xs:annotation>
2006-06-09 06:32:47 +02:00
<xs:complexType >
2006-04-22 00:54:32 +02:00
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element ref= "LibraryClass" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "License" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "Paragraph" >
2006-05-25 19:56:40 +02:00
<xs:attribute name= "URL" type= "xs:anyURI" use= "optional" />
2006-04-22 00:54:32 +02:00
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "Modified" type= "DateType" />
2006-05-18 11:29:36 +02:00
<xs:element name= "ModifiedDate" type= "DateType" />
2006-04-22 00:54:32 +02:00
<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>
</xs:annotation>
<xs:complexType >
<xs:annotation >
<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>
</xs:annotation>
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "ModuleName" />
2006-06-03 04:03:23 +02:00
<xs:choice minOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
</xs:choice>
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Version" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Path" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "ModuleEntryPoint" type= "xs:normalizedString" />
<xs:element name= "ModuleList" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This tag is used in the Framework Package Database File to track package installation</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence maxOccurs= "unbounded" >
<xs:element minOccurs= "1" maxOccurs= "unbounded" ref= "Module" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "ModuleName" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This is the valid content of a Module Name</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
2006-06-03 02:46:59 +02:00
<xs:extension base= "xs:NCName" >
2006-04-22 00:54:32 +02:00
<xs:attributeGroup ref= "ModuleNameAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "ModuleType" type= "ModuleTypeDef" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Describe the valid EFI Phase that the Module is designed to execute under.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name= "ModuleUnloadImage" type= "xs:normalizedString" />
<xs:element name= "MsaFiles" >
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "MsaFile" >
<xs:annotation >
2006-06-02 02:24:08 +02:00
<xs:documentation xml:lang= "en" > Surface Area Package Description (SPD) list of Module Surface Area files</xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:element minOccurs= "0" ref= "Filename" />
<xs:element minOccurs= "0" ref= "BuildOptions" />
</xs:sequence>
<xs:attributeGroup ref= "MsaAttributes" />
</xs:complexType>
</xs:element>
2006-06-03 04:03:23 +02:00
<!-- DO NOT USE Arch element, use attribute Arch in above. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element maxOccurs= "unbounded" name= "MsaFile" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Describe the valid content of a Surface Area Package Description (SPD) file</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "0" maxOccurs= "1" >
<xs:element minOccurs= "0" ref= "Filename" />
<xs:element minOccurs= "0" ref= "BuildOptions" />
</xs:sequence>
<xs:attributeGroup ref= "MsaAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
2006-06-09 04:06:06 +02:00
<!-- Use in Final -->
2006-06-06 05:09:40 +02:00
<xs:element name= "MsaFileList" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Surface Area Package Description (SPD) list of Module Surface Area files</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence >
2006-06-09 04:06:06 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Filename" type= "PathAndFilename" />
2006-06-06 05:09:40 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
2006-04-22 00:54:32 +02:00
<xs:element name= "OutputDirectory" >
<xs:annotation >
<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>
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "DirectoryNamingConvention" >
<xs:attribute default= "MODULE" name= "IntermediateDirectories" >
<xs:simpleType >
<xs:restriction base= "UCNameType" >
<xs:enumeration value= "MODULE" />
<xs:enumeration value= "UNIFIED" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "PCDs" >
2006-06-03 04:03:23 +02:00
<!-- PCDs section is going away to be replaced by something else TB Named later -->
2006-04-22 00:54:32 +02:00
<xs:annotation >
<xs:documentation xml:lang= "en" > Child of Module Surface Area documents, MSA and MBD files, Library Modules and Other Modules</xs:documentation>
<xs:documentation xml:lang= "en" > One or more PcdData or PcdBuildData Elements Only one type is permitted</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element maxOccurs= "unbounded" name= "PcdData" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This is a child of PCDs and can occur in the MSA and MBD files.</xs:documentation>
<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>
<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= "1" maxOccurs= "1" name= "Token" type= "HexDoubleWordDataType" />
2006-06-02 03:53:24 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "TokenSpaceGuid" type= "GuidType" />
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "DatumType" type= "PcdDataTypes" />
<xs:element default= "false" minOccurs= "0" maxOccurs= "1" name= "HiiEnable" type= "xs:boolean" />
<xs:element default= "false" minOccurs= "0" maxOccurs= "1" name= "VpdEnable" type= "xs:boolean" />
<xs:element default= "false" minOccurs= "0" maxOccurs= "1" name= "AlternateNameSpaceEnable" type= "xs:boolean" />
<xs:element default= "false" minOccurs= "0" maxOccurs= "1" name= "SkuEnable" type= "xs:boolean" />
<xs:element default= "false" minOccurs= "0" maxOccurs= "1" name= "SkuDataArrayEnable" type= "xs:boolean" />
<xs:element default= "0x00" minOccurs= "0" maxOccurs= "1" name= "MaxSku" type= "HexByteDataType" />
<xs:element default= "0x00" minOccurs= "0" maxOccurs= "1" name= "SkuId" type= "HexByteDataType" />
2006-06-06 05:09:40 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "DatumSize" type= "DatumSizeLimitation" />
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "VariableName" type= "xs:normalizedString" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "VariableGuid" type= "VariableGuidType" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "DataOffset" type= "Hex64BitDataType" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "GuidOffset" type= "Hex64BitDataType" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "DefaultValue" type= "xs:normalizedString" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "HelpText" />
</xs:sequence>
<xs:attributeGroup ref= "PcdAttributes" />
2006-06-01 05:23:09 +02:00
<xs:attribute name= "PcdIsDriver" use= "optional" />
2006-04-22 00:54:32 +02:00
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "PackageDependencies" >
<xs:annotation >
2006-06-09 06:32:47 +02:00
<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>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence maxOccurs= "unbounded" >
<xs:element minOccurs= "1" maxOccurs= "unbounded" ref= "PackageName" />
</xs:sequence>
<xs:attributeGroup ref= "PackageNameAttributes" />
</xs:complexType>
</xs:element>
<xs:element name= "PackageHeaders" >
<xs:annotation >
2006-06-09 04:06:06 +02:00
<xs:documentation xml:lang= "en" > This is a child of PackageSurfaceArea (SPD) </xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence >
2006-06-09 04:06:06 +02:00
<xs:choice >
<!-- DO NOT USE! removing IncludeHeader, use IncludePkgHeader instead. -->
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "IncludeHeader" />
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "IncludePkgHeader" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "PathAndFilename" >
<xs:attributeGroup ref= "PackageHeaderAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:choice>
2006-04-22 00:54:32 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "PackageList" >
<xs:annotation >
2006-06-03 02:46:59 +02:00
<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>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence maxOccurs= "unbounded" >
<xs:element minOccurs= "1" name= "Package" >
<xs:annotation >
<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>
</xs:annotation>
<xs:complexType >
<xs:sequence maxOccurs= "unbounded" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "PackageName" />
2006-06-03 04:03:23 +02:00
<xs:choice minOccurs= "0" >
2006-06-03 02:46:59 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
<!-- DO NOT USE Guid should be removed, use PackageGuid instead -->
<xs:element minOccurs= "0" maxOccurs= "1" name= "PackageGuid" type= "GuidType" />
</xs:choice>
2006-06-03 04:03:23 +02:00
<xs:choice minOccurs= "0" >
2006-06-03 02:46:59 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Version" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "PackageVersion" type= "VersionDataType" />
</xs:choice>
2006-06-03 04:03:23 +02:00
<xs:choice minOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Path" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Filename" />
</xs:choice>
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" ref= "InstalledDate" />
</xs:sequence>
<xs:attributeGroup ref= "PackageAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "PackageName" >
<xs:annotation >
2006-06-03 02:46:59 +02:00
<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>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
2006-06-09 06:32:47 +02:00
<xs:extension base= "UiNameType" >
2006-04-22 00:54:32 +02:00
<xs:attributeGroup ref= "PackageAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "PackageType" type= "PackageType" />
<xs:element name= "Path" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Describe the valid content of a filename</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "DirectoryNamingConvention" >
<xs:attributeGroup ref= "DirectoryAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "PcdBuildDeclarations" >
<xs:annotation >
2006-05-18 11:29:36 +02:00
<xs:documentation xml:lang= "en" > NEW: Will become a child of ModuleSA in the FPD</xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:choice minOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Filename" />
<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= "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>
2006-06-02 03:53:24 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "TokenSpaceGuid" type= "GuidType" />
2006-04-22 00:54:32 +02:00
<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>
2006-05-18 11:29:36 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "VariableValueDefault" type= "xs:normalizedString" />
2006-04-22 00:54:32 +02:00
<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>
2006-05-19 10:43:55 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "GuidOffset" type= "Hex64BitDataType" >
2006-04-22 00:54:32 +02:00
<xs:annotation >
2006-05-19 10:43:55 +02:00
<xs:documentation xml:lang= "en" > FIELD IS NOT USED! REMOVE in FINAL!</xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
</xs:element>
<xs:element minOccurs= "1" maxOccurs= "1" name= "DefaultValue" type= "xs:normalizedString" />
</xs:sequence>
<xs:attributeGroup ref= "PcdAttributes" />
2006-05-29 03:35:56 +02:00
<xs:attribute name= "PcdIsDriver" >
2006-06-01 05:23:09 +02:00
<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>
2006-04-22 00:54:32 +02:00
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
2006-06-01 05:23:09 +02:00
</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>
2006-06-02 03:53:24 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "TokenSpaceGuid" type= "GuidType" />
2006-06-06 05:09:40 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "DatumType" type= "PcdDataTypes" />
<xs:element default= "false" minOccurs= "1" maxOccurs= "1" name= "HiiEnable" type= "xs:boolean" />
<xs:element default= "false" minOccurs= "1" maxOccurs= "1" name= "VpdEnable" type= "xs:boolean" />
<xs:element default= "false" minOccurs= "1" maxOccurs= "1" name= "AlternateNameSpaceEnable" type= "xs:boolean" />
2006-06-01 05:23:09 +02:00
<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>
2006-06-06 05:09:40 +02:00
<xs:element default= "0x00" minOccurs= "1" maxOccurs= "1" name= "SkuId" type= "HexByteDataType" />
<xs:element minOccurs= "1" maxOccurs= "1" name= "DatumSize" type= "DatumSizeLimitation" />
<xs:element minOccurs= "1" maxOccurs= "1" name= "VariableGuid" type= "VariableGuidType" />
<xs:element minOccurs= "1" maxOccurs= "1" name= "VariableName" type= "xs:normalizedString" />
2006-06-01 05:23:09 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "VariableValueDefault" type= "xs:normalizedString" />
2006-06-06 05:09:40 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "DataOffset" type= "Hex64BitDataType" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "GuidOffset" type= "Hex64BitDataType" />
2006-05-18 11:29:36 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "DefaultValue" type= "xs:normalizedString" />
</xs:sequence>
<xs:attributeGroup ref= "PcdAttributes" />
2006-05-29 03:35:56 +02:00
<xs:attribute name= "PcdIsDriver" >
2006-06-01 05:23:09 +02:00
<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>
2006-05-18 11:29:36 +02:00
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
2006-06-01 05:23:09 +02:00
</xs:element>
2006-06-06 05:09:40 +02:00
<xs:element name= "DynamicPcdBuildDefinitions" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Child of Framework Platform Description (FPD)</xs:documentation>
<xs:documentation xml:lang= "en" > FPD uses this PCD information for Dynamic PCDs Only</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "PcdBuildData" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "C_Name" />
2006-06-09 07:51:19 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "Token" type= "TokenDataType" />
2006-06-06 05:09:40 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "TokenSpaceGuid" type= "GuidType" />
<xs:element minOccurs= "1" maxOccurs= "1" name= "DatumType" type= "PcdDataTypes" />
2006-06-09 07:51:19 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "MaxDatumSize" type= "DatumSizeLimitation" />
<xs:element minOccurs= "1" maxOccurs= "unbounded" name= "SkuInfo" >
<xs:complexType >
<xs:sequence >
2006-06-10 15:16:10 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "SkuId" type= "xs:nonNegativeInteger" />
2006-06-09 07:51:19 +02:00
<xs:choice >
<xs:group minOccurs= "0" maxOccurs= "1" ref= "HiiEnable" />
<xs:group minOccurs= "0" maxOccurs= "1" ref= "VpdEnable" />
<xs:group minOccurs= "0" maxOccurs= "1" ref= "DefaultGroup" />
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
2006-06-06 05:09:40 +02:00
</xs:sequence>
<xs:attributeGroup ref= "PcdAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "PcdBuildDefinition" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Child of FPD ModuleSA element for FIXED_AT_BUILD, PATCHABLE_IN_MODULE, and FEATURE_FLAG PCDS Only!</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element maxOccurs= "unbounded" name= "PcdData" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "C_Name" />
2006-06-09 07:51:19 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "Token" type= "TokenDataType" />
2006-06-06 05:09:40 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "TokenSpaceGuid" type= "GuidType" />
<xs:element minOccurs= "1" maxOccurs= "1" name= "DatumType" type= "PcdDataTypes" />
2006-06-10 15:16:10 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "MaxDatumSize" type= "DatumSizeLimitation" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "Value" type= "xs:normalizedString" />
2006-06-06 05:09:40 +02:00
</xs:sequence>
2006-06-09 07:51:19 +02:00
<xs:attributeGroup ref= "PcdBuildDefinitionAttributes" />
2006-06-06 05:09:40 +02:00
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
2006-06-09 07:51:19 +02:00
<xs:group name= "DefaultGroup" >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" name= "Value" type= "xs:normalizedString" />
</xs:sequence>
</xs:group>
2006-06-06 07:18:42 +02:00
<xs:group name= "HiiEnable" >
2006-06-06 05:09:40 +02:00
<xs:annotation >
2006-06-06 07:18:42 +02:00
<xs:documentation xml:lang= "en" > If HiiEnable group is specified, then HiiEnable is default true</xs:documentation>
2006-06-06 05:09:40 +02:00
</xs:annotation>
<xs:sequence >
2006-06-10 16:49:31 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "VariableName" type= "VariableNameDataType" />
2006-06-06 05:09:40 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "VariableGuid" type= "VariableGuidType" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "VariableOffset" type= "Hex64BitDataType" />
</xs:sequence>
</xs:group>
2006-06-06 07:18:42 +02:00
<xs:group name= "VpdEnable" >
<xs:annotation >
<xs:documentation xml:lang= "en" > If VpdEnable group is specified, then VpdEnable is default true</xs:documentation>
</xs:annotation>
2006-06-06 05:09:40 +02:00
<xs:sequence >
<xs:element minOccurs= "0" maxOccurs= "1" name= "VpdOffset" type= "Hex64BitDataType" />
</xs:sequence>
</xs:group>
<xs:element name= "PcdCoded" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Child of Module Surface Area Description (MSA)</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element maxOccurs= "unbounded" name= "PcdEntry" >
<xs:annotation >
<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>
<xs:documentation xml:lang= "en" > This element is valid for PcdInfo.xml and FPD files.</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "C_Name" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "DefaultValue" type= "DefaultValue" />
2006-06-09 01:46:59 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "HelpText" />
2006-06-06 05:09:40 +02:00
</xs:sequence>
<!-- 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. -->
<xs:attribute name= "PcdItemType" type= "PcdItemTypes" use= "required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
2006-06-09 01:46:59 +02:00
<!-- LAH This is PcdDeclarations FINAL version -->
2006-06-04 01:59:38 +02:00
<xs:element name= "PcdDeclarations" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Child of Package Surface Area Description (SPD)</xs:documentation>
2006-06-09 01:46:59 +02:00
<xs:documentation xml:lang= "en" > This section is for entering information about a package's PCDs</xs:documentation>
2006-06-04 01:59:38 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element maxOccurs= "unbounded" name= "PcdEntry" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "C_Name" />
2006-06-09 07:51:19 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "Token" type= "TokenDataType" />
2006-06-04 01:59:38 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "TokenSpaceGuid" type= "GuidType" />
<xs:element minOccurs= "1" maxOccurs= "1" name= "DatumType" type= "PcdDataTypes" />
<xs:element minOccurs= "1" maxOccurs= "1" name= "ValidUsage" type= "PcdListType" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "DefaultValue" type= "DefaultValue" />
2006-06-09 01:46:59 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" ref= "HelpText" />
2006-06-04 01:59:38 +02:00
</xs:sequence>
2006-06-09 01:46:59 +02:00
<xs:attributeGroup ref= "PcdDeclarationAttributes" />
2006-06-04 01:59:38 +02:00
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- DO NOT USE removing PcdDefinitions, use PcdDeclarations for SPD entries Use PcdBuildDeclarations for MSA Entires and PcdDynamicBuildDeclarations for FPD Entries -->
2006-04-22 00:54:32 +02:00
<xs:element name= "PcdDefinitions" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Child of Package Surface Area Description (SPD)</xs:documentation>
<xs:documentation xml:lang= "en" > This permits entering information about a package's PCD information</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element maxOccurs= "unbounded" name= "PcdEntry" >
<xs:annotation >
<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>
<xs:documentation xml:lang= "en" > This element is valid for PcdInfo.xml and FPD files.</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= "1" maxOccurs= "1" name= "Token" type= "Token" />
2006-06-02 03:53:24 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "TokenSpaceGuid" type= "GuidType" />
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "1" maxOccurs= "1" name= "DatumType" type= "PcdDataTypes" />
<xs:element default= "false" minOccurs= "0" maxOccurs= "1" name= "HiiEnable" type= "xs:boolean" />
<xs:element default= "false" minOccurs= "0" maxOccurs= "1" name= "VpdEnable" type= "xs:boolean" />
<xs:element default= "false" minOccurs= "0" maxOccurs= "1" name= "AlternateNameSpaceEnable" type= "xs:boolean" />
<xs:element default= "false" minOccurs= "0" maxOccurs= "1" name= "SkuEnable" type= "xs:boolean" />
<xs:element default= "false" minOccurs= "0" maxOccurs= "1" name= "SkuDataArrayEnable" type= "xs:boolean" />
<xs:element default= "0x00" minOccurs= "0" maxOccurs= "1" name= "MaxSku" type= "HexByteDataType" />
<xs:element default= "0x00" minOccurs= "0" maxOccurs= "1" name= "SkuId" type= "HexByteDataType" />
<xs:element minOccurs= "0" 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= "0" maxOccurs= "1" name= "VariableName" type= "xs:normalizedString" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "VariableGuid" type= "VariableGuidType" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "DataOffset" type= "Hex64BitDataType" />
<xs:element default= "0" minOccurs= "0" maxOccurs= "1" name= "GuidOffset" type= "Hex64BitDataType" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "DefaultValue" type= "DefaultValue" />
</xs:sequence>
<xs:attributeGroup ref= "PcdAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "Platform" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Database Entry to locate the Platform Build Tips - path to FPD file.</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence >
2006-05-18 11:29:36 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "PlatformName" >
2006-04-22 00:54:32 +02:00
<xs:annotation >
<xs:documentation xml:lang= "en" > Define the Name of a Platform</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "PlatformNamingConvention" >
<xs:attributeGroup ref= "PlatformAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
2006-06-03 04:03:23 +02:00
<xs:choice minOccurs= "0" >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Path" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Filename" />
</xs:choice>
2006-05-18 11:29:36 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "InstalledDate" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "ModifiedDate" />
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "AlternatePcdFile" type= "FileNameConvention" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "AlternateFdfFile" type= "FileNameConvention" />
</xs:sequence>
<xs:attributeGroup ref= "PlatformAttributes" />
</xs:complexType>
</xs:element>
<xs:element name= "PpiDeclarations" >
2006-06-09 04:06:06 +02:00
<xs:annotation >
<xs:documentation xml:lang= "en" > This is a child of PackageSurfaceArea (SPD) </xs:documentation>
</xs:annotation>
2006-04-22 00:54:32 +02:00
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "unbounded" name= "Entry" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "C_Name" />
2006-06-03 04:03:23 +02:00
<xs:choice >
2006-06-09 04:06:06 +02:00
<!-- DO NOT USE removing Guid in final, use GuidValue instead -->
2006-06-03 04:03:23 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
</xs:choice>
2006-06-09 04:06:06 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "HelpText" />
2006-04-22 00:54:32 +02:00
</xs:sequence>
2006-06-09 04:06:06 +02:00
<xs:attributeGroup ref= "PpiDeclarationAttributes" />
2006-04-22 00:54:32 +02:00
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "PPIs" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Provide for one or more Ppi or PpiNotify sections. </xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Ppi" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "C_Name" >
<xs:attributeGroup ref= "PpiAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "PpiNotify" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "C_Name" >
<xs:attributeGroup ref= "PpiNotifyAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
2006-06-03 04:03:23 +02:00
<!-- DO NOT USE Arch element, use Arch Attribute in above instead. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Ppi" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "C_Name" >
<xs:attributeGroup ref= "PpiAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "PpiNotify" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "C_Name" >
<xs:attributeGroup ref= "PpiNotifyAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "ProtocolDeclarations" >
2006-06-09 04:06:06 +02:00
<xs:annotation >
<xs:documentation xml:lang= "en" > This is a child of PackageSurfaceArea (SPD) </xs:documentation>
</xs:annotation>
2006-04-22 00:54:32 +02:00
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "unbounded" name= "Entry" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" ref= "C_Name" />
2006-06-09 04:06:06 +02:00
<xs:choice >
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
</xs:choice>
<xs:element minOccurs= "0" maxOccurs= "1" ref= "HelpText" />
2006-04-22 00:54:32 +02:00
</xs:sequence>
2006-06-09 04:06:06 +02:00
<xs:attributeGroup ref= "ProtocolDeclarationAttributes" />
2006-04-22 00:54:32 +02:00
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "Protocols" >
<xs:annotation >
<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>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Protocol" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "C_Name" >
<xs:attributeGroup ref= "ProtocolAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "ProtocolNotify" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "C_Name" >
<xs:attributeGroup ref= "ProtocolNotifyAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
2006-06-04 01:59:38 +02:00
<!-- DO NOT USE! removing Arch element, use Arch attribute of Protocol or ProtocolNotify instead. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Protocol" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "C_Name" >
<xs:attributeGroup ref= "ProtocolAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "ProtocolNotify" >
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "C_Name" >
<xs:attributeGroup ref= "ProtocolNotifyAttributes" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element default= "false" name= "ReadOnly" type= "xs:boolean" />
<xs:element default= "false" name= "RePackage" type= "xs:boolean" />
<xs:element name= "Sections" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Sections refers to the Firmware Filesystem sections, PE32, UI, VER, DXS, etc. and how they are made</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Section" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "0" ref= "Filenames" />
<xs:element minOccurs= "0" name= "Args" type= "ArgsType" />
<xs:element minOccurs= "0" name= "OutFile" type= "FileNameConvention" />
<xs:element minOccurs= "0" name= "OutputFileExtension" type= "xs:string" />
<xs:element minOccurs= "0" name= "ToolName" type= "ToolType" />
</xs:sequence>
<xs:attributeGroup ref= "SectionAttributes" />
</xs:complexType>
</xs:element>
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Sections" >
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "Section" >
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "0" ref= "Filenames" />
<xs:element minOccurs= "0" name= "Args" type= "ArgsType" />
<xs:element minOccurs= "0" name= "OutFile" type= "FileNameConvention" />
<xs:element minOccurs= "0" name= "OutputFileExtension" type= "xs:string" />
<xs:element minOccurs= "0" name= "ToolName" type= "ToolType" />
</xs:sequence>
<xs:attributeGroup ref= "SectionAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref= "SectionsAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref= "SectionsAttributes" />
</xs:complexType>
</xs:element>
<xs:element name= "SetVirtualAddressMapCallBack" type= "C_Name" />
<xs:element name= "SourceFiles" >
<xs:annotation >
<xs:documentation xml:lang= "en" > Multiple Filenames may be specified, and they may also be scoped to a specific Architecture.</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element minOccurs= "0" maxOccurs= "unbounded" ref= "Filename" />
2006-06-04 01:59:38 +02:00
<!-- DO NOT USE! removing Arch element, use Arch Attribute of Filename instead. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence minOccurs= "1" >
<xs:element maxOccurs= "unbounded" ref= "Filename" />
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
2006-06-09 01:46:59 +02:00
<xs:element name= "SkuInfo" >
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "UiSkuName" >
2006-06-09 04:06:06 +02:00
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "UiNameType" >
<xs:attribute name= "SkuID" type= "xs:nonNegativeInteger" use= "required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
2006-06-09 01:46:59 +02:00
</xs:sequence>
</xs:complexType>
</xs:element>
2006-04-22 00:54:32 +02:00
<xs:element name= "Specification" >
<xs:annotation >
<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>
</xs:annotation>
<xs:complexType >
<xs:simpleContent >
<xs:extension base= "xs:normalizedString" >
<xs:attribute name= "Version" type= "xs:normalizedString" use= "optional" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name= "SystemTables" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This is list of System Table elements.</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "SystemTable" >
<xs:complexType >
2006-06-09 06:32:47 +02:00
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:choice >
<xs:element minOccurs= "0" maxOccurs= "1" name= "GuidC_Name" type= "GuidC_NameType" />
<!-- Remove Entry from Use -->
<xs:element minOccurs= "0" maxOccurs= "1" name= "Entry" type= "xs:normalizedString" />
</xs:choice>
2006-04-22 00:54:32 +02:00
</xs:sequence>
<xs:attributeGroup ref= "SystemTableAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "Updated" type= "DateType" />
2006-06-01 05:23:09 +02:00
<xs:element name= "UpdatedDate" type= "DateType" />
2006-04-22 00:54:32 +02:00
<xs:element name= "URL" type= "xs:anyURI" />
<xs:element name= "URI" type= "xs:anyURI" />
<xs:element name= "UserDefinedAntTasks" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This is a sub-element of BuildOptions</xs:documentation>
<xs:documentation xml:lang= "en" > Permit Users to define their own custom ANT tasks.</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence maxOccurs= "unbounded" >
<xs:element minOccurs= "1" ref= "AntTask" />
</xs:sequence>
</xs:complexType>
</xs:element>
2006-06-06 05:09:40 +02:00
<xs:element name= "UserExtensions" >
<xs:complexType >
<xs:complexContent mixed= "true" >
<xs:extension base= "xs:anyType" >
<xs:attribute name= "UserID" type= "xs:NCName" use= "required" />
<xs:attribute name= "Identifier" type= "xs:integer" use= "required" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
2006-04-22 00:54:32 +02:00
<xs:element name= "Variables" >
<xs:annotation >
2006-06-09 06:32:47 +02:00
<xs:documentation xml:lang= "en" > An MSA FILE list of EFI Variables described by string pair.</xs:documentation>
2006-04-22 00:54:32 +02:00
</xs:annotation>
<xs:complexType >
<xs:sequence minOccurs= "1" maxOccurs= "unbounded" >
<xs:element name= "Variable" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This is an EFI Variable Entry</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence >
2006-06-09 06:32:47 +02:00
<xs:choice >
<!-- DO NOT USE remove String from final -->
<xs:element minOccurs= "1" maxOccurs= "1" name= "String" type= "xs:normalizedString" />
<!-- Make VariableName required -->
<xs:element minOccurs= "0" maxOccurs= "1" name= "VariableName" type= "VariableNameDataType" />
</xs:choice>
2006-06-03 04:03:23 +02:00
<xs:choice minOccurs= "1" >
2006-06-09 06:32:47 +02:00
<!-- DO NOT USE, use GuidC_Name instead -->
2006-06-03 04:03:23 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "Guid" />
2006-06-09 06:32:47 +02:00
<!-- DO NOT USE, use GuidC_Name instead -->
2006-06-03 04:03:23 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" ref= "GuidValue" />
2006-06-09 06:32:47 +02:00
<!-- Make GuidC_Name required -->
<xs:element minOccurs= "0" maxOccurs= "1" name= "GuidC_Name" type= "GuidC_NameType" />
2006-06-03 04:03:23 +02:00
</xs:choice>
2006-06-09 06:32:47 +02:00
<!-- DO NOT USE, removiing ByteOffset, Bit Offset and OffsetBitSize -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "1" name= "ByteOffset" type= "HexWordDataType" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This entry represents the Hex Byte Offset {0x0, 0xn} to where the data starts.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs= "0" maxOccurs= "1" name= "BitOffset" >
<xs:annotation >
<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>
</xs:annotation>
<xs:simpleType >
<xs:restriction base= "xs:int" >
<xs:minInclusive value= "0" />
<xs:maxInclusive value= "8" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs= "0" maxOccurs= "1" name= "OffsetBitSize" >
<xs:annotation >
<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>
</xs:annotation>
<xs:simpleType >
<xs:restriction base= "xs:int" >
<xs:minInclusive value= "0" />
<xs:maxInclusive value= "7" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref= "VariableAttributes" />
</xs:complexType>
</xs:element>
2006-06-03 04:03:23 +02:00
<!-- DO NOT USE Arch element, use attribute Arch in above. -->
2006-04-22 00:54:32 +02:00
<xs:element minOccurs= "0" maxOccurs= "unbounded" name= "Arch" >
<xs:complexType >
<xs:sequence >
<xs:element name= "Variable" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This is an EFI Variable Entry</xs:documentation>
</xs:annotation>
<xs:complexType >
<xs:sequence >
<xs:element minOccurs= "1" maxOccurs= "1" name= "String" type= "xs:normalizedString" />
<xs:element minOccurs= "1" maxOccurs= "1" ref= "Guid" />
<xs:element minOccurs= "0" maxOccurs= "1" name= "ByteOffset" type= "HexWordDataType" >
<xs:annotation >
<xs:documentation xml:lang= "en" > This entry represents the Hex Byte Offset {0x0, 0xn} to where the data starts.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs= "0" maxOccurs= "1" name= "BitOffset" >
<xs:annotation >
<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>
</xs:annotation>
<xs:simpleType >
<xs:restriction base= "xs:int" >
<xs:minInclusive value= "0" />
<xs:maxInclusive value= "8" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs= "0" maxOccurs= "1" name= "OffsetBitSize" >
<xs:annotation >
<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>
</xs:annotation>
<xs:simpleType >
<xs:restriction base= "xs:int" >
<xs:minInclusive value= "0" />
<xs:maxInclusive value= "7" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref= "VariableAttributes" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name= "ArchType" type= "SupportedArchitectures" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name= "Version" type= "xs:normalizedString" />
</xs:schema>