]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/XMLSchema/FrameworkDataTypes.xsd
Updated schema, added some new elements that will be used in the final. Added a Datum...
[mirror_edk2.git] / Tools / XMLSchema / FrameworkDataTypes.xsd
index 1eb27449ed187c4351fbb75e872b71bbf4586e28..10bde1f703684f0bb1220e069904a691f19020ff 100644 (file)
         <xs:documentation xml:lang="en">This schema defines EFI and Framework Data Types. Only simpleType are specified in this file. </xs:documentation>\r
     </xs:annotation>\r
     <xs:include schemaLocation="NamingConvention.xsd"/>\r
+    <xs:simpleType name="ArchList">\r
+        <xs:annotation>\r
+            <xs:documentation xml:lang="en">A list of one or more: IA32, X64, IPF and/or EBC</xs:documentation>\r
+        </xs:annotation>\r
+        <xs:list itemType="SupportedArchitectures"/>\r
+    </xs:simpleType>\r
     <xs:simpleType name="BlockNameType">\r
         <xs:annotation>\r
             <xs:documentation xml:lang="en">FIRMWARE: Define a block name to be BLOCK[A-F0-9]{2}</xs:documentation>\r
             <xs:pattern value="[1-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]"/>\r
         </xs:restriction>\r
     </xs:simpleType>\r
+    <xs:simpleType name="DatumSizeLimitation">\r
+        <xs:restriction base="xs:int">\r
+            <xs:minInclusive value="1"/>\r
+            <xs:maxInclusive value="16777215"/>\r
+        </xs:restriction>\r
+    </xs:simpleType>\r
     <xs:simpleType name="DefaultValue">\r
         <xs:annotation>\r
             <xs:documentation xml:lang="en"> The DefaultValue is a union of a string and an integer. </xs:documentation>\r
             </xs:enumeration>\r
         </xs:restriction>\r
     </xs:simpleType>\r
+    <xs:simpleType name="PcdListType">\r
+        <xs:list itemType="PcdItemTypes"/>\r
+    </xs:simpleType>\r
     <xs:simpleType name="PcdTypes">\r
         <xs:restriction base="NameConvention">\r
             <xs:enumeration value="FIXED_AT_BUILD">\r
                     <xs:documentation xml:lang="en">PCD Item is only a build time option and cannot be Dyanmic or Binary patched into the module.</xs:documentation>\r
                 </xs:annotation>\r
             </xs:enumeration>\r
+            <xs:enumeration value="FEATURE_FLAG"/>\r
             <xs:enumeration value="PATCHABLE_IN_MODULE">\r
                 <xs:annotation>\r
                     <xs:documentation xml:lang="en">PCD Item is set to a default value at build time and a binary of the module can be patched to update the value.</xs:documentation>\r
             </xs:enumeration>\r
         </xs:restriction>\r
     </xs:simpleType>\r
+    <xs:simpleType name="SkuListType">\r
+        <xs:list itemType="HexByteDataType"/>\r
+    </xs:simpleType>\r
     <xs:simpleType name="SupportedArchitectures">\r
         <xs:annotation>\r
             <xs:documentation xml:lang="en"> These are the currently Supportted Architectures type codes </xs:documentation>\r