]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/XMLSchema/SurfaceArea.xsd
Transfer old <PCDs> in MSA to <PcdCoded>:
[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
95945c76 103 <xs:element minOccurs="0" maxOccurs="1" ref="PcdCoded"/>\r
0850ca3b 104 <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r
105 </xs:sequence>\r
106 </xs:complexType>\r
107 </xs:element>\r
2558d455 108 <xs:annotation>\r
0850ca3b 109 <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 110 </xs:annotation>\r
0850ca3b 111 <xs:element name="ModuleBuildDescription">\r
112 <xs:complexType>\r
113 <xs:sequence>\r
114 <xs:element minOccurs="1" maxOccurs="1" ref="MbdHeader"/>\r
115 <xs:element minOccurs="0" maxOccurs="1" ref="SourceFiles"/>\r
116 <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>\r
117 <xs:element minOccurs="0" maxOccurs="1" ref="Libraries"/>\r
118 <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>\r
119 <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>\r
120 <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>\r
121 <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>\r
122 <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>\r
123 <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>\r
124 <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>\r
125 <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>\r
126 <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>\r
127 <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>\r
128 <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>\r
129 <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>\r
130 <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r
131 </xs:sequence>\r
132 </xs:complexType>\r
133 </xs:element>\r
2558d455 134 <xs:annotation>\r
0850ca3b 135 <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 136 </xs:annotation>\r
0850ca3b 137 <xs:element name="ModuleSurfaceArea">\r
138 <xs:complexType>\r
139 <xs:sequence>\r
140 <xs:element minOccurs="1" maxOccurs="1" ref="MsaHeader"/>\r
141 <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDefinitions"/>\r
142 <xs:element minOccurs="1" maxOccurs="1" ref="SourceFiles"/>\r
e4ecc06e 143 <xs:choice minOccurs="0">\r
5c5b4899 144 <!-- DO NOT USE! removing Includes, use PackageDependencies instead -->\r
145 <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>\r
146 <xs:element minOccurs="0" maxOccurs="1" ref="PackageDependencies"/>\r
e4ecc06e 147 </xs:choice>\r
0850ca3b 148 <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>\r
149 <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>\r
150 <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>\r
151 <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>\r
152 <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>\r
153 <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>\r
154 <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>\r
155 <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>\r
c12c6c7d 156 <!-- DO NOT USE! removing Formsets, use HiiPackages instead -->\r
0850ca3b 157 <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>\r
c12c6c7d 158 <xs:element minOccurs="0" maxOccurs="1" ref="HiiPackages"/>\r
0850ca3b 159 <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>\r
160 <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>\r
161 <xs:choice minOccurs="0">\r
c12c6c7d 162 <!-- DO NOT USE! removing PCDs, use PcdCoded instead -->\r
0850ca3b 163 <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>\r
e4ecc06e 164 <xs:element minOccurs="0" maxOccurs="1" ref="PcdCoded"/>\r
0850ca3b 165 </xs:choice>\r
166 <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r
e4ecc06e 167 <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r
0850ca3b 168 </xs:sequence>\r
169 </xs:complexType>\r
170 </xs:element>\r
2558d455 171 <xs:annotation>\r
0850ca3b 172 <xs:documentation xml:lang="en">This describes the valid content for a Package Surface Area Description (SPD) file.</xs:documentation>\r
2558d455 173 </xs:annotation>\r
0850ca3b 174 <xs:element name="PackageSurfaceArea">\r
175 <xs:complexType>\r
176 <xs:sequence>\r
177 <xs:element minOccurs="1" maxOccurs="1" ref="SpdHeader"/>\r
178 <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDeclarations"/>\r
c12c6c7d 179 <xs:element minOccurs="0" maxOccurs="1" ref="IndustryStdIncludes"/>\r
5c5b4899 180 <!-- DO NOT USE removing THIS INSTANCE of PackageDependencies, this is moving to FDP installation process -->\r
0850ca3b 181 <xs:element minOccurs="0" maxOccurs="1" ref="PackageDependencies"/>\r
716b2371 182 <!-- DO NOT USE removing MsaFiles, use MsaFileList instead , do not wrap in choice, too many entries to convert all at once. -->\r
0850ca3b 183 <xs:element minOccurs="0" maxOccurs="1" ref="MsaFiles"/>\r
716b2371 184 <xs:element minOccurs="0" maxOccurs="1" ref="MsaFileList"/>\r
0850ca3b 185 <xs:element minOccurs="0" maxOccurs="1" ref="PackageHeaders"/>\r
186 <xs:element minOccurs="0" maxOccurs="1" ref="GuidDeclarations"/>\r
187 <xs:element minOccurs="0" maxOccurs="1" ref="ProtocolDeclarations"/>\r
188 <xs:element minOccurs="0" maxOccurs="1" ref="PpiDeclarations"/>\r
189 <xs:choice minOccurs="0">\r
190 <!-- DO NOT USE! removing PcdDefinitions, use PcdDeclarations instead. -->\r
191 <xs:element minOccurs="0" maxOccurs="1" ref="PcdDefinitions"/>\r
192 <xs:element minOccurs="0" maxOccurs="1" ref="PcdDeclarations"/>\r
193 </xs:choice>\r
e4ecc06e 194 <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r
0850ca3b 195 </xs:sequence>\r
196 </xs:complexType>\r
197 </xs:element>\r
878ddf1f 198</xs:schema>\r