- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PackageSurfaceArea PackageIncluces element. -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="Modules">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element ref="ModuleSurfaceArea" minOccurs="1" maxOccurs="unbounded">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section lists the Module Surface Area for\r
- all modules provided with this package. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PackageSurfaceArea Modules element. -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="GuidDeclarations">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section defines the mapping of GUID C names to GUID\r
- values as a Registry Format GUID. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> Modules that use these GUIDs must specify their dependency\r
- on this package. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Individual GUID Declarations </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="CName" type="xs:NCName"/>\r
- <xs:element minOccurs="1" maxOccurs="1" name="GuidValue"\r
- type="RegistryFormatGuid"/>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- <xs:attribute name="UiName" type="xs:normalizedString" use="optional"/>\r
- <xs:attribute name="GuidTypes" type="GuidListType" use="optional"/>\r
- <xs:attributeGroup ref="SupportedArchMod"/>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PackageSurfaceArea GuidDeclarations element. -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="ProtocolDeclarations">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section defines the mapping of Protocol C names to GUID\r
- values as a Registry Format GUID. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> Modules that use these Protocols must specify their\r
- dependency on this package. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Individual Protocol Declarations\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="CName" type="xs:NCName"/>\r
- <xs:element minOccurs="1" maxOccurs="1" name="GuidValue"\r
- type="RegistryFormatGuid"/>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- <xs:attribute name="UiName" type="xs:normalizedString" use="optional"/>\r
- <xs:attributeGroup ref="SupportedArchMod"/>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PackageSurfaceArea ProtocolDeclarations element. -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="PpiDeclarations">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section defines the mapping of Ppi C names to GUID\r
- values as a Registry Format GUID. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> Modules that use these Ppis must specify their dependency on\r
- this package. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Entry">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Individual PPI Declarations </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="CName" type="xs:NCName"/>\r
- <xs:element minOccurs="1" maxOccurs="1" name="GuidValue"\r
- type="RegistryFormatGuid"/>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- <xs:attribute name="UiName" type="xs:normalizedString" use="optional"/>\r
- <xs:attributeGroup ref="SupportedArchMod"/>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PackageSurfaceArea PpiDeclarations element. -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="PcdDeclarations">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section is used to declare platform configuration knobs\r
- that are defined by this package. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> Modules that use these PCD values must specify their\r
- dependency on this package. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="PcdEntry">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuidCname"\r
- type="xs:NCName">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Specifies the C name of the Token\r
- Space GUID of which this PCD Entry is a member. This C name should\r
- also be listed in the GUIDs section, (specified above,) where the C\r
- name is assigned to a GUID value. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="1" name="Token">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Specifies the 32-bit token value for\r
- this PCD Entry. The Token number must be unique to the Token Space\r
- that declares the PCD. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> The minLength of 3 is required to\r
- handle the "0x" prefix to the hex number. </xs:documentation>\r
- </xs:annotation>\r
- <xs:simpleType>\r
- <xs:restriction base="HexNumber">\r
- <xs:minLength value="3"/>\r
- <xs:maxLength value="10"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="1" name="CName" type="xs:NCName"/>\r
- <xs:element minOccurs="1" maxOccurs="1" name="DatumType" type="PcdDatumTypes">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A string that contains the data type\r
- of this PCD Entry. PCD data types are restricted to the following\r
- set:UINT8, UINT16, UINT32, UINT64, VOID*, BOOLEAN.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="1" name="ValidUsage" type="PcdItemListType">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A string that contains one or more\r
- PCD Item types separated by spaces. The PCD Item types are\r
- restricted to FeaturePcd, FixedPcd, PatchPcd, Pcd and/or PcdEx.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="1" name="DefaultValue"\r
- type="xs:normalizedString"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="MaxDatumSize">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is a recommended maximum data\r
- size for VOID* data types, the actual value should be defined by the\r
- Platform Integrator. It is not required for the other data types. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> The minLength of 3 is required to\r
- handle the "0x" prefix to the hex number. </xs:documentation>\r
-\r
- </xs:annotation>\r
- <xs:simpleType>\r
- <xs:restriction base="HexNumber">\r
- <xs:minLength value="3"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Prompt">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-US"> This entry contains prompt\r
- information, that may used by tools to assist platform integrators\r
- with choosing the correct values </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:string">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us"\r
- use="optional"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="PcdError">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Valid Error messages that may be\r
- implemented in a module for the PCD Entry. Only One Error Number per\r
- PcdError, (multiple ErrorMessage entries are permitted) and multiple\r
- PcdError elements are permitted. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:choice minOccurs="1" maxOccurs="1">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> One of the following\r
- types of comparisons, which must be able to evaluate to\r
- either true or false. </xs:documentation>\r
- </xs:annotation>\r
- <xs:element minOccurs="0" maxOccurs="1" name="ValidValueList">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The PCD Value must be\r
- space separated list of values. Values are restricted to the\r
- data type of this PCD. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:normalizedString">\r
- <xs:attribute name="Lang" type="xs:language" use="optional"\r
- />\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="ValidValueRange"\r
- type="xs:normalizedString">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The PCD must be within a\r
- specifed range of numeric values. Restricted to C style\r
- Relational, Equality and Logicial Operators and parenthesis\r
- are valid. Only the CName for this PCD is permitted in the\r
- ValidValueRange expression. All other values must be\r
- numeric.</xs:documentation>\r
- <xs:documentation xml:lang="en-us"> LValue (op RValue)+\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Expression"\r
- type="xs:normalizedString">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A in-fix logical\r
- expression using C style logical operators.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- </xs:choice>\r
- <xs:element minOccurs="1" maxOccurs="1" name="ErrorNumber">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A hexadecimal value for\r
- the error message as defined by specifications. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> The minLength of 3 is\r
- required to handle the "0x" prefix to the hex number. </xs:documentation>\r
-\r
- </xs:annotation>\r
- <xs:simpleType>\r
- <xs:restriction base="HexNumber">\r
- <xs:minLength value="3"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="ErrorMessage">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This string should be\r
- defined by specifications. There are pre-defined error\r
- number ranges in the UEFI/PI specificaiton.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:string">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us"\r
- use="optional"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- <xs:attributeGroup ref="SupportedArchMod"/>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PackageSurfaceArea PcdDeclarations element. -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="PcdRelationshipChecks">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section is used to describe any PCD interdependencies\r
- or relationships. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="PcdCheck" type="xs:normalizedString">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This entry must used\r
- TokenSpaceGuidCName.PcdCname for every named PCD. Restricted to Relational,\r
- Equality and Logical Operators (NOT, AND, OR, GT, GE, EQ, LE, LT and XOR) and\r
- parenthesis are valid. Only the TokenSpaceGuidCName.PcdCname us permitted to\r
- name PCDs in the expression. All other values must be numeric. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> LValue (op RValue)+ </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="MiscellaneousFiles">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section contains files that are not part of the code\r
- distributed with this package. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Copyright" type="xs:string">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Only required if different from the Package\r
- Copyright. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="License" type="xs:string">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Only required if different from the Package\r
- License. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Abstract" type="xs:string">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A one line description of this section's\r
- content. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Description" type="xs:string">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A complete description of the files in this\r
- section. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is the PackagePath relative path and\r
- filename location within the ZIP file. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:anyURI">\r
- <xs:attribute name="Executable" type="xs:boolean" default="false"\r
- use="optional">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> If true, used by installation\r
- tools to ensure that a file that must be executable has the\r
- correct properties to permit execution. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
-\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PackageSurfaceArea Misc element. -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="UserExtensions">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section is used for any processing instructions that\r
- may be custom to the content provided by this package that are common to this package.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType mixed="true">\r
- <xs:sequence>\r
- <xs:any processContents="lax" minOccurs="0" maxOccurs="1"/>\r
- </xs:sequence>\r
- <xs:attribute name="UserId" type="xs:NCName" use="required">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is a single word identifier for grouping\r
- similar content that does not fit into previously defined sections or other sections\r
- of the Distribution. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- <xs:attribute name="Identifier" type="xs:string" use="required">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This can be used to differentiate multiple sections\r
- with a grouping. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> For example, a PRE_PROCESS Identifier might indicate\r
- specific steps and tools required before processing module content, while a\r
- different UserExtensions section with a POST_PROCESS Identifier might describe steps\r
- that need to be executed after operations on the modules in this package.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- <xs:anyAttribute processContents="lax"/>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PackageSurfaceArea UserExtensions element. -->\r
-\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of the PackageSurfaceArea element. -->\r
-\r
- <xs:element name="ModuleSurfaceArea">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Each module is uniquely identified by it's GUID and Version number.\r
- Backward compatible releases of a module need only change the version number, while non-backward\r
- compatible changes require the GUID to change (resetting the version number to 1.0 is optional.)\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
-\r
- <xs:element minOccurs="1" maxOccurs="1" name="Header">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="Name">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is the User Interface Name for this Module.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:normalizedString">\r
- <xs:attribute name="BaseName" type="xs:NMTOKEN" use="required">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is a single word BaseName\r
- that will be used to create a module meta-data file. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> This name should also be used to\r
- create output file names and directories. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="1" name="GUID">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This GUID and the Version attribute uniquely\r
- identify a given Module. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="RegistryFormatGuid">\r
- <xs:attribute name="Version" type="xs:decimal" use="required">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This value, along with the GUID,\r
- is used to uniquely identify this object. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> Backward compatible changes must\r
- make sure this number is incremented from the most recent\r
- version. Non-backward compatible changes require a new GUID, and\r
- the version can be reset. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Copyright">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is only required if the Copyright is\r
- different from either the Package or Distribution copyright. Multiple copyright\r
- lines are permitted within this section. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:string">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us" use="optional"\r
- />\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="License">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is only required if the license is\r
- different from either the Package or Distribution license. Multiple licenses are\r
- permitted within this section. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:string">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us" use="optional"\r
- />\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Abstract">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A brief text description of the module.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:normalizedString">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us" use="optional"\r
- />\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Description">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A complete description of the module contents\r
- and/or features including a description of the updates since the previous module\r
- release. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:string">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us" use="optional"\r
- />\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of Module Surface Area Header Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="ModuleProperties">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> List general information about a module, including the\r
- Supported Architectures, this module's type, specifications the module is coded against, and\r
- other informational content. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="ModuleType" type="ModuleTypes">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> One of the Enumerated module types that limit\r
- the use of a module. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="1" name="Path" type="xs:anyURI">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> For stand-alone modules that are NOT part of any\r
- package, this is the path to the root of the module as listed in the ZIP file.\r
- For modules included in a package, this is the location, relative to the root of\r
- the package (PackagePath) this module belongs to. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="PcdIsDriver">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This element is only required for the PEIM that\r
- produces the PCD PPI or the DXE Driver that produces the PCD Protocol.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="PEI_PCD_DRIVER"/>\r
- <xs:enumeration value="DXE_PCD_DRIVER"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:element>\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="UefiSpecificationVersion" type="xs:decimal"/>\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="PiSpecificationVersion" type="xs:decimal"/>\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Specification">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is a list of other specifications that this\r
- module is written against. These entries can be used in #define statements\r
- (depending on the build system implementation, they may be autogenerated.)\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:NCName">\r
- <xs:attribute name="Version" type="xs:decimal" use="required"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="BootMode">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Different firmware execution paths may be taken\r
- based on a given state of the hardware, firmware, or through feature settings. A\r
- BootMode may be declared (PRODUCES) or discovered (CONSUMES) based on these\r
- states and feature settings. If the usage is UNDEFINE, it implies that a Boot\r
- Mode is used, but the package creator does not know how it is used. The\r
- supported boot modes map to the PI specification Boot Modes. The boot modes\r
- listed with Recovery are to indicate that the BootMode is valid during a\r
- recovery boot. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence minOccurs="0">\r
- <xs:element minOccurs="1" maxOccurs="1" name="SupportedBootModes">\r
- <xs:simpleType>\r
- <xs:list>\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="FULL"/>\r
- <xs:enumeration value="MINIMAL"/>\r
- <xs:enumeration value="NO_CHANGE"/>\r
- <xs:enumeration value="DIAGNOSTICS"/>\r
- <xs:enumeration value="DEFAULT"/>\r
- <xs:enumeration value="S2_RESUME"/>\r
- <xs:enumeration value="S3_RESUME"/>\r
- <xs:enumeration value="S4_RESUME"/>\r
- <xs:enumeration value="S5_RESUME"/>\r
- <xs:enumeration value="FLASH_UPDATE"/>\r
- <xs:enumeration value="RECOVERY_FULL"/>\r
- <xs:enumeration value="RECOVERY_MINIMAL"/>\r
- <xs:enumeration value="RECOVERY_NO_CHANGE"/>\r
- <xs:enumeration value="RECOVERY_DIAGNOSTICS"/>\r
- <xs:enumeration value="RECOVERY_DEFAULT"/>\r
- <xs:enumeration value="RECOVERY_S2_RESUME"/>\r
- <xs:enumeration value="RECOVERY_S3_RESUME"/>\r
- <xs:enumeration value="RECOVERY_S4_RESUME"/>\r
- <xs:enumeration value="RECOVERY_S5_RESUME"/>\r
- <xs:enumeration value="RECOVERY_FLASH_UPDATE"/>\r
- <xs:enumeration value="UNDEFINED"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:list>\r
- </xs:simpleType>\r
- </xs:element>\r
-\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- <xs:attribute name="Usage" use="required">\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="CONSUMES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The module always supports\r
- the given boot modes. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="SOMETIMES_CONSUMES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The module may support a\r
- given mode on some execution paths. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="PRODUCES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The module will change the\r
- boot mode. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="SOMETIME_PRODUCES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The module will change the\r
- boot mode on some exection paths. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="UNDEFINED">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The package creator does not\r
- know how the boot mode is used. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:attribute>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Event" nillable="true">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The functions that make up the Event, Timer, and\r
- Task Priority Services are used during preboot to create, close, signal, and\r
- wait for events; to set timers; and to raise and restore task priority levels as\r
- defined in the UEFI specification. GUIDed events should be listed in the Guids\r
- section. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- <xs:attribute name="Usage" use="required">\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="CONSUMES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The module will register a\r
- notification function and calls the function when it is\r
- signaled. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="SOMETIMES_CONSUMES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The module will register a\r
- notification function and calls the function when it is\r
- signaled on some execution paths. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="PRODUCES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The module will signal all\r
- events in an event group. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="SOMETIMES_PRODUCES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The module will signal all\r
- events in an event group under some execution paths.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="UNDEFINED">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The package creator does not\r
- know how an event is used. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:attribute>\r
- <xs:attribute name="EventType" use="required">\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="EVENT_TYPE_PERIODIC_TIMER"/>\r
- <xs:enumeration value="EVENT_TYPE_RELATIVE_TIMER"/>\r
- <xs:enumeration value="UNDEFINED"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
-\r
-\r
- </xs:attribute>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="HOB" nillable="false">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is a list of non-GUIDed Hand Off Blocks\r
- (HOBs) produced or consumed by this module. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- <xs:attribute name="HobType" use="required">\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="PHIT"/>\r
- <xs:enumeration value="MEMORY_ALLOCATION"/>\r
- <xs:enumeration value="RESOURCE_DESCRIPTOR"/>\r
- <xs:enumeration value="FIRMWARE_VOLUME"/>\r
- <xs:enumeration value="LOAD_PEIM"/>\r
- <xs:enumeration value="UNDEFINED"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:attribute>\r
- <xs:attribute name="Usage" use="required">\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="CONSUMES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A HOB must be present in the\r
- system. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="SOMETIMES_CONSUMES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> If present, the HOB will be\r
- used. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="PRODUCES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The HOB is always produced\r
- by the module. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="SOMETIMES_PRODUCES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The HOB may be produced by\r
- the module under some execution paths. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="UNDEFINED">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The package creator knows\r
- that a HOB is used, but does not know how it is used.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:attribute>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
-\r
- </xs:sequence>\r
- <xs:attributeGroup ref="SupportedArchMod"/>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of ModuleProperties Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="ClonedFrom">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section may be included for Modules that are copied\r
- from a different module. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="GUID">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This GUID and the Version attribute uniquely\r
- identify the Module that this Module was copied from. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="RegistryFormatGuid">\r
- <xs:attribute name="Version" type="xs:decimal" use="required">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This value, along with the GUID,\r
- is used to uniquely identify this object. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of ClonedFrom Section. -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="LibraryClassDefinitions">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A list of the different Library Classes consumed by a\r
- driver, core and/or application module, or produced by a Library module. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="LibraryClass">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="Keyword" type="xs:NCName">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us "> Used by tools to identify different\r
- instances of libraries that provide the library class. This keyword\r
- identifies the library class this module needs to be linked against.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="RecommendedInstance">\r
- <xs:complexType>\r
- <xs:all>\r
- <xs:element minOccurs="1" maxOccurs="1" name="GUID">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This GUID and the\r
- Version attribute uniquely identify the recommended Library\r
- Instance for this module . </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="RegistryFormatGuid">\r
- <xs:attribute name="Version" type="xs:decimal"\r
- use="optional">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This value, along with\r
- the GUID, is used to uniquely identify this object.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:all>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- <xs:attribute name="Usage" use="required">\r
- <xs:simpleType>\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Library instances can provide code\r
- for a library class, or may require other library instances\r
- themselves. Since different execution paths in a library (or module)\r
- may need different library classes based on some setting, library\r
- classes may not alway be required. </xs:documentation>\r
- </xs:annotation>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="PRODUCES"/>\r
- <xs:enumeration value="CONSUMES"/>\r
- <xs:enumeration value="SOMETIMES_CONSUMES"/>\r
- <xs:enumeration value="UNDEFINED"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:attribute>\r
-\r
- <xs:attributeGroup ref="SupportedArchMod"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A FeatureFlag attribute must evaluate to\r
- either true or false - it may be a fixed value of true or false, a C\r
- name or an in-fix expression. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of LibraryClassDefinitions Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="SourceFiles">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is the module relative\r
- (ModuleProperties.Path) path and filename location within the ZIP file.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:anyURI">\r
- <xs:attribute name="Family" type="FamilyTypes" use="optional">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The Family attribute is used to\r
- restrict usage to a given family of compilers, such as GCC or\r
- MSFT. Since not all code processing tools use the same syntax,\r
- especially for assembly, this field can be used to identify\r
- different syntax. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="SupModList" type="ModuleListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of SourceFiles Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="BinaryFiles">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="BinaryFile">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is the module relative\r
- (ModuleProperties.Path) path and filename location within the ZIP\r
- file. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:anyURI">\r
- <xs:attribute name="FileType" use="optional">\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Binary file distribution\r
- is limited to UEFI/PI FFS leaf section file types.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:enumeration value="GUID"/>\r
- <xs:enumeration value="FREEFORM"/>\r
- <xs:enumeration value="UEFI_IMAGE"/>\r
- <xs:enumeration value="PE32">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A UEFI/PI FFS Leaf\r
- section file type, not a raw PE32 file. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="PIC"/>\r
- <xs:enumeration value="PEI_DEPEX"/>\r
- <xs:enumeration value="DXE_DEPEX"/>\r
- <xs:enumeration value="SMM_DEPEX"/>\r
- <xs:enumeration value="COMPAT16"/>\r
- <xs:enumeration value="DISPOSABLE"/>\r
- <xs:enumeration value="TE"/>\r
- <xs:enumeration value="VER"/>\r
- <xs:enumeration value="UI"/>\r
- <xs:enumeration value="BIN"/>\r
- <xs:enumeration value="FV"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:attribute>\r
- <xs:attribute name="GUID" use="optional"\r
- type="RegistryFormatGuid"/>\r
- <xs:attribute name="SupArchList" type="ArchListType"\r
- use="optional"/>\r
- <xs:attribute name="SupModList" type="ModuleListType"\r
- use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString"\r
- use="optional"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="AsBuilt">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section contains information\r
- about how the module was coded, such as Compiler Tools, Flags, PCDs\r
- (only PatchPcd and/or PcdEx) and Library Class Instances used to\r
- build the binary. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="PatchPcdValue">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The element is the\r
- Patchable PCD Value that was used during the build.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1"\r
- name="TokenSpaceGuidValue" type="RegistryFormatGuid"/>\r
- <xs:element minOccurs="1" maxOccurs="1" name="PcdCName"\r
- type="xs:NCName"/>\r
- <xs:element minOccurs="1" maxOccurs="1" name="Token">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The minLength of 3 is\r
- required to handle the "0x" prefix to the hex number.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:simpleType>\r
- <xs:restriction base="HexNumber">\r
- <xs:minLength value="3"/>\r
- <xs:maxLength value="10"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="1" name="DatumType" \r
- type="PcdDatumTypes"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="MaxDatumSize">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This field is required\r
- if the Pcd Datum Type is VOID* </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> The minLength of 3 is\r
- required to handle the "0x" prefix to the hex number.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:simpleType>\r
- <xs:restriction base="HexNumber">\r
- <xs:minLength value="3"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="1" name="Value"\r
- type="xs:normalizedString"/>\r
- <xs:element minOccurs="1" maxOccurs="1" name="Offset">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The minLength of 3 is\r
- required to handle the "0x" prefix to the hex number.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:simpleType>\r
- <xs:restriction base="HexNumber">\r
- <xs:minLength value="3"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:element>\r
- <xs:element ref="HelpText" minOccurs="0"\r
- maxOccurs="unbounded"/>\r
- <xs:element minOccurs="0" maxOccurs="unbounded"\r
- name="PcdError">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Error information\r
- implemented by the module. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:choice>\r
- <xs:element minOccurs="0" maxOccurs="1" name="ValidValueList">\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:normalizedString">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us" use="optional"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="ValidValueRange" type="xs:normalizedString"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Expression" type="xs:normalizedString"/>\r
- </xs:choice>\r
- <xs:element minOccurs="1" maxOccurs="1" name="ErrorNumber">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The minLength of 3 is\r
- required to handle the "0x" prefix to the hex number.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:simpleType>\r
- <xs:restriction base="HexNumber">\r
- <xs:minLength value="3"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="unbounded"\r
- name="ErrorMessage">\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:string">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us"\r
- use="optional"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="PcdExValue">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The element is the\r
- DynamicEx PCD Value that was used during the build.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1"\r
- name="TokenSpaceGuidValue" type="RegistryFormatGuid"/>\r
- <xs:element minOccurs="1" maxOccurs="1" name="Token">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The minLength of 3 is\r
- required to handle the "0x" prefix to the hex number.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:simpleType>\r
- <xs:restriction base="HexNumber">\r
- <xs:minLength value="3"/>\r
- <xs:maxLength value="10"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="1" name="DatumType"\r
- type="PcdDatumTypes"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="MaxDatumSize">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This field is required\r
- if the Pcd Datum Type is VOID* </xs:documentation>\r
- </xs:annotation>\r
- <xs:simpleType>\r
- <xs:restriction base="HexNumber">\r
- <xs:minLength value="3"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="1" name="Value"\r
- type="xs:normalizedString"/>\r
- <xs:element ref="HelpText" minOccurs="0"\r
- maxOccurs="unbounded"/>\r
- <xs:element minOccurs="0" maxOccurs="unbounded"\r
- name="PcdError">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Error information\r
- implemented by the module. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:choice>\r
- <xs:element minOccurs="0" maxOccurs="1" name="ValidValueList">\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:normalizedString">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us" use="optional"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="ValidValueRange" type="xs:normalizedString"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Expression" type="xs:normalizedString"/>\r
- </xs:choice>\r
- <xs:element minOccurs="1" maxOccurs="1" name="ErrorNumber">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The minLength of 3 is\r
- required to handle the "0x" prefix to the hex number.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:simpleType>\r
- <xs:restriction base="HexNumber">\r
- <xs:minLength value="3"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="unbounded"\r
- name="ErrorMessage">\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:string">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us"\r
- use="optional"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="LibraryInstances">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is the actual\r
- library instance that was used to link against the module.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="GUID">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This GUID and the\r
- Version attribute uniquely identify the actual Library\r
- Instance linked in this module. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="RegistryFormatGuid">\r
- <xs:attribute name="Version" type="xs:decimal"\r
- use="required">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This value, along with\r
- the GUID, is used to uniquely identify this object.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="BuildFlags">\r
- <xs:complexType mixed="true">\r
- <xs:simpleContent>\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Any description of OS,\r
- Tool, and flags for the individual tool can go in this\r
- section. </xs:documentation>\r
- </xs:annotation>\r
- <xs:extension base="xs:string">\r
- <xs:anyAttribute processContents="lax"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of AsBuilt -->\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
-\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of BinaryFiles Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="PackageDependencies">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Package">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Description">\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:string">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us"\r
- use="optional"/>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="1" name="GUID">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This GUID and the Version attribute\r
- uniquely identify Package that this Module depends on.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="RegistryFormatGuid">\r
- <xs:attribute name="Version" type="xs:decimal" use="optional">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This value, along with\r
- the GUID, is used to uniquely identify this object. If the\r
- version attribute is not specified, the most recent version\r
- of the package can be used. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="SupModList" type="ModuleListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PackageDependencies -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="Guids">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="GuidCName">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="CName" type="xs:NCName"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="GUID" type="RegistryFormatGuid"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="VariableName"\r
- type="xs:normalizedString">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> Only valid for Variable GUID types. </xs:documentation>\r
- <xs:documentation> This can be either a Hex Array or C string in unicode\r
- format: L"string" Data. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- <xs:attribute name="Usage" use="required">\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="CONSUMES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us">The module does not install\r
- the GUID, and the GUID must be present for the module to\r
- execute. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="SOMETIMES_CONSUMES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The module does not install\r
- the GUID, however, the GUID will be used if it is present.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="PRODUCES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The module always installs\r
- the GUID. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="SOMETIMES_PRODUCES">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The Module will install the\r
- GUID under certain execution paths. </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- <xs:enumeration value="UNDEFINED">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The package creator knows\r
- that a GUID is used, but does not know how it is used.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:enumeration>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:attribute>\r
- <xs:attribute name="GuidType" type="GuidListType" use="required"/>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="SupModList" type="ModuleListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of Guids Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="Protocols">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A listing of protocols required or produced by this module.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Protocol" nillable="true">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="CName" type="xs:NCName"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="GUID" type="RegistryFormatGuid"/> \r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- <xs:attribute name="Usage" use="required">\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="PRODUCES"/>\r
- <xs:enumeration value="SOMETIMES_PRODUCES"/>\r
- <xs:enumeration value="CONSUMES"/>\r
- <xs:enumeration value="SOMETIMES_CONSUMES"/>\r
- <xs:enumeration value="TO_START"/>\r
- <xs:enumeration value="BY_START"/>\r
- <xs:enumeration value="UNDEFINED"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:attribute>\r
- <xs:attribute name="Notify" type="xs:boolean" use="optional"/>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="SupModList" type="ModuleListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of Protocols Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="PPIs">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> A listing of PPIs required or produced by this module.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Ppi" nillable="true">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="CName" type="xs:NCName"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="GUID" type="RegistryFormatGuid"/> \r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- <xs:attribute name="Usage" use="required">\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="PRODUCES"/>\r
- <xs:enumeration value="SOMETIMES_PRODUCES"/>\r
- <xs:enumeration value="CONSUMES"/>\r
- <xs:enumeration value="SOMETIMES_CONSUMES"/>\r
- <xs:enumeration value="UNDEFINED"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
- </xs:attribute>\r
- <xs:attribute name="Notify" type="xs:boolean" use="optional"/>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="SupModList" type="ModuleListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PPIs Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="Externs">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> These elements specify additional information about the\r
- module. This area may be used by tools to generate code. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Extern">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:choice minOccurs="1">\r
- <xs:sequence>\r
- <xs:element minOccurs="0" maxOccurs="1" name="EntryPoint"\r
- type="xs:NCName"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="UnloadImage"\r
- type="xs:NCName"/>\r
- </xs:sequence>\r
- <xs:sequence>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Constructor"\r
- type="xs:NCName"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Destructor"\r
- type="xs:NCName"/>\r
- </xs:sequence>\r
- </xs:choice>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="1"/>\r
- </xs:sequence>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="SupModList" type="ModuleListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of Externs Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="PcdCoded">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section describes how a platform is coded with respect\r
- to the platform configuration knobs. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="PcdEntry">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="CName" type="xs:NCName"/>\r
- <xs:element minOccurs="1" maxOccurs="1" name="TokenSpaceGuidCName"\r
- type="xs:NCName"/>\r
- <xs:element minOccurs="0" maxOccurs="1" name="DefaultValue"\r
- type="xs:normalizedString"/>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="unbounded"/>\r
- </xs:sequence>\r
- <xs:attribute name="PcdItemType" type="PcdItemTypes" use="required"/>\r
- <xs:attribute name="PcdUsage" use="required">\r
- <xs:simpleType>\r
- <xs:restriction base="xs:NCName">\r
- <xs:enumeration value="PRODUCES"/>\r
- <xs:enumeration value="SOMETIMES_PRODUCES"/>\r
- <xs:enumeration value="CONSUMES"/>\r
- <xs:enumeration value="SOMETIMES_CONSUMES"/>\r
- <xs:enumeration value="UNDEFINED"/>\r
- </xs:restriction>\r
- </xs:simpleType>\r
-\r
-\r
- </xs:attribute>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="SupModList" type="ModuleListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PcdCoded Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="PeiDepex">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is the PEI dependency expression for a Dependency\r
- Section. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element name="Expression" type="xs:string" minOccurs="1" maxOccurs="1">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> An in-fix expression, of C identifiers and TRUE,\r
- FALSE, AND, OR, NOT, BEFORE, and AFTER as well as parenthesis () in the in-fix\r
- notation. The operators are restricted to grammar defined in the PI\r
- specification. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="1"/>\r
- </xs:sequence>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="SupModList" type="ModuleListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of PeiDepex Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="DxeDepex">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is the DXE dependency expression for a Dependency\r
- Section. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element name="Expression" type=" xs:string " minOccurs="1" maxOccurs="1">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> An in-fix expression, of C identifiers and TRUE,\r
- FALSE, AND, OR, NOT, BEFORE, and AFTER as well as parenthesis () in the in-fix\r
- notation. The operators are restricted to grammar defined in the PI\r
- specification. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="1"/>\r
- </xs:sequence>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="SupModList" type="ModuleListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of DxeDepex Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="SmmDepex">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is the SMM dependency expression for a Dependency\r
- Section. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element name="Expression" type=" xs:string " minOccurs="1" maxOccurs="1">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> An in-fix expression, of C identifiers and TRUE,\r
- FALSE, AND, OR, NOT, BEFORE, and AFTER as well as parenthesis () in the in-fix\r
- notation. The operators are restricted to grammar defined in the PI\r
- specification. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element ref="HelpText" minOccurs="0" maxOccurs="1"/>\r
- </xs:sequence>\r
- <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
- <xs:attribute name="SupModList" type="ModuleListType" use="optional"/>\r
- <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of SmmDepex Section -->\r
-\r
-\r
- <xs:element minOccurs="0" maxOccurs="1" name="MiscellaneousFiles">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section is used to provide comments and/or list\r
- auxiliary files, such as pdb or map files. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Description">\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:string">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us" use="optional"\r
- />\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is the path and filename location within\r
- the ZIP file. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:anyURI">\r
- <xs:attribute name="Executable" type="xs:boolean" default="false"\r
- use="optional">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> If true, used by installation\r
- tools to ensure that a file that must be executable has the\r
- correct properties to permit execution. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of Module Surface Area Misc Section -->\r
-\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="UserExtensions">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section is used for any processing instructions that\r
- may be custom to the content provided by the distribution that are common to module. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> The content is vendor specific. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> The content can be plain text as well as any user-defined,\r
- properly formatted XML structure. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType mixed="true">\r
- <xs:attribute name="UserId" type="xs:NCName" use="required">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is a single word identifier for grouping\r
- similar content. For example, ReferenceBuild might be used to identify non-PI\r
- compliant build steps, with two different UserExtensions sections, one with an\r
- Identifier of Prebuild, and another of PostBuild. Both UserExtensions sections would\r
- use the same UserId. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- <xs:attribute name="Identifier" type="xs:string" use="required">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This can be any string used to differentiate or\r
- identify this section from other UserExtensions sections. </xs:documentation>\r
- <xs:documentation xml:lang="en-us"> For example, a PRE_PROCESS Identifier might indicate\r
- specific steps and tools required before processing module content, while a\r
- different UserExtensions section with a POST_PROCESS Identifier might describe steps\r
- that need to be executed after operations on this module. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- <xs:anyAttribute processContents="lax"/>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of Module Surface Area UserExtensions Section -->\r
-\r
- </xs:sequence>\r
- <xs:attribute name="BinaryModule" type="xs:boolean" default="false" use="optional">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This attribute is used when the binaries are distributed for\r
- this module and no code generation from source files is required. If set, then the BinaryFiles\r
- section should be used, and any files listed in the SourceFiles section do not have to be built.\r
- Additionally, the AsBuilt section for each binary file must be included. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:complexType>\r
-\r
- </xs:element>\r
- <!-- End of the ModuleSurfaceArea element. -->\r
-\r
- <xs:element name="Tools">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Header">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="1" maxOccurs="1" name="Name" type="xs:normalizedString">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us">This is the User Interface Name for this Tools\r
- Distribution.</xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Copyright" type="xs:string">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is only required if the Copyright is\r
- different from the Distribution Package copyright. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="License" type="xs:string">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is only required if the License is\r
- different from the Distribution Package license. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Abstract">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is only required if the Abstract is\r
- different from the Distribution Package Abstract. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:normalizedString">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us" use="optional"/>\r
- </xs:extension> \r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Description">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is only required if the Description is\r
- different from the Distribution Package Description. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:string">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us" use="optional"/>\r
- </xs:extension> \r
- </xs:simpleContent>\r
- </xs:complexType>\r
- \r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="1" maxOccurs="unbounded" name="Filename">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is the path and filename location within the ZIP file.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:anyURI">\r
- <xs:attribute name="OS" type="SupportedOs" use="optional">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is required for tools that execute; it\r
- should not be used for configuration files. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- <xs:attribute name="Executable" type="xs:boolean" default="false" use="optional">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> If true, used by installation tools to\r
- ensure that a file that must be executable has the correct properties to\r
- permit execution. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of the Tools element. -->\r
-\r
- <xs:element name="MiscellaneousFiles">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This section contains a list of files that are not part of the code\r
- distributed with modules, packages or tools. </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Header">\r
- <xs:complexType>\r
- <xs:sequence>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:normalizedString">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> The User interface name for this content.\r
- </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Copyright" type="xs:string">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is only required if the Copyright is\r
- different from the Distribution Package Copyright. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="License" type="xs:string">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is only required if the License is\r
- different from the Distribution Package License. </xs:documentation>\r
- </xs:annotation>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="1" name="Abstract" type="xs:normalizedString"/>\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Description">\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:string">\r
- <xs:attribute name="Lang" type="xs:language" default="en-us" use="optional"\r
- />\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <xs:element minOccurs="0" maxOccurs="unbounded" name="Filename">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> This is the path and filename location within the ZIP file.\r
- </xs:documentation>\r
- </xs:annotation>\r
- <xs:complexType>\r
- <xs:simpleContent>\r
- <xs:extension base="xs:anyURI">\r
- <xs:attribute name="Executable" type="xs:boolean" default="false" use="optional">\r
- <xs:annotation>\r
- <xs:documentation xml:lang="en-us"> If true, used by installation tools to\r
- ensure that a file that must be executable has the correct properties to\r
- permit execution. </xs:documentation>\r
- </xs:annotation>\r
- </xs:attribute>\r
- </xs:extension>\r
- </xs:simpleContent>\r
- </xs:complexType>\r
- </xs:element>\r
- </xs:sequence>\r
- </xs:complexType>\r
- </xs:element>\r
- <!-- End of the Misc element. -->\r