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