]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/XMLSchema/FrameworkDataAttributes.xsd
Intermediate Check-in this SPD schema handles both old and new elements.
[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
47d0b581 69 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 70 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
92e805e9 71 <xs:attribute name="BootModeName" type="BootModeNames" use="required"/>\r
cf0a51a5 72 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 73 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
74 <xs:attribute name="Usage" type="BootModeUsage" use="required"/>\r
0675decb 75 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 76 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 77 </xs:attributeGroup>\r
78 <xs:attributeGroup name="ConvertAttributeString">\r
47d0b581 79 <xs:attribute name="OutputFilename" type="FileNameConvention" use="optional"/>\r
92e805e9 80 <xs:attribute name="SourceString" type="xs:string" use="optional"/>\r
81 <xs:attribute default="Unicode" name="OutputFiletype" type="xs:string" use="optional"/>\r
92e805e9 82 </xs:attributeGroup>\r
83 <xs:attributeGroup name="DataHubAttributes">\r
47d0b581 84 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 85 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
0675decb 86 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 87 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 88 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
89 <xs:attribute name="Usage" type="DataHubUsage" use="optional"/>\r
0675decb 90 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 91 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 92 </xs:attributeGroup>\r
93 <xs:attributeGroup name="DirectoryAttributes">\r
94 <xs:attribute name="Separator" type="ToothPick"/>\r
95 </xs:attributeGroup>\r
96 <xs:attributeGroup name="EventAttributes">\r
47d0b581 97 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 98 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
92e805e9 99 <xs:attribute name="EventGroup" type="EventTypes" use="optional"/>\r
0675decb 100 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 101 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 102 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
103 <xs:attribute name="Usage" type="EventUsage" use="optional"/>\r
0675decb 104 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 105 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 106 </xs:attributeGroup>\r
107 <xs:attributeGroup name="ExternAttributes">\r
47d0b581 108 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 109 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
0675decb 110 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 111 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 112 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
113 <xs:attribute name="Usage" type="ExternUsage" use="optional"/>\r
0675decb 114 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 115 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 116 </xs:attributeGroup>\r
117 <xs:attributeGroup name="FilenameAttributes">\r
47d0b581 118 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 119 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
47d0b581 120 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
121 <!-- LAH Does a Filename need to have FeatureFlag Attribute? -->\r
122 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
123 <xs:attribute name="FileType" type="xs:string" use="optional"/>\r
92e805e9 124 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
125 <xs:attribute name="Path" type="DirectoryNamingConvention" use="optional"/>\r
92e805e9 126 <xs:attribute name="ToolChain" type="ToolChains" use="optional"/>\r
47d0b581 127 <xs:attribute name="Usage" type="FileNameUsage" use="optional"/>\r
0675decb 128 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 129 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 130 </xs:attributeGroup>\r
131 <xs:attributeGroup name="FormsetAttributes">\r
47d0b581 132 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 133 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
0675decb 134 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 135 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 136 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
137 <xs:attribute name="Usage" type="FormSetUsage" use="optional"/>\r
0675decb 138 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 139 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 140 </xs:attributeGroup>\r
141 <xs:attributeGroup name="GuidAttributes">\r
47d0b581 142 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 143 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
92e805e9 144 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 145 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 146 <xs:attribute name="Usage" type="GuidUsage" use="optional"/>\r
0675decb 147 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 148 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 149 </xs:attributeGroup>\r
716b2371 150 <xs:attributeGroup name="GuidDeclarationAttributes">\r
151 <xs:attribute name="Name" type="xs:NCName" use="required"/>\r
152 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
153 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
154 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>\r
155 <xs:attribute name="GuidTypeList" type="GuidListType" use="optional"/>\r
156 </xs:attributeGroup>\r
92e805e9 157 <xs:attributeGroup name="HobAttributes">\r
47d0b581 158 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 159 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
47d0b581 160 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
161 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
0675decb 162 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
92e805e9 163 <xs:attribute name="HobType" type="HobTypes" use="required"/>\r
164 <xs:attribute default="true" name="HobEnabled" type="xs:boolean" use="optional"/>\r
47d0b581 165 <xs:attribute name="Usage" type="HobUsage" 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
c12c6c7d 169 <!-- DO NOT USE remove IncludeAttributes from use -->\r
92e805e9 170 <xs:attributeGroup name="IncludeAttributes">\r
716b2371 171 <!-- DO NOT USE remove Arch from use, use SupArchList instead -->\r
47d0b581 172 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 173 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
174 <!-- DO NOT USE remove Class from use -->\r
0675decb 175 <xs:attribute name="Class" type="BaseNameConvention" use="optional"/>\r
716b2371 176 <!-- DO NOT USE remove EnableFeature from use -->\r
0675decb 177 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 178 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
716b2371 179 <!-- DO NOT USE remove Guid from use -->\r
47d0b581 180 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
92e805e9 181 <xs:attribute name="ModuleType" type="ModuleTypeDef" use="optional"/>\r
716b2371 182 <!-- DO NOT USE remove Path from use -->\r
47d0b581 183 <xs:attribute name="Path" type="DirectoryNamingConvention" use="optional"/>\r
716b2371 184 <!-- DO NOT USE remove Version from use -->\r
47d0b581 185 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
186 <!-- DO NOT USE remove OverrideID from use -->\r
187 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
716b2371 188 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>\r
92e805e9 189 </xs:attributeGroup>\r
c12c6c7d 190 <xs:attributeGroup name="IncludeHeaderAttributes">\r
191 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
192 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
193 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>\r
194 </xs:attributeGroup>\r
195 <xs:attributeGroup name="IndustryStdHeaderAttributes">\r
196 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
197 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
198 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>\r
199 </xs:attributeGroup>\r
92e805e9 200 <xs:attributeGroup name="LibraryAttributes">\r
0675decb 201 <!-- LibraryAttributes is used for Libraries -> Library elements in FPD files -->\r
47d0b581 202 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 203 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
47d0b581 204 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
205 <!-- LAH Does a LibraryInstance need to have FeatureFlag Attribute? -->\r
206 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
207 <!-- DO NOT USE remove Guid from use, Start using ModuleGuid instead -->\r
92e805e9 208 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
47d0b581 209 <!-- DO NOT USE remove ClassGuid from use, Start using LibraryClassGuid instead -->\r
210 <xs:attribute name="ClassGuid" type="GuidType" use="optional"/>\r
211 <!-- DO NOT USE remove LibraryGuid from use, Start using ModuleGuid instead -->\r
0675decb 212 <xs:attribute name="LibraryGuid" type="GuidType" use="optional"/>\r
92e805e9 213 <xs:attribute name="LibraryClass" type="BaseNameConvention" use="optional"/>\r
47d0b581 214 <xs:attribute name="LibraryClassGuid" type="GuidType" use="optional"/>\r
215 <xs:attribute name="ModuleGuid" type="GuidType" use="optional"/>\r
216 <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>\r
0675decb 217 <!-- DO NOT USE remove Package from use, Start using PackageName instead -->\r
47d0b581 218 <xs:attribute name="Package" type="xs:string" use="optional"/>\r
219 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>\r
0675decb 220 <xs:attribute name="PackageName" type="BaseNameConvention" use="optional"/>\r
221 <xs:attribute name="PackageVersion" type="VersionDataType" use="optional"/>\r
47d0b581 222 <xs:attribute name="Usage" type="LibraryUsage" use="optional"/>\r
223 <!-- DO NOT USE remove Version from use, Start using ModuleVersion instead -->\r
224 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
0675decb 225 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 226 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
227 </xs:attributeGroup>\r
228 <xs:attributeGroup name="LibraryClassAttributes">\r
229 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 230 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
47d0b581 231 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
232 <xs:attribute name="RecommendedInstance" type="xs:NCName" use="optional"/>\r
233 <xs:attribute name="RecommendedInstanceGuid" type="GuidType" use="optional"/>\r
234 <xs:attribute name="Usage" type="LibraryUsage" use="required"/>\r
92e805e9 235 </xs:attributeGroup>\r
236 <xs:attributeGroup name="ModuleNameAttributes">\r
2fdd0c7d 237 <xs:attribute name="Guid" type="GuidType" use="required"/>\r
47d0b581 238 <!-- DO NOT USE remove Guid from use, Start using ModuleGuid instead -->\r
239 <xs:attribute name="ModuleGuid" type="GuidType" use="required"/>\r
240 <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>\r
241 <!-- DO NOT USE remove Version from use, Start using ModuleVersion instead -->\r
2fdd0c7d 242 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
243 </xs:attributeGroup>\r
244 <xs:attributeGroup name="ModuleNameSaAttributes">\r
47d0b581 245 <!-- DO NOT USE remove Guid from use, Start using ModuleGuid instead -->\r
0675decb 246 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
47d0b581 247 <xs:attribute name="ModuleGuid" type="GuidType" use="required"/>\r
2fdd0c7d 248 <xs:attribute name="ModuleName" type="xs:NCName" use="required"/>\r
47d0b581 249 <xs:attribute name="ModuleVersion" type="VersionDataType" use="optional"/>\r
250 <!-- DO NOT USE remove Version from use, Start using ModuleVersion instead -->\r
92e805e9 251 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
252 </xs:attributeGroup>\r
253 <xs:attributeGroup name="MsaAttributes">\r
254 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 255 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
47d0b581 256 <xs:attribute name="BuildSequence" type="xs:int" use="optional"/>\r
92e805e9 257 <xs:attribute name="FvBinding" type="xs:string" use="optional"/>\r
0675decb 258 <xs:attribute name="ModuleName" type="xs:NCName" use="optional"/>\r
92e805e9 259 <xs:attribute name="ModuleGuid" type="GuidType" use="optional"/>\r
0675decb 260 <xs:attribute name="PackageName" type="BaseNameConvention" use="optional"/>\r
92e805e9 261 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>\r
92e805e9 262 </xs:attributeGroup>\r
263 <xs:attributeGroup name="OptionAttributes">\r
47d0b581 264 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 265 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
2fdd0c7d 266 <xs:attribute name="BuildTarget" type="BuildTargets" use="optional"/>\r
0675decb 267 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
47d0b581 268 <!-- LAH Does an Option need to have FeatureFlag Attribute? -->\r
cf0a51a5 269 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 270 <xs:attribute name="Platform" type="PlatformNamingConvention" use="optional"/>\r
271 <xs:attribute name="ToolChain" type="ToolChains" use="optional"/>\r
0850ca3b 272 <xs:attribute name="ToolChainTag" type="xs:NCName" use="optional"/>\r
0675decb 273 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 274 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 275 </xs:attributeGroup>\r
716b2371 276 <xs:attributeGroup name="PackageHeaderAttributes">\r
277 <xs:attribute name="ModuleType" type="ModuleTypeDef" use="optional"/>\r
278 </xs:attributeGroup>\r
92e805e9 279 <xs:attributeGroup name="PackageAttributes">\r
47d0b581 280 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 281 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
0675decb 282 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>\r
92e805e9 283 <xs:attribute name="PackageType" type="PackageType" use="optional"/>\r
47d0b581 284 <xs:attribute name="PackageVersion" type="xs:string" use="optional"/>\r
92e805e9 285 <xs:attribute name="UpdatedDate" type="DateType" use="optional"/>\r
47d0b581 286 <xs:attribute name="Usage" type="PackageUsage" use="optional"/>\r
92e805e9 287 </xs:attributeGroup>\r
0675decb 288 <!-- PackageNameAttributres are only used in the Package Dependencies section of an SPD file. -->\r
92e805e9 289 <xs:attributeGroup name="PackageNameAttributes">\r
47d0b581 290 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 291 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
0675decb 292 <!-- DO NOT USE remove Guid and start using PackageGuid instead -->\r
47d0b581 293 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 294 <xs:attribute name="PackageGuid" type="GuidType" use="optional"/>\r
0675decb 295 <!-- PackageTypeDepencency is used to identify if a SOURCE or BINARY PackageType is required, in case PackageGuid and/or PackageVersion are not tracked. -->\r
296 <xs:attribute name="PackageTypeDependency" type="PackageType" use="optional"/>\r
47d0b581 297 <xs:attribute name="PackageVersion" type="xs:string" use="optional"/>\r
298 <!-- DO NOT USE remove Version and start using PackageVersion instead -->\r
299 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
92e805e9 300 </xs:attributeGroup>\r
301 <xs:attributeGroup name="PcdAttributes">\r
302 <xs:annotation>\r
303 <xs:documentation xml:lang="en">These attributes are for the Pcds listed in PcdData, PcdEntry and/or PcdBuildData entries.</xs:documentation>\r
304 <xs:documentation xml:lang="en">PcdUsage is only valid for PcdItemTypes = FEATURE_FLAG</xs:documentation>\r
47d0b581 305 <xs:documentation xml:lang="en">Only NON FEATURE_FLAG PCDS should have the FeatureFlag attribute set.</xs:documentation>\r
92e805e9 306 </xs:annotation>\r
47d0b581 307 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 308 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
0675decb 309 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 310 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 311 <xs:attribute name="ItemType" type="PcdItemTypes" use="required"/>\r
312 <xs:attribute name="PcdUsage" type="PcdUsage" use="optional"/>\r
0675decb 313 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 314 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 315 </xs:attributeGroup>\r
c12c6c7d 316 <xs:attributeGroup name="PcdDeclarationAttributes">\r
317 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
318 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
319 <xs:attribute name="SupModuleTypes" type="ModuleTypeList" use="optional"/>\r
320 </xs:attributeGroup>\r
92e805e9 321 <xs:attributeGroup name="PlatformAttributes">\r
0675decb 322 <!-- DO NOT USE remove AlternateName from use -->\r
47d0b581 323 <xs:attribute name="AlternateName" type="FileNameConvention" use="optional"/>\r
716b2371 324 <!-- DO NOT USE remove Arch from use -->\r
47d0b581 325 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 326 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
47d0b581 327 <!-- DO NOT USE remove Guid from use -->\r
328 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
0675decb 329 <xs:attribute name="PlatformName" type="PlatformNamingConvention" use="optional"/>\r
92e805e9 330 <xs:attribute name="PlatformGuid" type="GuidType" use="optional"/>\r
331 <xs:attribute name="PlatformVersion" type="xs:string" use="optional"/>\r
47d0b581 332 <!-- DO NOT USE remove Version and start using PlatformVersion instead -->\r
333 <xs:attribute name="Version" type="VersionDataType" use="optional"/>\r
92e805e9 334 </xs:attributeGroup>\r
716b2371 335 <xs:attributeGroup name="PpiDeclarationAttributes">\r
336 <xs:attribute name="Name" type="xs:NCName" use="required"/>\r
337 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
338 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
339 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>\r
340 </xs:attributeGroup>\r
92e805e9 341 <xs:attributeGroup name="PpiAttributes">\r
716b2371 342 <!-- DO NOT USE remove Arch from use -->\r
47d0b581 343 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 344 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
92e805e9 345 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 346 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
716b2371 347 <!-- DO NOT USE remove Guid from use -->\r
47d0b581 348 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
349 <xs:attribute name="Usage" type="PpiUsage" use="optional"/>\r
0675decb 350 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 351 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 352 </xs:attributeGroup>\r
353 <xs:attributeGroup name="PpiNotifyAttributes">\r
716b2371 354 <!-- DO NOT USE remove Arch from use -->\r
47d0b581 355 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 356 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
92e805e9 357 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 358 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
716b2371 359 <!-- DO NOT USE remove Guid from use -->\r
47d0b581 360 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
361 <xs:attribute name="Usage" type="PpiNotifyUsage" use="optional"/>\r
0675decb 362 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 363 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 364 </xs:attributeGroup>\r
365 <xs:attributeGroup name="ProtocolAttributes">\r
47d0b581 366 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 367 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
92e805e9 368 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 369 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 370 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
371 <xs:attribute name="Usage" type="ProtocolUsage" use="optional"/>\r
0675decb 372 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 373 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 374 </xs:attributeGroup>\r
716b2371 375 <xs:attributeGroup name="ProtocolDeclarationAttributes">\r
376 <xs:attribute name="Name" type="xs:NCName" use="required"/>\r
377 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
378 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
379 <xs:attribute name="ModuleTypeList" type="ModuleTypeList" use="optional"/>\r
380 </xs:attributeGroup>\r
92e805e9 381 <xs:attributeGroup name="ProtocolNotifyAttributes">\r
47d0b581 382 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 383 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
47d0b581 384 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
92e805e9 385 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
386 <xs:attribute name="Usage" type="ProtocolNotifyUsage" 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
390 <xs:attributeGroup name="SectionAttributes">\r
391 <xs:annotation>\r
392 <xs:documentation xml:lang="en">Attributes are either compressable and/or sequence order binding</xs:documentation>\r
393 </xs:annotation>\r
92e805e9 394 <xs:attribute name="BindingOrder" type="xs:int" use="optional"/>\r
47d0b581 395 <xs:attribute default="true" name="Compressible" type="xs:boolean" use="optional"/>\r
0675decb 396 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
47d0b581 397 <!-- LAH Does a Section need to have FeatureFlag Attribute? -->\r
cf0a51a5 398 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 399 <xs:attribute name="SectionType" type="EfiSectionType" use="optional"/>\r
0675decb 400 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 401 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 402 </xs:attributeGroup>\r
403 <xs:attributeGroup name="SectionsAttributes">\r
404 <xs:annotation>\r
0675decb 405 <xs:documentation xml:lang="en">Attributes for Sections, EncapsulationTag, EncapsulationType and FeatureFlag</xs:documentation>\r
92e805e9 406 </xs:annotation>\r
407 <xs:attribute name="EncapsulationType" type="xs:normalizedString" use="optional"/>\r
408 <xs:attribute name="EncapsulationTag" type="xs:string" use="optional"/>\r
0675decb 409 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
47d0b581 410 <!-- LAH Does a Filename need to have FeatureFlag Attribute? -->\r
cf0a51a5 411 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
0675decb 412 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 413 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 414 </xs:attributeGroup>\r
415 <xs:attributeGroup name="SystemTableAttributes">\r
47d0b581 416 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 417 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
0675decb 418 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 419 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 420 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
421 <xs:attribute name="Usage" type="SystemTableUsage" use="optional"/>\r
0675decb 422 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 423 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 424 </xs:attributeGroup>\r
cf0a51a5 425 <xs:attributeGroup name="UrlAttribute">\r
426 <xs:attribute name="Url" type="xs:anyURI"/>\r
427 </xs:attributeGroup>\r
92e805e9 428 <xs:attributeGroup name="VariableAttributes">\r
47d0b581 429 <xs:attribute name="Arch" type="SupportedArchitectures" use="optional"/>\r
716b2371 430 <xs:attribute name="SupArchList" type="ArchListType" use="optional"/>\r
0675decb 431 <xs:attribute default="true" name="EnableFeature" type="xs:boolean" use="optional"/>\r
cf0a51a5 432 <xs:attribute name="FeatureFlag" type="xs:normalizedString" use="optional"/>\r
47d0b581 433 <xs:attribute name="Guid" type="GuidType" use="optional"/>\r
434 <xs:attribute name="Usage" type="VariableUsage" use="optional"/>\r
0675decb 435 <!-- DO NOT USE remove OverrideID from use -->\r
47d0b581 436 <xs:attribute name="OverrideID" type="xs:int" use="optional"/>\r
92e805e9 437 </xs:attributeGroup>\r
92e805e9 438</xs:schema>\r