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