]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/XMLSchema/SurfaceArea.xsd
Updated schema, added some new elements that will be used in the final. Added a Datum...
[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
26 <xs:choice>\r
27 <xs:element minOccurs="0" maxOccurs="1" ref="PlatformList"/>\r
28 <!-- DO NOT USE! removing PlatformDescriptions, use PlatformList instead. -->\r
29 <xs:element minOccurs="0" maxOccurs="1" ref="PlatformDescriptions"/>\r
30 </xs:choice>\r
31 </xs:sequence>\r
32 </xs:complexType>\r
33 </xs:element>\r
2558d455 34 <xs:annotation>\r
0850ca3b 35 <xs:documentation xml:lang="en">The following describes the valid format for the Framework Platform Description (FPD) File.</xs:documentation>\r
2558d455 36 </xs:annotation>\r
0850ca3b 37 <xs:element name="FrameworkPlatformDescription">\r
38 <xs:complexType>\r
39 <xs:sequence>\r
40 <xs:element minOccurs="1" maxOccurs="1" ref="PlatformHeader"/>\r
41 <xs:element minOccurs="0" maxOccurs="1" ref="Flash"/>\r
42 <!-- DO NOT USE! removing TianoImage, use FrameworkModules instead. -->\r
43 <xs:element minOccurs="0" maxOccurs="1" ref="TianoImage"/>\r
44 <xs:element minOccurs="0" maxOccurs="1" ref="FrameworkModules"/>\r
45 <!-- DO NOT USE! removing PcdBuildDeclarations here, use PcdBuildDeclaratiion in ModuleSA instead. -->\r
46 <xs:element minOccurs="0" maxOccurs="1" ref="PcdBuildDeclarations"/>\r
e4ecc06e 47 <xs:choice minOccurs="0">\r
48 <xs:element minOccurs="0" maxOccurs="1" ref="PcdDynamicBuildDeclarations"/>\r
49 <xs:element minOccurs="0" maxOccurs="1" ref="DynamicPcdBuildDefinitions"/>\r
50 </xs:choice>\r
0850ca3b 51 <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r
e4ecc06e 52 <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r
0850ca3b 53 </xs:sequence>\r
54 </xs:complexType>\r
55 </xs:element>\r
2558d455 56 <xs:annotation>\r
0850ca3b 57 <xs:documentation xml:lang="en">DO NOT USE removing all Library Module files - PUT IN PLATFORM DESCRIPTION FILE, FPD</xs:documentation>\r
2558d455 58 </xs:annotation>\r
0850ca3b 59 <xs:element name="LibraryModuleBuildDescription">\r
60 <xs:complexType>\r
61 <xs:sequence>\r
62 <xs:element minOccurs="1" maxOccurs="1" ref="MbdLibHeader"/>\r
63 <xs:element minOccurs="0" maxOccurs="1" ref="SourceFiles"/>\r
64 <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>\r
65 <xs:element minOccurs="0" maxOccurs="1" ref="Libraries"/>\r
66 <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>\r
67 <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>\r
68 <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>\r
69 <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>\r
70 <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>\r
71 <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>\r
72 <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>\r
73 <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>\r
74 <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>\r
75 <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>\r
76 <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>\r
77 <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>\r
78 <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r
79 </xs:sequence>\r
80 </xs:complexType>\r
81 </xs:element>\r
2558d455 82 <xs:annotation>\r
0850ca3b 83 <xs:documentation xml:lang="en">DO NOT USE Removing all Library Module files - USE MODULE DESCRIPTION FILE, MSA</xs:documentation>\r
2558d455 84 </xs:annotation>\r
0850ca3b 85 <xs:element name="LibraryModuleSurfaceArea">\r
86 <xs:complexType>\r
87 <xs:sequence>\r
88 <xs:element minOccurs="1" maxOccurs="1" ref="MsaLibHeader"/>\r
89 <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDefinitions"/>\r
90 <xs:element minOccurs="1" maxOccurs="1" ref="SourceFiles"/>\r
91 <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>\r
92 <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>\r
93 <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>\r
94 <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>\r
95 <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>\r
96 <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>\r
97 <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>\r
98 <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>\r
99 <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>\r
100 <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>\r
101 <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>\r
102 <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>\r
103 <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>\r
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
144 <xs:element minOccurs="0" maxOccurs="1" ref="Includes"/>\r
145 <xs:element minOccurs="0" maxOccurs="1" ref="PackageDependencies"/>\r
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
155 <xs:element minOccurs="0" maxOccurs="1" ref="Formsets"/>\r
156 <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>\r
157 <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>\r
158 <xs:choice minOccurs="0">\r
159 <!-- DO NOT USE! removing PCDs, use MsaPcdDeclarations instead -->\r
160 <xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>\r
e4ecc06e 161 <xs:element minOccurs="0" maxOccurs="1" ref="PcdCoded"/>\r
0850ca3b 162 </xs:choice>\r
163 <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r
e4ecc06e 164 <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r
0850ca3b 165 </xs:sequence>\r
166 </xs:complexType>\r
167 </xs:element>\r
2558d455 168 <xs:annotation>\r
0850ca3b 169 <xs:documentation xml:lang="en">This describes the valid content for a Package Surface Area Description (SPD) file.</xs:documentation>\r
2558d455 170 </xs:annotation>\r
0850ca3b 171 <xs:element name="PackageSurfaceArea">\r
172 <xs:complexType>\r
173 <xs:sequence>\r
174 <xs:element minOccurs="1" maxOccurs="1" ref="SpdHeader"/>\r
175 <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDeclarations"/>\r
176 <xs:element minOccurs="0" maxOccurs="1" ref="IndustryStdHeaders"/>\r
177 <xs:element minOccurs="0" maxOccurs="1" ref="PackageDependencies"/>\r
178 <xs:element minOccurs="0" maxOccurs="1" ref="MsaFiles"/>\r
179 <xs:element minOccurs="0" maxOccurs="1" ref="PackageHeaders"/>\r
180 <xs:element minOccurs="0" maxOccurs="1" ref="GuidDeclarations"/>\r
181 <xs:element minOccurs="0" maxOccurs="1" ref="ProtocolDeclarations"/>\r
182 <xs:element minOccurs="0" maxOccurs="1" ref="PpiDeclarations"/>\r
183 <xs:choice minOccurs="0">\r
184 <!-- DO NOT USE! removing PcdDefinitions, use PcdDeclarations instead. -->\r
185 <xs:element minOccurs="0" maxOccurs="1" ref="PcdDefinitions"/>\r
186 <xs:element minOccurs="0" maxOccurs="1" ref="PcdDeclarations"/>\r
187 </xs:choice>\r
e4ecc06e 188 <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r
0850ca3b 189 </xs:sequence>\r
190 </xs:complexType>\r
191 </xs:element>\r
878ddf1f 192</xs:schema>\r