Sync the type of <VariableName> with the latest email send by Larry.
[mirror_edk2.git] / Tools / XMLSchema / FrameworkPlatformDataTypes.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <!--
4 Filename: FrameworkPlatformDataTypes.xsd
5
6 Copyright (c) 2006, Intel Corp.
7 All rights reserved. This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which may be found at http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 -->
14 <xs:annotation>
15 <xs:documentation xml:lang="en"> This schema defines EFI and Framework Platform Data Types.</xs:documentation>
16 </xs:annotation>
17 <xs:include schemaLocation="NamingConvention.xsd"/>
18 <xs:include schemaLocation="FrameworkDataAttributes.xsd"/>
19 <xs:include schemaLocation="FrameworkDataTypes.xsd"/>
20 <xs:simpleType name="EfiFvAttributeType">
21 <xs:annotation>
22 <xs:documentation xml:lang="en">The list of EFI_FLASH_AREA Attributes</xs:documentation>
23 </xs:annotation>
24 <xs:restriction base="UCNameType">
25 <xs:enumeration value="EFI_FLASH_AREA_FV"/>
26 <xs:enumeration value="EFI_FLASH_AREA_MEMMAPPED_FV"/>
27 <xs:enumeration value="EFI_FLASH_AREA_SUBFV"/>
28 </xs:restriction>
29 </xs:simpleType>
30 <xs:simpleType name="EfiFvAreaType">
31 <xs:annotation>
32 <xs:documentation xml:lang="en">The list of valid EFI Area Types</xs:documentation>
33 </xs:annotation>
34 <xs:restriction base="UCNameType">
35 <xs:enumeration value="EFI_FLASH_AREA_EFI_VARIABLES"/>
36 <xs:enumeration value="EFI_FLASH_AREA_UNUSED"/>
37 <xs:enumeration value="EFI_FLASH_AREA_MAIN_BIOS"/>
38 <xs:enumeration value="EFI_FLASH_AREA_GUID_DEFINED"/>
39 <xs:enumeration value="EFI_FLASH_AREA_FTW_STATE"/>
40 <xs:enumeration value="EFI_FLASH_AREA_FTW_BACKUP"/>
41 <xs:enumeration value="EFI_FLASH_AREA_RECOVERY_BIOS"/>
42 </xs:restriction>
43 </xs:simpleType>
44 <xs:simpleType name="EfiNameGuidType">
45 <xs:annotation>
46 <xs:documentation xml:lang="en">Right now, only EFI_FLASH_MAP_HOB_GUID is defined</xs:documentation>
47 </xs:annotation>
48 <xs:restriction base="UCNameType">
49 <xs:enumeration value="EFI_FLASH_MAP_HOB_GUID"/>
50 </xs:restriction>
51 </xs:simpleType>
52 <xs:simpleType name="FlashSize">
53 <xs:restriction base="xs:string">
54 <xs:enumeration value="256KB"/>
55 <xs:enumeration value="512KB"/>
56 <xs:enumeration value="1MB"/>
57 <xs:enumeration value="2MB"/>
58 <xs:enumeration value="4MB"/>
59 </xs:restriction>
60 </xs:simpleType>
61 <xs:simpleType name="FvImageTypes">
62 <xs:restriction base="xs:NCName">
63 <xs:enumeration value="Attributes"/>
64 <xs:enumeration value="Options"/>
65 <xs:enumeration value="Components"/>
66 <xs:enumeration value="ValidImageNames"/>
67 </xs:restriction>
68 </xs:simpleType>
69 <xs:simpleType name="FvSubRegionTypes">
70 <xs:restriction base="UCNameType">
71 <xs:enumeration value="NV_VARIABLE_STORE"/>
72 <xs:enumeration value="MICROCODE"/>
73 <xs:enumeration value="NV_FTW_WORKING"/>
74 </xs:restriction>
75 </xs:simpleType>
76 </xs:schema>