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