]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/XMLSchema/FrameworkDataTypes.xsd
Updated the FPD and SPD files to newer schema formats. Also updated a couple of...
[mirror_edk2.git] / Tools / XMLSchema / FrameworkDataTypes.xsd
index 38e16395fd51fd0aec92df2ebdf7e71a98694c8c..8199df0f6adde3144c8b1b68378cb59ab333aa1f 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:enumeration>\r
         </xs:restriction>\r
     </xs:simpleType>\r
+    <xs:simpleType name="BuildTargets">\r
+        <xs:restriction base="xs:NCName">\r
+            <xs:enumeration value="DEBUG"/>\r
+            <xs:enumeration value="RELEASE"/>\r
+            <xs:enumeration value="BOTH"/>\r
+        </xs:restriction>\r
+    </xs:simpleType>\r
     <xs:simpleType name="ComponentExecutionPhase">\r
         <xs:annotation>\r
             <xs:documentation xml:lang="en">These are the supported EFI/Framework Execution Phases</xs:documentation>\r
             <xs:enumeration value="APPLICATION"/>\r
             <xs:enumeration value="BS_DRIVER_EFI"/>\r
             <xs:enumeration value="SHELLAPP"/>\r
-            <xs:enumeration value="APPLICATION"/>\r
             <xs:enumeration value="UEFI_APPLICATION"/>\r
             <xs:enumeration value="BINARY"/>\r
             <xs:enumeration value="LOGO"/>\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="PcdDriverTypes">\r
+        <xs:restriction base="NameConvention">\r
+            <xs:enumeration value="PEI_PCD_DRIVER"/>\r
+            <xs:enumeration value="DXE_PCD_DRIVER"/>\r
+        </xs:restriction>\r
+    </xs:simpleType>\r
     <xs:simpleType name="PcdDataTypes">\r
         <xs:restriction base="xs:normalizedString">\r
             <xs:enumeration value="UINT8"/>\r