EdkGenericBdsLib and Logo removed, use EdkGenericPlatformBdsLib
[mirror_edk2.git] / EdkUnixPkg / EdkUnixPkg.spd
CommitLineData
febc6433 1<?xml version="1.0" encoding="UTF-8"?>\r
c9093a06 2<!--\r
421954ef 3Copyright (c) 2006 - 2007, Intel Corporation\r
c9093a06 4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11-->\r
12<PackageSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
13 <SpdHeader>\r
14 <PackageName>EdkUnixPkg</PackageName>\r
15 <GuidValue>f2805c44-8985-11db-9e98-0040d02b1835</GuidValue>\r
16 <Version>0.3</Version>\r
17 <Abstract>This is the Unix Emulation Environment Platform</Abstract>\r
18 <Description>Reference platform implementation using an emulator.</Description>\r
19 <Copyright>Copyright (c) 2006, Intel Corporation.</Copyright>\r
20 <License>All rights reserved.
21 This program and the accompanying materials are licensed and made available
22 under the terms and conditions of the BSD License which accompanies this distribution.
23 The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
24 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES
25 OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>\r
26 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
27 </SpdHeader>\r
28 <PackageDefinitions>\r
29 <ReadOnly>true</ReadOnly>\r
30 <RePackage>false</RePackage>\r
31 </PackageDefinitions>\r
32 <LibraryClassDeclarations>\r
c9093a06 33 <LibraryClass Name="UnixLib">\r
34 <IncludeHeader>Include/Library/UnixLib.h</IncludeHeader>\r
35 <HelpText/>\r
36 </LibraryClass>\r
37 </LibraryClassDeclarations>\r
38 <IndustryStdIncludes>\r
39 <IndustryStdHeader Name="UnixInclude">\r
40 <IncludeHeader>Include/Common/UnixInclude.h</IncludeHeader>\r
41 <HelpText/>\r
42 </IndustryStdHeader>\r
c9093a06 43 <IndustryStdHeader Name="UnixLib">\r
f480b240 44 <IncludeHeader>Include/Library/UnixLib.h</IncludeHeader>\r
c9093a06 45 <HelpText/>\r
46 </IndustryStdHeader>\r
f480b240 47 <IndustryStdHeader Name="UnixAutoScan">\r
48 <IncludeHeader>Include/Ppi/UnixAutoScan.h</IncludeHeader>\r
c9093a06 49 <HelpText/>\r
50 </IndustryStdHeader>\r
f480b240 51 <IndustryStdHeader Name="UnixFwh">\r
52 <IncludeHeader>Include/Ppi/UnixFwh.h</IncludeHeader>\r
c9093a06 53 <HelpText/>\r
54 </IndustryStdHeader>\r
f480b240 55 <IndustryStdHeader Name="UnixPeiLoadFile">\r
56 <IncludeHeader>Include/Ppi/UnixPeiLoadFile.h</IncludeHeader>\r
c9093a06 57 <HelpText/>\r
58 </IndustryStdHeader>\r
f480b240 59 <IndustryStdHeader Name="UnixThunk">\r
60 <IncludeHeader>Include/Ppi/UnixThunk.h</IncludeHeader>\r
c9093a06 61 <HelpText/>\r
62 </IndustryStdHeader>\r
63 <IndustryStdHeader Name="UnixIo">\r
64 <IncludeHeader>Include/Protocol/UnixIo.h</IncludeHeader>\r
65 <HelpText/>\r
66 </IndustryStdHeader>\r
67 <IndustryStdHeader Name="UnixThunk">\r
68 <IncludeHeader>Include/Protocol/UnixThunk.h</IncludeHeader>\r
69 <HelpText/>\r
70 </IndustryStdHeader>\r
71 <IndustryStdHeader Name="UnixUgaIo">\r
72 <IncludeHeader>Include/Protocol/UnixUgaIo.h</IncludeHeader>\r
73 <HelpText/>\r
74 </IndustryStdHeader>\r
75 <IndustryStdHeader Name="FlashLayout">\r
76 <IncludeHeader>Include/FlashLayout.h</IncludeHeader>\r
77 <HelpText/>\r
78 </IndustryStdHeader>\r
79 <IndustryStdHeader Name="UnixDxe">\r
80 <IncludeHeader>Include/UnixDxe.h</IncludeHeader>\r
81 <HelpText/>\r
82 </IndustryStdHeader>\r
83 <IndustryStdHeader Name="UnixPeim">\r
84 <IncludeHeader>Include/UnixPeim.h</IncludeHeader>\r
85 <HelpText/>\r
86 </IndustryStdHeader>\r
87 </IndustryStdIncludes>\r
88 <MsaFiles>\r
89 <Filename>Dxe/UnixPlatform/MiscSubclass/MiscSubclassDriver.msa</Filename>\r
90 <Filename>Dxe/PlatformBds/PlatformBds.msa</Filename>\r
91 <Filename>Dxe/UnixThunk/Bus/BlockIo/UnixBlockIo.msa</Filename>\r
92 <Filename>Dxe/UnixThunk/Bus/Console/UnixConsole.msa</Filename>\r
93 <Filename>Dxe/UnixThunk/Bus/SimpleFileSystem/UnixSimpleFileSystem.msa</Filename>\r
94 <Filename>Dxe/UnixThunk/Bus/Uga/UnixUga.msa</Filename>\r
95 <Filename>Dxe/UnixThunk/Bus/UnixBusDriver/UnixBusDriver.msa</Filename>\r
96 <Filename>Dxe/UnixThunk/Chipset/Metronome/Metronome.msa</Filename>\r
97 <Filename>Dxe/UnixThunk/Chipset/RealTimeClock/RealTimeClock.msa</Filename>\r
98 <Filename>Dxe/UnixThunk/Chipset/Reset/Reset.msa</Filename>\r
99 <Filename>Dxe/UnixThunk/Chipset/Timer/Timer.msa</Filename>\r
100 <Filename>Dxe/UnixThunk/Cpu/Cpu.msa</Filename>\r
101 <Filename>Dxe/UnixThunk/UnixThunk/UnixThunk.msa</Filename>\r
102 <Filename>Library/DxeUnixLib/DxeUnixLib.msa</Filename>\r
c9093a06 103 <Filename>Library/EdkUnixPeiPeCoffGetEntryPointLib/EdkUnixPeiPeCoffGetEntryPointLib.msa</Filename>\r
104 <Filename>Library/UnixPeCoffLoaderLib/UnixPeCoffLoaderLib.msa</Filename>\r
105 <Filename>Library/UnixOemHookStatusCodeLib/UnixOemHookStatusCodeLib.msa</Filename>\r
c9093a06 106 <Filename>Pei/AutoScan/UnixAutoScan.msa</Filename>\r
107 <Filename>Pei/BootMode/BootMode.msa</Filename>\r
108 <Filename>Pei/FirmwareVolume/UnixFwh.msa</Filename>\r
109 <Filename>Pei/FlashMap/FlashMap.msa</Filename>\r
110 <Filename>Pei/UnixStuff/UnixStuff.msa</Filename>\r
111 <Filename>RuntimeDxe/FvbServices/UnixFwh.msa</Filename>\r
112 <Filename>Sec/SecMain.msa</Filename>\r
113 </MsaFiles>\r
114 <PackageHeaders>\r
115 <IncludePkgHeader ModuleType="SEC">Include/UnixPeim.h</IncludePkgHeader>\r
116 <IncludePkgHeader ModuleType="PEIM">Include/UnixPeim.h</IncludePkgHeader>\r
117 <IncludePkgHeader ModuleType="DXE_DRIVER">Include/UnixDxe.h</IncludePkgHeader>\r
118 <IncludePkgHeader ModuleType="DXE_RUNTIME_DRIVER">Include/UnixDxe.h</IncludePkgHeader>\r
119 <IncludePkgHeader ModuleType="DXE_SMM_DRIVER">Include/UnixDxe.h</IncludePkgHeader>\r
120 <IncludePkgHeader ModuleType="DXE_SAL_DRIVER">Include/UnixDxe.h</IncludePkgHeader>\r
121 <IncludePkgHeader ModuleType="UEFI_DRIVER">Include/UnixDxe.h</IncludePkgHeader>\r
c9093a06 122 </PackageHeaders>\r
123 <GuidDeclarations>\r
124 <Entry Name="EdkUnixPkgTokenSpace">\r
125 <C_Name>gEfiEdkUnixPkgTokenSpaceGuid</C_Name>\r
126 <GuidValue>f2b6838c-8985-11db-9d1c-0040d02b1835</GuidValue>\r
127 <HelpText>All PCD define in EdkUnixPkg is in this token space scope</HelpText>\r
421954ef 128 </Entry>\r
c9093a06 129 <Entry Name="UnixVirtualDisks">\r
130 <C_Name>gEfiUnixVirtualDisksGuid</C_Name>\r
131 <GuidValue>f2ba331a-8985-11db-a406-0040d02b1835</GuidValue>\r
132 <HelpText/>\r
133 </Entry>\r
134 <Entry Name="UnixPhysicalDisks">\r
135 <C_Name>gEfiUnixPhysicalDisksGuid</C_Name>\r
136 <GuidValue>f2bdcc96-8985-11db-8719-0040d02b1835</GuidValue>\r
137 <HelpText/>\r
138 </Entry>\r
139 <Entry Name="UnixFileSystem">\r
140 <C_Name>gEfiUnixFileSystemGuid</C_Name>\r
141 <GuidValue>f2c16b9e-8985-11db-92c8-0040d02b1835</GuidValue>\r
142 <HelpText/>\r
143 </Entry>\r
144 <Entry Name="UnixUga">\r
145 <C_Name>gEfiUnixUgaGuid</C_Name>\r
146 <GuidValue>f2c8b80e-8985-11db-93f1-0040d02b1835</GuidValue>\r
147 <HelpText/>\r
148 </Entry>\r
149 <Entry Name="UnixConsole">\r
150 <C_Name>gEfiUnixConsoleGuid</C_Name>\r
151 <GuidValue>f2cc5d06-8985-11db-bb19-0040d02b1835</GuidValue>\r
152 <HelpText/>\r
153 </Entry>\r
154 <Entry Name="UnixMemory">\r
155 <C_Name>gEfiUnixMemoryGuid</C_Name>\r
156 <GuidValue>f2d006cc-8985-11db-a472-0040d02b1835</GuidValue>\r
157 <HelpText/>\r
158 </Entry>\r
159 <Entry Name="UnixCPUModel">\r
160 <C_Name>gEfiUnixCPUModelGuid</C_Name>\r
161 <GuidValue>f2d3b330-8985-11db-8aa3-0040d02b1835</GuidValue>\r
162 <HelpText/>\r
163 </Entry>\r
164 <Entry Name="UnixCPUSpeed">\r
165 <C_Name>gEfiUnixCPUSpeedGuid</C_Name>\r
166 <GuidValue>f2d74e5a-8985-11db-9705-0040d02b1835</GuidValue>\r
167 <HelpText/>\r
168 </Entry>\r
169 <Entry Name="PcdHob">\r
170 <C_Name>gPcdHobGuid</C_Name>\r
171 <GuidValue>f2de8f12-8985-11db-aabc-0040d02b1835</GuidValue>\r
172 <HelpText/>\r
173 </Entry>\r
174 </GuidDeclarations>\r
175 <ProtocolDeclarations>\r
176 <Entry Name="UnixIo">\r
177 <C_Name>gEfiUnixIoProtocolGuid</C_Name>\r
178 <GuidValue>f2e23f54-8985-11db-ac79-0040d02b1835</GuidValue>\r
179 <HelpText/>\r
180 </Entry>\r
181 <Entry Name="UnixUgaIo">\r
182 <C_Name>gEfiUnixUgaIoProtocolGuid</C_Name>\r
183 <GuidValue>f2e5e2c6-8985-11db-a191-0040d02b1835</GuidValue>\r
184 <HelpText/>\r
185 </Entry>\r
186 <Entry Name="UnixThunk">\r
187 <C_Name>gEfiUnixThunkProtocolGuid</C_Name>\r
188 <GuidValue>f2e98868-8985-11db-9a59-0040d02b1835</GuidValue>\r
189 <HelpText/>\r
190 </Entry>\r
191 </ProtocolDeclarations>\r
192 <PpiDeclarations>\r
193 <Entry Name="UnixAutoScan">\r
194 <C_Name>gPeiUnixAutoScanPpiGuid</C_Name>\r
195 <GuidValue>f2ed3d14-8985-11db-b057-0040d02b1835</GuidValue>\r
196 <HelpText/>\r
197 </Entry>\r
198 <Entry Name="UnixFwh">\r
199 <C_Name>gUnixFwhPpiGuid</C_Name>\r
200 <GuidValue>f2f0dc30-8985-11db-a15b-0040d02b1835</GuidValue>\r
201 <HelpText/>\r
202 </Entry>\r
203 <Entry Name="UnixPeiLoadFile">\r
204 <C_Name>gUnixPeiLoadFilePpiGuid</C_Name>\r
205 <GuidValue>f2f48768-8985-11db-b8da-0040d02b1835</GuidValue>\r
206 <HelpText/>\r
207 </Entry>\r
208 <Entry Name="UnixThunk">\r
209 <C_Name>gPeiUnixThunkPpiGuid</C_Name>\r
210 <GuidValue>f2f830f2-8985-11db-806b-0040d02b1835</GuidValue>\r
211 <HelpText/>\r
212 </Entry>\r
213 </PpiDeclarations>\r
214 <PcdDeclarations>\r
215 <PcdEntry>\r
216 <C_Name>PcdUnixPhysicalDisk</C_Name>\r
217 <Token>0x00001000</Token>\r
218 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
219 <DatumType>VOID*</DatumType>\r
220 <ValidUsage>DYNAMIC</ValidUsage>\r
221 <DefaultValue>L"E:RW;245760;512"</DefaultValue>\r
222 <HelpText>This PCD defines physical disk which will be simualted as a \r
223 harddisk in simulator. The item type of this PCD can only be "DYNAMIC".</HelpText>\r
224 </PcdEntry>\r
225 <PcdEntry>\r
226 <C_Name>PcdUnixVirtualDisk</C_Name>\r
227 <Token>0x00001001</Token>\r
228 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
229 <DatumType>VOID*</DatumType>\r
230 <ValidUsage>DYNAMIC</ValidUsage>\r
231 <DefaultValue>L"FW;40960;512"</DefaultValue>\r
232 <HelpText>This PCD defines the devices which use a file to emulate a hard disk or \r
233 removable media device.The item type of this PCD can only be "DYNAMIC".</HelpText>\r
234 </PcdEntry>\r
235 <PcdEntry>\r
236 <C_Name>PcdUnixUga</C_Name>\r
237 <Token>0x00001003</Token>\r
238 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
239 <DatumType>VOID*</DatumType>\r
240 <ValidUsage>DYNAMIC</ValidUsage>\r
241 <DefaultValue>L"UGA Window"</DefaultValue>\r
242 <HelpText>This PCD declares the resolutions for the UGA windows.\r
243 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
244 </PcdEntry>\r
245 <PcdEntry>\r
246 <C_Name>PcdUnixFileSystem</C_Name>\r
247 <Token>0x00001004</Token>\r
248 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
249 <DatumType>VOID*</DatumType>\r
250 <ValidUsage>DYNAMIC</ValidUsage>\r
251 <DefaultValue>L".!..\\..\\..\\..\\..\\EdkShellBinPkg\\bin\\ia32\\Apps"</DefaultValue>\r
377fc2ae 252 <HelpText>This PCD defines the host directory who will be mounted as \r
c9093a06 253 harddisk in simulator.\r
254 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
255 </PcdEntry>\r
256 <PcdEntry>\r
257 <C_Name>PcdUnixMemorySize</C_Name>\r
258 <Token>0x00001005</Token>\r
259 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
260 <DatumType>VOID*</DatumType>\r
261 <ValidUsage>DYNAMIC</ValidUsage>\r
262 <DefaultValue>L"64!64"</DefaultValue>\r
263 <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate\r
377fc2ae 264 the size of PcdUnixMemorySize in host platform.\r
c9093a06 265 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
266 </PcdEntry>\r
267 <PcdEntry>\r
268 <C_Name>PcdUnixBootMode</C_Name>\r
269 <Token>0x00001006</Token>\r
270 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
271 <DatumType>UINT32</DatumType>\r
272 <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE</ValidUsage>\r
273 <DefaultValue>1</DefaultValue>\r
274 <HelpText>This PCD defines the boot mode for simualtor. \r
275 The boot mode can be set as following value:\r
276 0x0: Boot with full configuration.\r
277 0x1: Boot with minimal configuration.\r
278 0x2: Boot assume no configuration changes.\r
279 0x3: Boot with full configuration plus diagnostics.\r
280 0x4: Boot with default settings.\r
281 0x5: Boot on S4 resume.\r
282 0x6: Boot on S5 resume.\r
283 0x10: Boot on S2 resume. \r
284 0x11: Boot on S3 resume.\r
285 0x12: Boot on flash update.\r
286 0x20: Boot in reovery mode.</HelpText>\r
287 </PcdEntry>\r
288 <PcdEntry>\r
289 <C_Name>PcdUnixCpuModel</C_Name>\r
290 <Token>0x00001007</Token>\r
291 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
292 <DatumType>VOID*</DatumType>\r
293 <ValidUsage>DYNAMIC</ValidUsage>\r
294 <DefaultValue>L"Intel(R) Processor Model"</DefaultValue>\r
295 <HelpText>This PCD defines simulated CPU model string.\r
296 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
297 </PcdEntry>\r
298 <PcdEntry>\r
299 <C_Name>PcdUnixCpuSpeed</C_Name>\r
300 <Token>0x00001008</Token>\r
301 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
302 <DatumType>VOID*</DatumType>\r
303 <ValidUsage>DYNAMIC</ValidUsage>\r
304 <DefaultValue>L"3000"</DefaultValue>\r
305 <HelpText>This PCD defines simulated CPU speed string.\r
306 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
307 </PcdEntry>\r
308 <PcdEntry>\r
309 <C_Name>PcdUnixFirmwareVolume</C_Name>\r
310 <Token>0x00001009</Token>\r
311 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
312 <DatumType>VOID*</DatumType>\r
313 <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE</ValidUsage>\r
314 <DefaultValue>L"..\\Fv\\Fv_Recovery.fd"</DefaultValue>\r
377fc2ae 315 <HelpText>This PCD defines the FD file path string. Simulator will load the FD file and execute.</HelpText>\r
c9093a06 316 </PcdEntry>\r
317 <PcdEntry>\r
318 <C_Name>PcdUnixConsole</C_Name>\r
319 <Token>0x0000100a</Token>\r
320 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
321 <DatumType>VOID*</DatumType>\r
322 <ValidUsage>DYNAMIC</ValidUsage>\r
323 <DefaultValue>L"Bus Driver Console Window"</DefaultValue>\r
324 <HelpText>This PCD declares the title string of the text console window. \r
325 such as "My EFI Console".\r
326 The item type of this PCD can only be "DYNAMIC".</HelpText>\r
327 </PcdEntry>\r
328 <PcdEntry>\r
329 <C_Name>PcdUnixStatusCodeLibUseForPei</C_Name>\r
330 <Token>0x0000100b</Token>\r
331 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
332 <DatumType>BOOLEAN</DatumType>\r
333 <ValidUsage>FEATURE_FLAG</ValidUsage>\r
334 <DefaultValue>FALSE</DefaultValue>\r
335 <HelpText>Select which type of driver the library links against.</HelpText>\r
336 </PcdEntry>\r
337 <PcdEntry>\r
338 <C_Name>PcdUnixMemorySizeForSecMain</C_Name>\r
339 <Token>0x0000100c</Token>\r
340 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
341 <DatumType>VOID*</DatumType>\r
342 <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE</ValidUsage>\r
343 <DefaultValue>L"64!64"</DefaultValue>\r
344 <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate\r
377fc2ae 345 the size of PcdUnixMemorySizeForSecMain in host platform.</HelpText>\r
c9093a06 346 </PcdEntry>\r
347 </PcdDeclarations>\r
348</PackageSurfaceArea>