diff options
Diffstat (limited to 'Tools/XMLSchema/FrameworkPlatformDataTypes.xsd')
-rw-r--r-- | Tools/XMLSchema/FrameworkPlatformDataTypes.xsd | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/Tools/XMLSchema/FrameworkPlatformDataTypes.xsd b/Tools/XMLSchema/FrameworkPlatformDataTypes.xsd new file mode 100644 index 0000000000..c77ee639e0 --- /dev/null +++ b/Tools/XMLSchema/FrameworkPlatformDataTypes.xsd @@ -0,0 +1,76 @@ +<?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">
+ <!--
+ Filename: FrameworkPlatformDataTypes.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>
+ <xs:documentation xml:lang="en"> This schema defines EFI and Framework Platform Data Types.</xs:documentation>
+ </xs:annotation>
+ <xs:include schemaLocation="NamingConvention.xsd"/>
+ <xs:include schemaLocation="FrameworkDataAttributes.xsd"/>
+ <xs:include schemaLocation="FrameworkDataTypes.xsd"/>
+ <xs:simpleType name="EfiFvAttributeType">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">The list of EFI_FLASH_AREA Attributes</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="UCNameType">
+ <xs:enumeration value="EFI_FLASH_AREA_FV"/>
+ <xs:enumeration value="EFI_FLASH_AREA_MEMMAPPED_FV"/>
+ <xs:enumeration value="EFI_FLASH_AREA_SUBFV"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="EfiFvAreaType">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">The list of valid EFI Area Types</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="UCNameType">
+ <xs:enumeration value="EFI_FLASH_AREA_EFI_VARIABLES"/>
+ <xs:enumeration value="EFI_FLASH_AREA_UNUSED"/>
+ <xs:enumeration value="EFI_FLASH_AREA_MAIN_BIOS"/>
+ <xs:enumeration value="EFI_FLASH_AREA_GUID_DEFINED"/>
+ <xs:enumeration value="EFI_FLASH_AREA_FTW_STATE"/>
+ <xs:enumeration value="EFI_FLASH_AREA_FTW_BACKUP"/>
+ <xs:enumeration value="EFI_FLASH_AREA_RECOVERY_BIOS"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="EfiNameGuidType">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Right now, only EFI_FLASH_MAP_HOB_GUID is defined</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="UCNameType">
+ <xs:enumeration value="EFI_FLASH_MAP_HOB_GUID"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="FlashSize">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="256KB"/>
+ <xs:enumeration value="512KB"/>
+ <xs:enumeration value="1MB"/>
+ <xs:enumeration value="2MB"/>
+ <xs:enumeration value="4MB"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="FvImageTypes">
+ <xs:restriction base="xs:NCName">
+ <xs:enumeration value="Attributes"/>
+ <xs:enumeration value="Options"/>
+ <xs:enumeration value="Components"/>
+ <xs:enumeration value="ValidImageNames"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="FvSubRegionTypes">
+ <xs:restriction base="UCNameType">
+ <xs:enumeration value="NV_VARIABLE_STORE"/>
+ <xs:enumeration value="MICROCODE"/>
+ <xs:enumeration value="NV_FTW_WORKING"/>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>
|