]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/XMLSchema/FrameworkPlatformDataTypes.xsd
Removed the namespace="##local" from the UserExtensions sub-element. Any valid XML...
[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="EfiFfsFileTypes">
21 <xs:restriction base="UCNameType">
22 <xs:enumeration value="EFI_FV_FILETYPE"/>
23 <xs:enumeration value="EFI_FV_FILETYPE_ALL"/>
24 <xs:enumeration value="EFI_FV_FILETYPE_RAW"/>
25 <xs:enumeration value="EFI_FV_FILETYPE_FREEFORM"/>
26 <xs:enumeration value="EFI_FV_FILETYPE_SECURITY_CORE"/>
27 <xs:enumeration value="EFI_FV_FILETYPE_PEI_CORE"/>
28 <xs:enumeration value="EFI_FV_FILETYPE_DXE_CORE"/>
29 <xs:enumeration value="EFI_FV_FILETYPE_PEIM"/>
30 <xs:enumeration value="EFI_FV_FILETYPE_DRIVER"/>
31 <xs:enumeration value="EFI_VF_FILETYPE_COMBINED_PEIM_DRIVER"/>
32 <xs:enumeration value="EFI_VF_FILETYPE_APPLICATION"/>
33 <xs:enumeration value="EFI_VF_FILETYPE_FIRMWARE_VOLUME_IMAGE"/>
34 <xs:enumeration value="EFI_FV_FILETYPE_FFS_PAD"/>
35 </xs:restriction>
36 </xs:simpleType>
37 <xs:simpleType name="EfiFvAreaType">
38 <xs:annotation>
39 <xs:documentation xml:lang="en">The list of valid EFI Area Types</xs:documentation>
40 </xs:annotation>
41 <xs:restriction base="UCNameType">
42 <xs:enumeration value="EFI_FLASH_AREA_RECOVERY_BIOS"/>
43 <xs:enumeration value="EFI_FLASH_AREA_MAIN_BIOS"/>
44 <xs:enumeration value="EFI_FLASH_AREA_PAL_B"/>
45 <xs:enumeration value="EFI_FLASH_AREA_RESERVED_03"/>
46 <xs:enumeration value="EFI_FLASH_AREA_RESERVED_04"/>
47 <xs:enumeration value="EFI_FLASH_AREA_DMI_FRU"/>
48 <xs:enumeration value="EFI_FLASH_AREA_OEM_BINARY"/>
49 <xs:enumeration value="EFI_FLASH_AREA_RESERVED_07"/>
50 <xs:enumeration value="EFI_FLASH_AREA_RESERVED_08"/>
51 <xs:enumeration value="EFI_FLASH_AREA_RESERVED_09"/>
52 <xs:enumeration value="EFI_FLASH_AREA_RESERVED_0A"/>
53 <xs:enumeration value="EFI_FLASH_AREA_EFI_VARIABLES"/>
54 <xs:enumeration value="EFI_FLASH_AREA_MCA_LOG"/>
55 <xs:enumeration value="EFI_FLASH_AREA_SMBIOS_LOG"/>
56 <xs:enumeration value="EFI_FLASH_AREA_FTW_BACKUP"/>
57 <xs:enumeration value="EFI_FLASH_AREA_FTW_STATE"/>
58 <xs:enumeration value="EFI_FLASH_AREA_UNUSED"/>
59 <xs:enumeration value="EFI_FLASH_AREA_GUID_DEFINED"/>
60 </xs:restriction>
61 </xs:simpleType>
62 <xs:simpleType name="EfiFvAttributeListType">
63 <xs:list itemType="EfiFvAttributeType"/>
64 </xs:simpleType>
65 <xs:simpleType name="EfiFvAttributeType">
66 <xs:annotation>
67 <xs:documentation xml:lang="en">The list of EFI_FLASH_AREA Attributes</xs:documentation>
68 </xs:annotation>
69 <xs:restriction base="UCNameType">
70 <xs:enumeration value="EFI_FLASH_AREA_FV"/>
71 <xs:enumeration value="EFI_FLASH_AREA_MEMMAPPED_FV"/>
72 <xs:enumeration value="EFI_FLASH_AREA_SUBFV"/>
73 <xs:enumeration value="EFI_FLASH_AREA_REQUIRED"/>
74 </xs:restriction>
75 </xs:simpleType>
76 <xs:simpleType name="EfiNameGuidType">
77 <xs:annotation>
78 <xs:documentation xml:lang="en">Right now, only EFI_FLASH_MAP_HOB_GUID is defined</xs:documentation>
79 </xs:annotation>
80 <xs:restriction base="UCNameType">
81 <xs:enumeration value="EFI_FLASH_MAP_HOB_GUID"/>
82 </xs:restriction>
83 </xs:simpleType>
84 <xs:simpleType name="FfsDataAlignmentType">
85 <xs:restriction base="xs:nonNegativeInteger">
86 <xs:pattern value="[0-7]{1}"/>
87 </xs:restriction>
88 </xs:simpleType>
89 <xs:simpleType name="FfsNameType">
90 <xs:annotation>
91 <xs:documentation xml:lang="en"> This defines what an FFS Name can consist of.</xs:documentation>
92 </xs:annotation>
93 <xs:restriction base="xs:string">
94 <xs:pattern value="[a-zA-Z][_\-a-zA-Z0-9]*(\.)?[a-zA-Z0-9]*"/>
95 </xs:restriction>
96 </xs:simpleType>
97 <xs:simpleType name="FlashSize">
98 <xs:restriction base="xs:string">
99 <xs:enumeration value="256KB"/>
100 <xs:enumeration value="512KB"/>
101 <xs:enumeration value="1MB"/>
102 <xs:enumeration value="2MB"/>
103 <xs:enumeration value="4MB"/>
104 </xs:restriction>
105 </xs:simpleType>
106 <xs:simpleType name="FvImageTypes">
107 <xs:restriction base="xs:NCName">
108 <xs:enumeration value="Attributes"/>
109 <xs:enumeration value="Options"/>
110 <xs:enumeration value="Components"/>
111 <xs:enumeration value="ImageName"/>
112 </xs:restriction>
113 </xs:simpleType>
114 <xs:simpleType name="FvSubRegionTypes">
115 <xs:restriction base="UCNameType">
116 <xs:enumeration value="NV_VARIABLE_STORE"/>
117 <xs:enumeration value="MICROCODE"/>
118 <xs:enumeration value="NV_FTW_WORKING"/>
119 </xs:restriction>
120 </xs:simpleType>
121 <xs:simpleType name="ValidRegionNameListType">
122 <xs:list itemType="KeywordType"/>
123 </xs:simpleType>
124 </xs:schema>