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