]>
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" targetNamespace="http://www.TianoCore.org/2006/Edk2.0" xmlns="http://www.TianoCore.org/2006/Edk2.0">\r | |
3 | <!--\r | |
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 | APPROVED: 14-Jun-2006\r | |
15 | -->\r | |
16 | <xs:include schemaLocation="FrameworkHeaders.xsd"/>\r | |
17 | <xs:include schemaLocation="FrameworkDataElements.xsd"/>\r | |
18 | <xs:include schemaLocation="FrameworkPlatformDataElements.xsd"/>\r | |
19 | <xs:annotation>\r | |
20 | <xs:documentation xml:lang="en">This describes the valid content of a FrameworkDatabase (DB) File.</xs:documentation>\r | |
21 | </xs:annotation>\r | |
22 | <xs:element name="FrameworkDatabase">\r | |
23 | <xs:complexType>\r | |
24 | <xs:sequence>\r | |
25 | <xs:element minOccurs="1" maxOccurs="1" ref="FdbHeader"/>\r | |
26 | <xs:element minOccurs="1" maxOccurs="1" ref="PackageList"/>\r | |
27 | <xs:element minOccurs="0" maxOccurs="1" ref="PlatformList"/>\r | |
28 | <xs:element minOccurs="0" maxOccurs="1" ref="FarList"/>\r | |
29 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r | |
30 | </xs:sequence>\r | |
31 | </xs:complexType>\r | |
32 | </xs:element>\r | |
33 | <xs:annotation>\r | |
34 | <xs:documentation xml:lang="en">This describes the valid content of a Framework Platform Description (FPD) File.</xs:documentation>\r | |
35 | </xs:annotation>\r | |
36 | <xs:element name="PlatformSurfaceArea">\r | |
37 | <xs:complexType>\r | |
38 | <xs:sequence>\r | |
39 | <xs:element minOccurs="1" maxOccurs="1" ref="PlatformHeader"/>\r | |
40 | <!-- This section will be for new definitions of how we put together the Framework Binary Images -->\r | |
41 | <xs:element minOccurs="0" maxOccurs="1" ref="PlatformDefinitions"/>\r | |
42 | <!-- The Flash section is the legacy implementation of Flash -->\r | |
43 | <xs:element minOccurs="0" maxOccurs="1" ref="Flash"/>\r | |
44 | <xs:element minOccurs="0" maxOccurs="1" ref="FrameworkModules"/>\r | |
45 | <xs:element minOccurs="0" maxOccurs="1" ref="DynamicPcdBuildDefinitions"/>\r | |
46 | <xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>\r | |
47 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r | |
48 | </xs:sequence>\r | |
49 | </xs:complexType>\r | |
50 | </xs:element>\r | |
51 | <xs:annotation>\r | |
52 | <xs:documentation xml:lang="en">This describes the valid content for a Module Surface Area Description (MSA) file.</xs:documentation>\r | |
53 | </xs:annotation>\r | |
54 | <xs:element name="ModuleSurfaceArea">\r | |
55 | <xs:complexType>\r | |
56 | <xs:sequence>\r | |
57 | <xs:element minOccurs="1" maxOccurs="1" ref="MsaHeader"/>\r | |
58 | <xs:element minOccurs="1" maxOccurs="1" ref="ModuleDefinitions"/>\r | |
59 | <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDefinitions"/>\r | |
60 | <xs:element minOccurs="0" maxOccurs="1" ref="SourceFiles"/>\r | |
61 | <xs:element minOccurs="0" maxOccurs="1" ref="NonProcessedFiles"/>\r | |
62 | <xs:element minOccurs="0" maxOccurs="1" ref="PackageDependencies"/>\r | |
63 | <xs:element minOccurs="0" maxOccurs="1" ref="Protocols"/>\r | |
64 | <xs:element minOccurs="0" maxOccurs="1" ref="Events"/>\r | |
65 | <xs:element minOccurs="0" maxOccurs="1" ref="Hobs"/>\r | |
66 | <xs:element minOccurs="0" maxOccurs="1" ref="PPIs"/>\r | |
67 | <xs:element minOccurs="0" maxOccurs="1" ref="Variables"/>\r | |
68 | <xs:element minOccurs="0" maxOccurs="1" ref="BootModes"/>\r | |
69 | <xs:element minOccurs="0" maxOccurs="1" ref="SystemTables"/>\r | |
70 | <xs:element minOccurs="0" maxOccurs="1" ref="DataHubs"/>\r | |
71 | <xs:element minOccurs="0" maxOccurs="1" ref="HiiPackages"/>\r | |
72 | <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>\r | |
73 | <xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>\r | |
74 | <xs:element minOccurs="0" maxOccurs="1" ref="PcdCoded"/>\r | |
75 | <xs:element minOccurs="0" maxOccurs="1" ref="ModuleBuildOptions"/>\r | |
76 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r | |
77 | </xs:sequence>\r | |
78 | </xs:complexType>\r | |
79 | </xs:element>\r | |
80 | <xs:annotation>\r | |
81 | <xs:documentation xml:lang="en">This describes the valid content for a Package Surface Area Description (SPD) file.</xs:documentation>\r | |
82 | </xs:annotation>\r | |
83 | <xs:element name="PackageSurfaceArea">\r | |
84 | <xs:complexType>\r | |
85 | <xs:sequence>\r | |
86 | <xs:element minOccurs="1" maxOccurs="1" ref="SpdHeader"/>\r | |
87 | <xs:element minOccurs="1" maxOccurs="1" ref="PackageDefinitions"/>\r | |
88 | <xs:element minOccurs="0" maxOccurs="1" ref="LibraryClassDeclarations"/>\r | |
89 | <xs:element minOccurs="0" maxOccurs="1" ref="IndustryStdIncludes"/>\r | |
90 | <xs:element minOccurs="0" maxOccurs="1" ref="MsaFiles"/>\r | |
91 | <xs:element minOccurs="0" maxOccurs="1" ref="PackageHeaders"/>\r | |
92 | <xs:element minOccurs="0" maxOccurs="1" ref="GuidDeclarations"/>\r | |
93 | <xs:element minOccurs="0" maxOccurs="1" ref="ProtocolDeclarations"/>\r | |
94 | <xs:element minOccurs="0" maxOccurs="1" ref="PpiDeclarations"/>\r | |
95 | <xs:element minOccurs="0" maxOccurs="1" ref="PcdDeclarations"/>\r | |
96 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="UserExtensions"/>\r | |
97 | </xs:sequence>\r | |
98 | </xs:complexType>\r | |
99 | </xs:element>\r | |
100 | <!-- This element is listed here, only because we are using elements from both the FrameworkDataElements and FrameworkPlatformDataElements files. -->\r | |
101 | <xs:element name="PlatformDefinitions">\r | |
102 | <xs:complexType>\r | |
103 | <xs:sequence>\r | |
104 | <!-- This is the list of ALL architectures that are supported by this Platform -->\r | |
105 | <xs:element minOccurs="1" maxOccurs="1" name="SupportedArchitectures" type="ArchListType"/>\r | |
106 | <xs:element minOccurs="1" maxOccurs="1" name="BuildTargets" type="BuildTargetList"/>\r | |
107 | <xs:element default="UNIFIED" name="IntermediateDirectories" type="IntermediateOutputType"/>\r | |
108 | <xs:element minOccurs="0" maxOccurs="1" name="OutputDirectory" type="xs:anyURI"/>\r | |
109 | <xs:element minOccurs="0" maxOccurs="1" name="ForceDebugTarget" type="KeywordType"/>\r | |
110 | <!-- SkuInfo is only defined if Sku enabled -->\r | |
111 | <xs:element minOccurs="0" maxOccurs="1" ref="SkuInfo"/>\r | |
112 | <xs:element minOccurs="0" maxOccurs="1" ref="FlashDeviceDefinitions"/>\r | |
113 | <xs:element minOccurs="0" maxOccurs="1" ref="FfsFormatDeclarations"/>\r | |
114 | <xs:element minOccurs="0" maxOccurs="1" name="ClonedFrom">\r | |
115 | <xs:complexType>\r | |
116 | <xs:sequence>\r | |
117 | <xs:element minOccurs="1" maxOccurs="unbounded" name="Cloned">\r | |
118 | <xs:complexType>\r | |
119 | <xs:sequence>\r | |
120 | <xs:element minOccurs="1" maxOccurs="1" name="PlatformGuid" type="GuidType"/>\r | |
121 | <xs:element minOccurs="1" maxOccurs="1" name="PlatformVersion" type="VersionDataType"/>\r | |
122 | </xs:sequence>\r | |
123 | <!-- The Id is a number used to track heritage the first entry will be 0 and increment from then on. -->\r | |
124 | <xs:attribute name="Id" type="xs:nonNegativeInteger" use="required"/>\r | |
125 | <!-- If the original module was installed from a FAR, track the FAR it came from. -->\r | |
126 | <xs:attribute name="FarGuid" type="GuidType" use="optional"/>\r | |
127 | </xs:complexType>\r | |
128 | </xs:element>\r | |
129 | </xs:sequence>\r | |
130 | </xs:complexType>\r | |
131 | </xs:element>\r | |
132 | </xs:sequence>\r | |
133 | </xs:complexType>\r | |
134 | </xs:element>\r | |
135 | </xs:schema>\r |