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