]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/XMLSchema/FrameworkDataAttributes.xsd
Change to new XML Schema.
[mirror_edk2.git] / Tools / XMLSchema / FrameworkDataAttributes.xsd
CommitLineData
92e805e9 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: FrameworkDataAttributes.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 -->\r
15 <xs:annotation>\r
16 <xs:documentation xml:lang="en">This schema defines EFI and Framework Attribute. Only attributeGroups are specified in this file. </xs:documentation>\r
17 </xs:annotation>\r
18 <xs:include schemaLocation="NamingConvention.xsd"/>\r
19 <xs:include schemaLocation="FrameworkDataTypes.xsd"/>\r
716b2371 20 <xs:include schemaLocation="FrameworkPlatformDataTypes.xsd"/>\r
21 <xs:attributeGroup name="BlockAttributes">\r
22 <xs:attribute name="Name" type="BlockNameType" use="required"/>\r
23 <xs:attribute name="Size" type="HexAddressType" use="required"/>\r
24 <xs:attribute name="Flags" type="HexAddressType" use="optional"/>\r
25 </xs:attributeGroup>\r
26 <xs:attributeGroup name="FlashDeviceImageAttributes">\r
27 <xs:attribute name="Name" type="xs:string" use="required"/>\r
28 </xs:attributeGroup>\r
29 <xs:attributeGroup name="FlashDeviceImageFileAttributes">\r
30 <xs:attribute name="Name" type="xs:string" use="required"/>\r
31 <xs:attribute name="Region" type="xs:string" use="required"/>\r
32 <xs:attribute name="SubRegion" type="xs:string" use="optional"/>\r
33 <xs:attribute name="Optional" type="xs:boolean" use="optional"/>\r
34 </xs:attributeGroup>\r
35 <xs:attributeGroup name="FlashDeviceInfoAttributes">\r
36 <xs:attribute name="Name" type="xs:string" use="required"/>\r
37 <xs:attribute name="Size" type="HexAddressType" use="required"/>\r
38 <xs:attribute name="BaseAddress" type="HexAddressType" use="required"/>\r
39 <xs:attribute name="ErasePolarity" type="Polarity" use="required"/>\r
40 </xs:attributeGroup>\r
41 <xs:attributeGroup name="RawDataAttributes">\r
42 <xs:attribute name="Name" type="xs:string" use="required"/>\r
43 <xs:attribute name="Region" type="xs:string" use="required"/>\r
44 <xs:attribute name="SubRegion" type="xs:string" use="required"/>\r
45 </xs:attributeGroup>\r
46 <xs:attributeGroup name="RegionAttributes">\r
47 <xs:attribute name="Name" type="xs:string" use="required"/>\r
48 <xs:attribute name="Size" type="HexAddressType" use="required"/>\r
49 <xs:attribute name="Flags" type="HexAddressType" use="optional"/>\r
50 <xs:attribute name="Alignment" type="HexAddressType" use="optional"/>\r
51 <xs:attribute name="Attributes" type="xs:string" use="required"/>\r
52 <xs:attribute name="AreaType" type="EfiFvAreaType" use="required"/>\r
53 </xs:attributeGroup>\r
54 <xs:attributeGroup name="SubRegionAttributes">\r
55 <xs:attribute name="CreateHob" type="xs:boolean" use="required"/>\r
56 <xs:attribute name="Name" type="xs:string" use="required"/>\r
57 <xs:attribute name="Size" type="HexAddressType" use="required"/>\r
58 <xs:attribute name="Attributes" type="xs:string" use="required"/>\r
59 <xs:attribute name="AreaType" type="EfiFvAreaType" use="required"/>\r
60 <xs:attribute name="NameGuid" type="xs:string" use="required"/>\r
61 <xs:attribute name="AreaTypeGuid" type="xs:string" use="optional"/>\r
62 <xs:attribute name="FileSystemGuid" type="xs:string" use="optional"/>\r
63 </xs:attributeGroup>\r
92e805e9 64 <xs:attributeGroup name="BaseNameAttributes">\r
65 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
66 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
67 </xs:attributeGroup>\r
68 <xs:attributeGroup name="BootModeAttributes">\r
87c6a4af 69 <!-- Make Usage REQUIRED in final -->\r
70 <xs:attribute name="BootModeName" type="BootModeNames" use="required"/>\r
71 <xs:attribute name="Usage" type="BootModeUsage" use="required"/>\r
72 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
73 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 74 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 75 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 76 <!-- DO NOT USE, remove Guid from use -->\r
47d0b581 77 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 78 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 79 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 80 </xs:attributeGroup>\r
81 <xs:attributeGroup name="ConvertAttributeString">\r
47d0b581 82 <xs:attribute name="OutputFilename" type="FileNameConvention" use="optional"/>\r
92e805e9 83 <xs:attribute name="SourceString" type="xs:string" use="optional"/>\r
84 <xs:attribute default="Unicode" name="OutputFiletype" type="xs:string" use="optional"/>\r
92e805e9 85 </xs:attributeGroup>\r
86 <xs:attributeGroup name="DataHubAttributes">\r
87c6a4af 87 <!-- Make Usage REQUIRED in final -->\r
88 <xs:attribute name="Usage" type="DataHubUsage" use="optional"/>\r
89 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
90 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 91 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 92 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 93 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 94 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
5c5b4899 95 <!-- DO NOT USE, remove Guid from use -->\r
47d0b581 96 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 97 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 98 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 99 </xs:attributeGroup>\r
100 <xs:attributeGroup name="DirectoryAttributes">\r
101 <xs:attribute name="Separator" type="ToothPick"/>\r
102 </xs:attributeGroup>\r
103 <xs:attributeGroup name="EventAttributes">\r
87c6a4af 104 <!-- Make Usage REQUIRED in final -->\r
105 <xs:attribute name="Usage" type="EventUsage" use="optional"/>\r
5c5b4899 106 <!-- Make EventGroup Required in final -->\r
ed9ec043 107 <xs:attribute name="EventGuidCName" type="C_NameType" use="optional"/> \r
87c6a4af 108 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
109 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
110 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
111 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 112 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 113 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
5c5b4899 114 <!-- DO NOT USE, remove Guid from use -->\r
47d0b581 115 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 116 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 117 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
ed9ec043 118 <xs:attribute name="EventGroup" type="EventTypes" use="optional"/>\r
92e805e9 119 </xs:attributeGroup>\r
120 <xs:attributeGroup name="ExternAttributes">\r
87c6a4af 121 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
122 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 123 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 124 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 125 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 126 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
47d0b581 127 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
128 <xs:attribute name="Usage" type="ExternUsage" use="optional"/>\r
0675decb 129 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 130 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 131 </xs:attributeGroup>\r
132 <xs:attributeGroup name="FilenameAttributes">\r
87c6a4af 133 <xs:attribute name="TagName" type="ToolsNameConvention" use="optional"/>\r
134 <xs:attribute name="ToolCode" type="ToolsNameConvention" use="optional"/>\r
135 <xs:attribute name="ToolChainFamily" type="ToolsNameConvention" use="optional"/>\r
136 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
137 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 138 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 139 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
9d617132 140 <xs:attribute name="ModuleName" type="xs:NCName" use="optional"/>\r
141 <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>\r
142 <xs:attribute name="ModuleGuid" type="GuidType" use="optional"/>\r
5c5b4899 143 <!-- DO NOT USE remove EnableFeature from use -->\r
47d0b581 144 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
47d0b581 145 <xs:attribute name="FileType" type="xs:string" use="optional"/>\r
5c5b4899 146 <!-- DO NOT USE, remove Guid from use -->\r
92e805e9 147 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
5c5b4899 148 <!-- DO NOT USE, remove Path from use -->\r
92e805e9 149 <xs:attribute name="Path" type="DirectoryNamingConvention" use="optional"/>\r
5c5b4899 150 <!-- DO NOT USE, remove ToolChain from use, use ToolChainFamily -->\r
92e805e9 151 <xs:attribute name="ToolChain" type="ToolChains" use="optional"/>\r
5c5b4899 152 <!-- DO NOT USE, remove Usage from use -->\r
47d0b581 153 <xs:attribute name="Usage" type="FileNameUsage" use="optional"/>\r
0675decb 154 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 155 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 156 </xs:attributeGroup>\r
157 <xs:attributeGroup name="FormsetAttributes">\r
5c5b4899 158 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 159 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 160 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
5c5b4899 161 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 162 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
87c6a4af 163 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
47d0b581 164 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
165 <xs:attribute name="Usage" type="FormSetUsage" use="optional"/>\r
0675decb 166 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 167 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 168 </xs:attributeGroup>\r
169 <xs:attributeGroup name="GuidAttributes">\r
87c6a4af 170 <!-- Make Usage REQUIRED in final -->\r
171 <xs:attribute name="Usage" type="GuidUsage" use="optional"/>\r
172 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
173 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 174 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 175 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 176 <!-- DO NOT USE remove EnableFeature from use -->\r
92e805e9 177 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
0675decb 178 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 179 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 180 </xs:attributeGroup>\r
716b2371 181 <xs:attributeGroup name="GuidDeclarationAttributes">\r
87c6a4af 182 <xs:attribute name="Name" type="UiNameType" use="required"/>\r
716b2371 183 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
87c6a4af 184 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
185 <xs:attribute name="SupModuleList" type="ModuleListType" use="optional"/>\r
716b2371 186 <xs:attribute name="GuidTypeList" type="GuidListType" use="optional"/>\r
187 </xs:attributeGroup>\r
5c5b4899 188 <xs:attributeGroup name="HiiPackageAttributes">\r
5c5b4899 189 <xs:attribute name="Usage" type="HiiPackageUsage" use="required"/>\r
87c6a4af 190 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
191 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 192 </xs:attributeGroup>\r
92e805e9 193 <xs:attributeGroup name="HobAttributes">\r
87c6a4af 194 <!-- USAGE is required in final -->\r
195 <xs:attribute name="Usage" type="HobUsage" use="optional"/>\r
ed9ec043 196 <xs:attribute name="HobGuidCName" type="C_NameType" use="optional"/> \r
87c6a4af 197 <xs:attribute name="HobType" type="HobTypes" use="required"/>\r
198 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
199 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 200 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 201 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 202 <!-- DO NOT USE remove EnableFeature from use -->\r
47d0b581 203 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
5c5b4899 204 <!-- DO NOT USE remove Guid from use -->\r
0675decb 205 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
5c5b4899 206 <!-- DO NOT USE remove HobEnabled from use -->\r
92e805e9 207 <xs:attribute default="true" name="HobEnabled" type="xs:boolean" use="optional"/>\r
0675decb 208 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 209 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 210 </xs:attributeGroup>\r
c12c6c7d 211 <!-- DO NOT USE remove IncludeAttributes from use -->\r
92e805e9 212 <xs:attributeGroup name="IncludeAttributes">\r
716b2371 213 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 214 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 215 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
216 <!-- DO NOT USE remove Class from use -->\r
0675decb 217 <xs:attribute name="Class" type="BaseNameConvention" use="optional"/>\r
716b2371 218 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 219 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
87c6a4af 220 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
716b2371 221 <!-- DO NOT USE remove Guid from use -->\r
47d0b581 222 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
92e805e9 223 <xs:attribute name="ModuleType" type="ModuleTypeDef" use="optional"/>\r
716b2371 224 <!-- DO NOT USE remove Path from use -->\r
47d0b581 225 <xs:attribute name="Path" type="DirectoryNamingConvention" use="optional"/>\r
716b2371 226 <!-- DO NOT USE remove Version from use -->\r
47d0b581 227 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
228 <!-- DO NOT USE remove OverrideID from use -->\r
229 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
716b2371 230 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>\r
92e805e9 231 </xs:attributeGroup>\r
c12c6c7d 232 <xs:attributeGroup name="IncludeHeaderAttributes">\r
233 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
87c6a4af 234 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
c12c6c7d 235 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>\r
236 </xs:attributeGroup>\r
237 <xs:attributeGroup name="IndustryStdHeaderAttributes">\r
f0147869 238 <xs:attribute name="Name" type="KeywordType" use="optional"/>\r
87c6a4af 239 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
240 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
241 <xs:attribute name="SupModuleList" type="ModuleListType" use="optional"/>\r
c12c6c7d 242 </xs:attributeGroup>\r
92e805e9 243 <xs:attributeGroup name="LibraryAttributes">\r
5c5b4899 244 <!-- LibraryAttributes is used for Libraries / Library elements in FPD files -->\r
245 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 246 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 247 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
5c5b4899 248 <!-- DO NOT USE remove EnableFeature from use -->\r
47d0b581 249 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
250 <!-- LAH Does a LibraryInstance need to have FeatureFlag Attribute? -->\r
87c6a4af 251 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
47d0b581 252 <!-- DO NOT USE remove Guid from use, Start using ModuleGuid instead -->\r
92e805e9 253 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
47d0b581 254 <!-- DO NOT USE remove ClassGuid from use, Start using LibraryClassGuid instead -->\r
255 <xs:attribute name="ClassGuid" type="GuidType" use="optional"/>\r
256 <!-- DO NOT USE remove LibraryGuid from use, Start using ModuleGuid instead -->\r
0675decb 257 <xs:attribute name="LibraryGuid" type="GuidType" use="optional"/>\r
92e805e9 258 <xs:attribute name="LibraryClass" type="BaseNameConvention" use="optional"/>\r
47d0b581 259 <xs:attribute name="LibraryClassGuid" type="GuidType" use="optional"/>\r
260 <xs:attribute name="ModuleGuid" type="GuidType" use="optional"/>\r
261 <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>\r
0675decb 262 <!-- DO NOT USE remove Package from use, Start using PackageName instead -->\r
47d0b581 263 <xs:attribute name="Package" type="xs:string" use="optional"/>\r
264 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>\r
0675decb 265 <xs:attribute name="PackageName" type="BaseNameConvention" use="optional"/>\r
266 <xs:attribute name="PackageVersion" type="VersionDataType" use="optional"/>\r
47d0b581 267 <xs:attribute name="Usage" type="LibraryUsage" use="optional"/>\r
268 <!-- DO NOT USE remove Version from use, Start using ModuleVersion instead -->\r
269 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
0675decb 270 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 271 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
272 </xs:attributeGroup>\r
273 <xs:attributeGroup name="LibraryClassAttributes">\r
87c6a4af 274 <xs:attribute name="Usage" type="LibraryUsage" use="required"/>\r
275 <xs:attribute name="RecommendedInstanceVersion" type="VersionDataType" use="optional"/>\r
276 <xs:attribute name="RecommendedInstanceGuid" type="GuidType" use="optional"/>\r
277 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
278 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
279 <xs:attribute name="Name" type="KeywordType" use="optional"/>\r
5c5b4899 280 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 281 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
92e805e9 282 </xs:attributeGroup>\r
5c5b4899 283 <xs:attributeGroup name="MsaGuidAttributes">\r
284 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
87c6a4af 285 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 286 <xs:attribute name="Usage" type="GuidUsage" use="optional"/>\r
287 </xs:attributeGroup>\r
92e805e9 288 <xs:attributeGroup name="ModuleNameAttributes">\r
2fdd0c7d 289 <xs:attribute name="Guid" type="GuidType" use="required"/>\r
47d0b581 290 <!-- DO NOT USE remove Guid from use, Start using ModuleGuid instead -->\r
291 <xs:attribute name="ModuleGuid" type="GuidType" use="required"/>\r
292 <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>\r
293 <!-- DO NOT USE remove Version from use, Start using ModuleVersion instead -->\r
2fdd0c7d 294 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
295 </xs:attributeGroup>\r
296 <xs:attributeGroup name="ModuleNameSaAttributes">\r
47d0b581 297 <!-- DO NOT USE remove Guid from use, Start using ModuleGuid instead -->\r
0675decb 298 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
47d0b581 299 <xs:attribute name="ModuleGuid" type="GuidType" use="required"/>\r
2fdd0c7d 300 <xs:attribute name="ModuleName" type="xs:NCName" use="required"/>\r
47d0b581 301 <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>\r
302 <!-- DO NOT USE remove Version from use, Start using ModuleVersion instead -->\r
92e805e9 303 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
304 </xs:attributeGroup>\r
f0147869 305 <xs:attributeGroup name="FfsAttributes">\r
306 <xs:attribute name="FfsFormatKeyword" type="FfsNameType" use="required"/>\r
87c6a4af 307 <xs:attribute name="FfsFileType" type="EfiFfsFileTypes" use="optional"/>\r
308 <xs:attribute name="FfsAttribTailPresent" type="xs:boolean" use="optional"/>\r
309 <xs:attribute name="FfsAttribRecovery" type="xs:boolean" use="optional" default="false"/>\r
310 <xs:attribute name="FfsAttribDataAlignment" type="FfsDataAlignmentType" use="optional"/>\r
311 <xs:attribute name="FfsAttribChecksumRequired" type="xs:boolean" use="optional" default="true"/>\r
f0147869 312 <xs:attribute name="SupModuleList" type="ModuleListType" use="optional"/>\r
87c6a4af 313 </xs:attributeGroup>\r
92e805e9 314 <xs:attributeGroup name="MsaAttributes">\r
5c5b4899 315 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
92e805e9 316 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 317 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
47d0b581 318 <xs:attribute name="BuildSequence" type="xs:int" use="optional"/>\r
92e805e9 319 <xs:attribute name="FvBinding" type="xs:string" use="optional"/>\r
0675decb 320 <xs:attribute name="ModuleName" type="xs:NCName" use="optional"/>\r
92e805e9 321 <xs:attribute name="ModuleGuid" type="GuidType" use="optional"/>\r
87c6a4af 322 <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>\r
323 <xs:attribute name="PackageVersion" type="VersionDataType" use="optional"/>\r
0675decb 324 <xs:attribute name="PackageName" type="BaseNameConvention" use="optional"/>\r
92e805e9 325 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>\r
92e805e9 326 </xs:attributeGroup>\r
327 <xs:attributeGroup name="OptionAttributes">\r
87c6a4af 328 <xs:attribute name="BuildTargets" type="BuildTargetList" use="optional"/>\r
329 <xs:attribute name="ToolChainFamily" type="ToolsNameConvention" use="optional"/>\r
330 <xs:attribute name="TagName" type="ToolsNameConvention" use="optional"/>\r
331 <xs:attribute name="ToolCommand" type="ToolsNameConvention" use="optional"/>\r
332 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
5c5b4899 333 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 334 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 335 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 336 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
47d0b581 337 <!-- LAH Does an Option need to have FeatureFlag Attribute? -->\r
87c6a4af 338 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
47d0b581 339 <xs:attribute name="Platform" type="PlatformNamingConvention" use="optional"/>\r
0675decb 340 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 341 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 342 </xs:attributeGroup>\r
716b2371 343 <xs:attributeGroup name="PackageHeaderAttributes">\r
344 <xs:attribute name="ModuleType" type="ModuleTypeDef" use="optional"/>\r
345 </xs:attributeGroup>\r
92e805e9 346 <xs:attributeGroup name="PackageAttributes">\r
87c6a4af 347 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>\r
348 <xs:attribute name="PackageVersion" type="VersionDataType" use="optional"/>\r
349 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
350 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 351 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 352 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
92e805e9 353 <xs:attribute name="PackageType" type="PackageType" use="optional"/>\r
354 <xs:attribute name="UpdatedDate" type="DateType" use="optional"/>\r
47d0b581 355 <xs:attribute name="Usage" type="PackageUsage" use="optional"/>\r
92e805e9 356 </xs:attributeGroup>\r
0675decb 357 <!-- PackageNameAttributres are only used in the Package Dependencies section of an SPD file. -->\r
92e805e9 358 <xs:attributeGroup name="PackageNameAttributes">\r
5c5b4899 359 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 360 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 361 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
0675decb 362 <!-- DO NOT USE remove Guid and start using PackageGuid instead -->\r
47d0b581 363 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
5c5b4899 364 <!-- CHANGE PackageGuid to REQUIRED in final -->\r
0675decb 365 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>\r
5c5b4899 366 <!-- DO NOT USE remove PackageTypeDependency from Use -->\r
0675decb 367 <!-- PackageTypeDepencency is used to identify if a SOURCE or BINARY PackageType is required, in case PackageGuid and/or PackageVersion are not tracked. -->\r
368 <xs:attribute name="PackageTypeDependency" type="PackageType" use="optional"/>\r
47d0b581 369 <xs:attribute name="PackageVersion" type="xs:string" use="optional"/>\r
370 <!-- DO NOT USE remove Version and start using PackageVersion instead -->\r
371 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
92e805e9 372 </xs:attributeGroup>\r
373 <xs:attributeGroup name="PcdAttributes">\r
374 <xs:annotation>\r
375 <xs:documentation xml:lang="en">These attributes are for the Pcds listed in PcdData, PcdEntry and/or PcdBuildData entries.</xs:documentation>\r
376 <xs:documentation xml:lang="en">PcdUsage is only valid for PcdItemTypes = FEATURE_FLAG</xs:documentation>\r
47d0b581 377 <xs:documentation xml:lang="en">Only NON FEATURE_FLAG PCDS should have the FeatureFlag attribute set.</xs:documentation>\r
92e805e9 378 </xs:annotation>\r
5c5b4899 379 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 380 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 381 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
5c5b4899 382 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 383 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
87c6a4af 384 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
47d0b581 385 <xs:attribute name="ItemType" type="PcdItemTypes" use="required"/>\r
386 <xs:attribute name="PcdUsage" type="PcdUsage" use="optional"/>\r
0675decb 387 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 388 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 389 </xs:attributeGroup>\r
6c4dc226 390 <xs:attributeGroup name="DynamicBuildPcdAttributes">\r
391 <xs:annotation>\r
392 <xs:documentation xml:lang="en">These attributes are for the Pcds listed in PcdData, PcdEntry and/or PcdBuildData entries.</xs:documentation>\r
393 </xs:annotation>\r
394 <xs:attribute name="ItemType" type="PcdItemTypes" use="required"/>\r
395 </xs:attributeGroup>\r
2bf4e0a1 396 <xs:attributeGroup name="PcdBuildDefinitionAttributes">\r
2bf4e0a1 397 <xs:attribute name="ItemType" type="PcdItemTypes" use="required"/>\r
398 </xs:attributeGroup>\r
6c4dc226 399 <xs:attributeGroup name="PcdCodedAttributes">\r
400 <xs:attribute name="PcdItemType" type="PcdItemTypes" use="required"/>\r
401 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
402 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
403 </xs:attributeGroup> \r
c12c6c7d 404 <xs:attributeGroup name="PcdDeclarationAttributes">\r
405 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
87c6a4af 406 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
c12c6c7d 407 <xs:attribute name="SupModuleTypes" type="ModuleTypeList" use="optional"/>\r
408 </xs:attributeGroup>\r
92e805e9 409 <xs:attributeGroup name="PlatformAttributes">\r
0675decb 410 <!-- DO NOT USE remove AlternateName from use -->\r
47d0b581 411 <xs:attribute name="AlternateName" type="FileNameConvention" use="optional"/>\r
5c5b4899 412 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 413 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 414 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
47d0b581 415 <!-- DO NOT USE remove Guid from use -->\r
416 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 417 <xs:attribute name="PlatformName" type="PlatformNamingConvention" use="optional"/>\r
92e805e9 418 <xs:attribute name="PlatformGuid" type="GuidType" use="optional"/>\r
419 <xs:attribute name="PlatformVersion" type="xs:string" use="optional"/>\r
47d0b581 420 <!-- DO NOT USE remove Version and start using PlatformVersion instead -->\r
421 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
92e805e9 422 </xs:attributeGroup>\r
716b2371 423 <xs:attributeGroup name="PpiDeclarationAttributes">\r
87c6a4af 424 <xs:attribute name="Name" type="UiNameType" use="required"/>\r
716b2371 425 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
87c6a4af 426 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
427 <xs:attribute name="SupModuleList" type="ModuleListType" use="optional"/>\r
716b2371 428 </xs:attributeGroup>\r
92e805e9 429 <xs:attributeGroup name="PpiAttributes">\r
87c6a4af 430 <!-- Make Usage REQUIRED in final -->\r
431 <xs:attribute name="Usage" type="PpiUsage" use="optional"/>\r
432 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
433 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 434 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 435 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 436 <!-- DO NOT USE remove EnableFeature from use -->\r
92e805e9 437 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
716b2371 438 <!-- DO NOT USE remove Guid from use -->\r
47d0b581 439 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 440 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 441 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 442 </xs:attributeGroup>\r
443 <xs:attributeGroup name="PpiNotifyAttributes">\r
87c6a4af 444 <!-- Make Usage REQUIRED in final -->\r
445 <xs:attribute name="Usage" type="PpiNotifyUsage" use="optional"/>\r
446 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
447 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 448 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 449 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 450 <!-- DO NOT USE remove EnableFeature from use -->\r
92e805e9 451 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
716b2371 452 <!-- DO NOT USE remove Guid from use -->\r
47d0b581 453 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 454 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 455 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 456 </xs:attributeGroup>\r
457 <xs:attributeGroup name="ProtocolAttributes">\r
87c6a4af 458 <!-- Make Usage REQUIRED in final -->\r
459 <xs:attribute name="Usage" type="ProtocolUsage" use="optional"/>\r
460 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
461 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 462 <!-- DO NOT USE remove Arch from use, use SupArchList instead-->\r
47d0b581 463 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 464 <!-- DO NOT USE remove EnableFeature from use -->\r
92e805e9 465 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
5c5b4899 466 <!-- DO NOT USE remove Guid from use -->\r
47d0b581 467 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 468 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 469 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 470 </xs:attributeGroup>\r
716b2371 471 <xs:attributeGroup name="ProtocolDeclarationAttributes">\r
87c6a4af 472 <xs:attribute name="Name" type="UiNameType" use="required"/>\r
716b2371 473 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
87c6a4af 474 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
475 <xs:attribute name="SupModuleList" type="ModuleListType" use="optional"/>\r
716b2371 476 </xs:attributeGroup>\r
92e805e9 477 <xs:attributeGroup name="ProtocolNotifyAttributes">\r
87c6a4af 478 <!-- Make Usage REQUIRED in final -->\r
479 <xs:attribute name="Usage" type="ProtocolNotifyUsage" use="optional"/>\r
480 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
481 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 482 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 483 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 484 <!-- DO NOT USE remove Guid from use -->\r
92e805e9 485 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 486 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 487 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 488 </xs:attributeGroup>\r
489 <xs:attributeGroup name="SectionAttributes">\r
490 <xs:annotation>\r
491 <xs:documentation xml:lang="en">Attributes are either compressable and/or sequence order binding</xs:documentation>\r
492 </xs:annotation>\r
92e805e9 493 <xs:attribute name="BindingOrder" type="xs:int" use="optional"/>\r
47d0b581 494 <xs:attribute default="true" name="Compressible" type="xs:boolean" use="optional"/>\r
5c5b4899 495 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 496 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
47d0b581 497 <!-- LAH Does a Section need to have FeatureFlag Attribute? -->\r
87c6a4af 498 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
47d0b581 499 <xs:attribute name="SectionType" type="EfiSectionType" use="optional"/>\r
0675decb 500 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 501 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 502 </xs:attributeGroup>\r
503 <xs:attributeGroup name="SectionsAttributes">\r
504 <xs:annotation>\r
0675decb 505 <xs:documentation xml:lang="en">Attributes for Sections, EncapsulationTag, EncapsulationType and FeatureFlag</xs:documentation>\r
92e805e9 506 </xs:annotation>\r
507 <xs:attribute name="EncapsulationType" type="xs:normalizedString" use="optional"/>\r
508 <xs:attribute name="EncapsulationTag" type="xs:string" use="optional"/>\r
5c5b4899 509 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 510 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
47d0b581 511 <!-- LAH Does a Filename need to have FeatureFlag Attribute? -->\r
87c6a4af 512 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
0675decb 513 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 514 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 515 </xs:attributeGroup>\r
516 <xs:attributeGroup name="SystemTableAttributes">\r
87c6a4af 517 <!-- Make Usage REQUIRED in final -->\r
518 <xs:attribute name="Usage" type="SystemTableUsage" use="optional"/>\r
519 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
520 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 521 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 522 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 523 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 524 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
5c5b4899 525 <!-- DO NOT USE remove Guid from use -->\r
47d0b581 526 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 527 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 528 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 529 </xs:attributeGroup>\r
cf0a51a5 530 <xs:attributeGroup name="UrlAttribute">\r
531 <xs:attribute name="Url" type="xs:anyURI"/>\r
532 </xs:attributeGroup>\r
92e805e9 533 <xs:attributeGroup name="VariableAttributes">\r
87c6a4af 534 <!-- Make Usage REQUIRED in final -->\r
535 <xs:attribute name="Usage" type="VariableUsage" use="optional"/>\r
536 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
537 <xs:attribute name="FeatureFlag" type="FeatureFlagExpressionType" use="optional"/>\r
5c5b4899 538 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 539 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
5c5b4899 540 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 541 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
5c5b4899 542 <!-- DO NOT USE remove Guid from use -->\r
47d0b581 543 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 544 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 545 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 546 </xs:attributeGroup>\r
87c6a4af 547 <xs:attributeGroup name="ProcessStepAttributes">\r
548 <xs:annotation>\r
549 <xs:documentation xml:lang="en">Attributes are either compressable and/or sequence order binding</xs:documentation>\r
550 </xs:annotation>\r
551 <xs:attribute name="BindingOrder" type="xs:int" use="optional"/>\r
552 <xs:attribute name="SectionType" type="EfiSectionType" use="optional"/>\r
553 </xs:attributeGroup>\r
554 <xs:attributeGroup name="FvRegionNameAttributes">\r
555 <xs:attribute name="BaseAddressPcdCName" type="C_NameType" use="required"/>\r
556 <xs:attribute name="BaseAddressPcdTokenSpaceGuid" type="GuidType" use="optional"/>\r
557 </xs:attributeGroup> \r
92e805e9 558</xs:schema>\r