Sync the type of <VariableName> with the latest email send by Larry.
[mirror_edk2.git] / Tools / XMLSchema / SurfaceArea.xsd
CommitLineData
878ddf1f 1<?xml version="1.0" encoding="UTF-8"?>\r
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.TianoCore.org/2006/Edk2.0" xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
0850ca3b 3 <!--\r
878ddf1f 4 Filename: SurfaceArea.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
0850ca3b 15 <xs:include schemaLocation="FrameworkHeaders.xsd"/>\r
16 <xs:include schemaLocation="FrameworkDataElements.xsd"/>\r
17 <xs:include schemaLocation="FrameworkPlatformDataElements.xsd"/>\r
2558d455 18 <xs:annotation>\r
0850ca3b 19 <xs:documentation xml:lang="en">The following defines the valid format for the Framework Database (DB) File.</xs:documentation>\r
2558d455 20 </xs:annotation>\r
0850ca3b 21 <xs:element name="FrameworkDatabase">\r
22 <xs:complexType>\r
23 <xs:sequence>\r
24 <xs:element minOccurs="1" maxOccurs="1" ref="FdbHeader"/>\r
25 <xs:element minOccurs="1" maxOccurs="1" ref="PackageList"/>\r
c12c6c7d 26 <xs:element minOccurs="0" maxOccurs="1" ref="PlatformList"/>\r
0850ca3b 27 </xs:sequence>\r
28 </xs:complexType>\r
29 </xs:element>\r
2558d455 30 <xs:annotation>\r
0850ca3b 31 <xs:documentation xml:lang="en">The following describes the valid format for the Framework Platform Description (FPD) File.</xs:documentation>\r
2558d455 32 </xs:annotation>\r
0850ca3b 33 <xs:element name="FrameworkPlatformDescription">\r
34 <xs:complexType>\r
35 <xs:sequence>\r
36 <xs:element minOccurs="1" maxOccurs="1" ref="PlatformHeader"/>\r
c12c6c7d 37 <xs:element minOccurs="0" maxOccurs="1" ref="SkuInfo"/>\r
0850ca3b 38 <xs:element minOccurs="0" maxOccurs="1" ref="Flash"/>\r
39 <!-- DO NOT USE! removing TianoImage, use FrameworkModules instead. -->\r
40 <xs:element minOccurs="0" maxOccurs="1" ref="TianoImage"/>\r
41 <xs:element minOccurs="0" maxOccurs="1" ref="FrameworkModules"/>\r
42 <!-- DO NOT USE! removing PcdBuildDeclarations here, use PcdBuildDeclaratiion in ModuleSA instead. -->\r
43 <xs:element minOccurs="0" maxOccurs="1" ref="PcdBuildDeclarations"/>\r
e4ecc06e 44 <xs:choice minOccurs="0">\r
c12c6c7d 45 <!-- DO NOT USE! removing PcdDynamicBuildDeclarations here, use DynamicPcdBuildDefinitions in ModuleSA instead. -->\r
e4ecc06e 46 <xs:element minOccurs="0" maxOccurs="1" ref="PcdDynamicBuildDeclarations"/>\r
47 <xs:element minOccurs="0" maxOccurs="1" ref="DynamicPcdBuildDefinitions"/>\r
48 </xs:choice>\r
0850ca3b 49 <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r
e4ecc06e 50 <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r
0850ca3b 51 </xs:sequence>\r
52 </xs:complexType>\r
53 </xs:element>\r
2558d455 54 <xs:annotation>\r
0850ca3b 55 <xs:documentation xml:lang="en">DO NOT USE removing all Library Module files - PUT IN PLATFORM DESCRIPTION FILE, FPD</xs:documentation>\r
2558d455 56 </xs:annotation>\r
0850ca3b 57 <xs:element name="LibraryModuleBuildDescription">\r
58 <xs:complexType>\r
59 <xs:sequence>\r
60 <xs:element minOccurs="1" maxOccurs="1" ref="MbdLibHeader"/>\r
61 <xs:element minOccurs="0" maxOccurs="1" ref="SourceFiles"/>\r
62 <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>\r
63 <xs:element minOccurs="0" maxOccurs="1" ref="Libraries"/>\r
64 <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>\r
65 <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>\r
66 <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>\r
67 <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>\r
68 <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>\r
69 <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>\r
70 <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>\r
71 <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>\r
72 <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>\r
73 <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>\r
74 <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>\r
75 <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>\r
76 <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r
77 </xs:sequence>\r
78 </xs:complexType>\r
79 </xs:element>\r
2558d455 80 <xs:annotation>\r
0850ca3b 81 <xs:documentation xml:lang="en">DO NOT USE Removing all Library Module files - USE MODULE DESCRIPTION FILE, MSA</xs:documentation>\r
2558d455 82 </xs:annotation>\r
0850ca3b 83 <xs:element name="LibraryModuleSurfaceArea">\r
84 <xs:complexType>\r
85 <xs:sequence>\r
86 <xs:element minOccurs="1" maxOccurs="1" ref="MsaLibHeader"/>\r
87 <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDefinitions"/>\r
88 <xs:element minOccurs="1" maxOccurs="1" ref="SourceFiles"/>\r
89 <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>\r
c12c6c7d 90 <xs:element minOccurs="0" maxOccurs="1" ref="Libraries"/>\r
0850ca3b 91 <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>\r
92 <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>\r
93 <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>\r
94 <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>\r
95 <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>\r
96 <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>\r
97 <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>\r
98 <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>\r
99 <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>\r
100 <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>\r
101 <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>\r
102 <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>\r
103 <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r
104 </xs:sequence>\r
105 </xs:complexType>\r
106 </xs:element>\r
2558d455 107 <xs:annotation>\r
0850ca3b 108 <xs:documentation xml:lang="en">DO NOT USE Removing Build Description files - PUT IN PLATFORM DESCRIPTION FILE, FPD or RecommendedInstance Attribute in MSA LibraryClass</xs:documentation>\r
2558d455 109 </xs:annotation>\r
0850ca3b 110 <xs:element name="ModuleBuildDescription">\r
111 <xs:complexType>\r
112 <xs:sequence>\r
113 <xs:element minOccurs="1" maxOccurs="1" ref="MbdHeader"/>\r
114 <xs:element minOccurs="0" maxOccurs="1" ref="SourceFiles"/>\r
115 <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>\r
116 <xs:element minOccurs="0" maxOccurs="1" ref="Libraries"/>\r
117 <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>\r
118 <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>\r
119 <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>\r
120 <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>\r
121 <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>\r
122 <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>\r
123 <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>\r
124 <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>\r
125 <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>\r
126 <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>\r
127 <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>\r
128 <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>\r
129 <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r
130 </xs:sequence>\r
131 </xs:complexType>\r
132 </xs:element>\r
2558d455 133 <xs:annotation>\r
0850ca3b 134 <xs:documentation xml:lang="en">This is the Module Surface Area Description (MSA) that contains the list of the module's source files, library classes that can or must be used by the module, the Include Paths, Protocols and Ppi's that are either produced or consued.</xs:documentation>\r
2558d455 135 </xs:annotation>\r
0850ca3b 136 <xs:element name="ModuleSurfaceArea">\r
137 <xs:complexType>\r
138 <xs:sequence>\r
139 <xs:element minOccurs="1" maxOccurs="1" ref="MsaHeader"/>\r
140 <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDefinitions"/>\r
141 <xs:element minOccurs="1" maxOccurs="1" ref="SourceFiles"/>\r
e4ecc06e 142 <xs:choice minOccurs="0">\r
5c5b4899 143 <!-- DO NOT USE! removing Includes, use PackageDependencies instead -->\r
144 <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>\r
145 <xs:element minOccurs="0" maxOccurs="1" ref="PackageDependencies"/>\r
e4ecc06e 146 </xs:choice>\r
0850ca3b 147 <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>\r
148 <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>\r
149 <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>\r
150 <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>\r
151 <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>\r
152 <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>\r
153 <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>\r
154 <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>\r
c12c6c7d 155 <!-- DO NOT USE! removing Formsets, use HiiPackages instead -->\r
0850ca3b 156 <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>\r
c12c6c7d 157 <xs:element minOccurs="0" maxOccurs="1" ref="HiiPackages"/>\r
0850ca3b 158 <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>\r
159 <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>\r
160 <xs:choice minOccurs="0">\r
c12c6c7d 161 <!-- DO NOT USE! removing PCDs, use PcdCoded instead -->\r
0850ca3b 162 <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>\r
e4ecc06e 163 <xs:element minOccurs="0" maxOccurs="1" ref="PcdCoded"/>\r
0850ca3b 164 </xs:choice>\r
165 <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r
e4ecc06e 166 <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r
0850ca3b 167 </xs:sequence>\r
168 </xs:complexType>\r
169 </xs:element>\r
2558d455 170 <xs:annotation>\r
0850ca3b 171 <xs:documentation xml:lang="en">This describes the valid content for a Package Surface Area Description (SPD) file.</xs:documentation>\r
2558d455 172 </xs:annotation>\r
0850ca3b 173 <xs:element name="PackageSurfaceArea">\r
174 <xs:complexType>\r
175 <xs:sequence>\r
176 <xs:element minOccurs="1" maxOccurs="1" ref="SpdHeader"/>\r
177 <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDeclarations"/>\r
c12c6c7d 178 <xs:element minOccurs="0" maxOccurs="1" ref="IndustryStdIncludes"/>\r
5c5b4899 179 <!-- DO NOT USE removing THIS INSTANCE of PackageDependencies, this is moving to FDP installation process -->\r
0850ca3b 180 <xs:element minOccurs="0" maxOccurs="1" ref="PackageDependencies"/>\r
716b2371 181 <!-- DO NOT USE removing MsaFiles, use MsaFileList instead , do not wrap in choice, too many entries to convert all at once. -->\r
0850ca3b 182 <xs:element minOccurs="0" maxOccurs="1" ref="MsaFiles"/>\r
716b2371 183 <xs:element minOccurs="0" maxOccurs="1" ref="MsaFileList"/>\r
0850ca3b 184 <xs:element minOccurs="0" maxOccurs="1" ref="PackageHeaders"/>\r
185 <xs:element minOccurs="0" maxOccurs="1" ref="GuidDeclarations"/>\r
186 <xs:element minOccurs="0" maxOccurs="1" ref="ProtocolDeclarations"/>\r
187 <xs:element minOccurs="0" maxOccurs="1" ref="PpiDeclarations"/>\r
188 <xs:choice minOccurs="0">\r
189 <!-- DO NOT USE! removing PcdDefinitions, use PcdDeclarations instead. -->\r
190 <xs:element minOccurs="0" maxOccurs="1" ref="PcdDefinitions"/>\r
191 <xs:element minOccurs="0" maxOccurs="1" ref="PcdDeclarations"/>\r
192 </xs:choice>\r
e4ecc06e 193 <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r
0850ca3b 194 </xs:sequence>\r
195 </xs:complexType>\r
196 </xs:element>\r
878ddf1f 197</xs:schema>\r