]> git.proxmox.com Git - mirror_edk2.git/blob - EdkNt32Pkg/EdkNt32Pkg.spd
Added Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.
[mirror_edk2.git] / EdkNt32Pkg / EdkNt32Pkg.spd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 -->
12 <PackageSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
13 <SpdHeader>
14 <PackageName>EdkNt32Pkg</PackageName>
15 <GuidValue>0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3</GuidValue>
16 <Version>0.3</Version>
17 <Abstract>This is the NT32 Emulation Environment Platform</Abstract>
18 <Description>Reference platform implementation using an emulator.</Description>
19 <Copyright>Copyright (c) 2006, Intel Corporation.</Copyright>
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>
26 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
27 </SpdHeader>
28 <PackageDefinitions>
29 <ReadOnly>true</ReadOnly>
30 <RePackage>false</RePackage>
31 </PackageDefinitions>
32 <LibraryClassDeclarations>
33 <LibraryClass Name="EdkGenericBdsLib">
34 <IncludeHeader>Include/Library/EdkGenericBdsLib.h</IncludeHeader>
35 <HelpText/>
36 </LibraryClass>
37 <LibraryClass Name="WinNtLib">
38 <IncludeHeader>Include/Library/WinNtLib.h</IncludeHeader>
39 <HelpText/>
40 </LibraryClass>
41 </LibraryClassDeclarations>
42 <IndustryStdIncludes>
43 <IndustryStdHeader Name="WinNTInclude">
44 <IncludeHeader>Include/Common/WinNTInclude.h</IncludeHeader>
45 <HelpText/>
46 </IndustryStdHeader>
47 <IndustryStdHeader Name="EdkGenericBdsLib">
48 <IncludeHeader>Include/Library/EdkGenericBdsLib.h</IncludeHeader>
49 <HelpText/>
50 </IndustryStdHeader>
51 <IndustryStdHeader Name="WinNtLib">
52 <IncludeHeader>Include/Library/WinNtLib.h</IncludeHeader>
53 <HelpText/>
54 </IndustryStdHeader>
55 <IndustryStdHeader Name="NtAutoscan">
56 <IncludeHeader>Include/Ppi/NtAutoscan.h</IncludeHeader>
57 <HelpText/>
58 </IndustryStdHeader>
59 <IndustryStdHeader Name="NtFwh">
60 <IncludeHeader>Include/Ppi/NtFwh.h</IncludeHeader>
61 <HelpText/>
62 </IndustryStdHeader>
63 <IndustryStdHeader Name="NtPeiLoadFile">
64 <IncludeHeader>Include/Ppi/NtPeiLoadFile.h</IncludeHeader>
65 <HelpText/>
66 </IndustryStdHeader>
67 <IndustryStdHeader Name="NtThunk">
68 <IncludeHeader>Include/Ppi/NtThunk.h</IncludeHeader>
69 <HelpText/>
70 </IndustryStdHeader>
71 <IndustryStdHeader Name="WinNtIo">
72 <IncludeHeader>Include/Protocol/WinNtIo.h</IncludeHeader>
73 <HelpText/>
74 </IndustryStdHeader>
75 <IndustryStdHeader Name="WinNtThunk">
76 <IncludeHeader>Include/Protocol/WinNtThunk.h</IncludeHeader>
77 <HelpText/>
78 </IndustryStdHeader>
79 <IndustryStdHeader Name="FlashLayout">
80 <IncludeHeader>Include/FlashLayout.h</IncludeHeader>
81 <HelpText/>
82 </IndustryStdHeader>
83 <IndustryStdHeader Name="WinNtDxe">
84 <IncludeHeader>Include/WinNtDxe.h</IncludeHeader>
85 <HelpText/>
86 </IndustryStdHeader>
87 <IndustryStdHeader Name="WinNtPeim">
88 <IncludeHeader>Include/WinNtPeim.h</IncludeHeader>
89 <HelpText/>
90 </IndustryStdHeader>
91 </IndustryStdIncludes>
92 <MsaFiles>
93 <Filename>Dxe/Nt32Platform/MiscSubclass/MiscSubclassDriver.msa</Filename>
94 <Filename>Dxe/PlatformBds/PlatformBds.msa</Filename>
95 <Filename>Dxe/WinNtThunk/Bus/BlockIo/WinNtBlockIo.msa</Filename>
96 <Filename>Dxe/WinNtThunk/Bus/Console/WinNtConsole.msa</Filename>
97 <Filename>Dxe/WinNtThunk/Bus/SerialIo/WinNtSerialIo.msa</Filename>
98 <Filename>Dxe/WinNtThunk/Bus/SimpleFileSystem/WinNtSimpleFileSystem.msa</Filename>
99 <Filename>Dxe/WinNtThunk/Bus/Uga/WinNtUga.msa</Filename>
100 <Filename>Dxe/WinNtThunk/Bus/Gop/WinNtGop.msa</Filename>
101 <Filename>Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.msa</Filename>
102 <Filename>Dxe/WinNtThunk/Chipset/Metronome/Metronome.msa</Filename>
103 <Filename>Dxe/WinNtThunk/Chipset/RealTimeClock/RealTimeClock.msa</Filename>
104 <Filename>Dxe/WinNtThunk/Chipset/Reset/Reset.msa</Filename>
105 <Filename>Dxe/WinNtThunk/Chipset/Timer/Timer.msa</Filename>
106 <Filename>Dxe/WinNtThunk/Cpu/Cpu.msa</Filename>
107 <Filename>Dxe/WinNtThunk/WinNtThunk/WinNtThunk.msa</Filename>
108 <Filename>Library/DxeWinNtLib/DxeWinNtLib.msa</Filename>
109 <Filename>Library/EdkGenericBdsLib/EdkGenericBdsLib.msa</Filename>
110 <Filename>Library/EdkNt32PeiPeCoffGetEntryPointLib/EdkNt32PeiPeCoffGetEntryPointLib.msa</Filename>
111 <Filename>Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoaderLib.msa</Filename>
112 <Filename>Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.msa</Filename>
113 <Filename>Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.msa</Filename>
114 <Filename>Logo/Logo.msa</Filename>
115 <Filename>Pei/Autoscan/WinNtAutoScan.msa</Filename>
116 <Filename>Pei/BootMode/BootMode.msa</Filename>
117 <Filename>Pei/FirmwareVolume/WinNtFwh.msa</Filename>
118 <Filename>Pei/FlashMap/FlashMap.msa</Filename>
119 <Filename>Pei/WinNtStuff/WinNtStuff.msa</Filename>
120 <Filename>RuntimeDxe/FvbServices/Nt32Fwh.msa</Filename>
121 <Filename>Sec/SecMain.msa</Filename>
122 </MsaFiles>
123 <PackageHeaders>
124 <IncludePkgHeader ModuleType="SEC">Include/WinNtPeim.h</IncludePkgHeader>
125 <IncludePkgHeader ModuleType="PEIM">Include/WinNtPeim.h</IncludePkgHeader>
126 <IncludePkgHeader ModuleType="DXE_DRIVER">Include/WinNtDxe.h</IncludePkgHeader>
127 <IncludePkgHeader ModuleType="DXE_RUNTIME_DRIVER">Include/WinNtDxe.h</IncludePkgHeader>
128 <IncludePkgHeader ModuleType="DXE_SMM_DRIVER">Include/WinNtDxe.h</IncludePkgHeader>
129 <IncludePkgHeader ModuleType="DXE_SAL_DRIVER">Include/WinNtDxe.h</IncludePkgHeader>
130 <IncludePkgHeader ModuleType="UEFI_DRIVER">Include/WinNtDxe.h</IncludePkgHeader>
131 </PackageHeaders>
132 <GuidDeclarations>
133 <Entry Name="EdkNt32PkgTokenSpace">
134 <C_Name>gEfiEdkNt32PkgTokenSpaceGuid</C_Name>
135 <GuidValue>0D79A645-1D91-40a6-A81F-61E6982B32B4</GuidValue>
136 <HelpText>All PCD define in EdkNt32Pkg is in this token space scope</HelpText>
137 </Entry>
138 <Entry Name="WinNtVirtualDisks">
139 <C_Name>gEfiWinNtVirtualDisksGuid</C_Name>
140 <GuidValue>0C95A928-A006-11D4-BCFA-0080C73C8881</GuidValue>
141 <HelpText/>
142 </Entry>
143 <Entry Name="WinNtPhysicalDisks">
144 <C_Name>gEfiWinNtPhysicalDisksGuid</C_Name>
145 <GuidValue>0C95A92F-A006-11D4-BCFA-0080C73C8881</GuidValue>
146 <HelpText/>
147 </Entry>
148 <Entry Name="WinNtFileSystem">
149 <C_Name>gEfiWinNtFileSystemGuid</C_Name>
150 <GuidValue>0C95A935-A006-11D4-BCFA-0080C73C8881</GuidValue>
151 <HelpText/>
152 </Entry>
153 <Entry Name="WinNtSerialPort">
154 <C_Name>gEfiWinNtSerialPortGuid</C_Name>
155 <GuidValue>0C95A93D-A006-11D4-BCFA-0080C73C8881</GuidValue>
156 <HelpText/>
157 </Entry>
158 <Entry Name="WinNtGop">
159 <C_Name>gEfiWinNtGopGuid</C_Name>
160 <GuidValue>4e11e955-ccca-11d4-bd0d-0080c73c8881</GuidValue>
161 <HelpText/>
162 </Entry>
163 <Entry Name="WinNtUga">
164 <C_Name>gEfiWinNtUgaGuid</C_Name>
165 <GuidValue>AB248E99-ABE1-11D4-BD0D-0080C73C8881</GuidValue>
166 <HelpText/>
167 </Entry>
168 <Entry Name="WinNtConsole">
169 <C_Name>gEfiWinNtConsoleGuid</C_Name>
170 <GuidValue>BA73672C-A5D3-11D4-BD00-0080C73C8881</GuidValue>
171 <HelpText/>
172 </Entry>
173 <Entry Name="WinNtMemory">
174 <C_Name>gEfiWinNtMemoryGuid</C_Name>
175 <GuidValue>99042912-122A-11D4-BD0D-0080C73C8881</GuidValue>
176 <HelpText/>
177 </Entry>
178 <Entry Name="WinNtCPUModel">
179 <C_Name>gEfiWinNtCPUModelGuid</C_Name>
180 <GuidValue>BEE9B6CE-2F8A-11D4-BD0D-0080C73C8881</GuidValue>
181 <HelpText/>
182 </Entry>
183 <Entry Name="WinNtCPUSpeed">
184 <C_Name>gEfiWinNtCPUSpeedGuid</C_Name>
185 <GuidValue>D4F29055-E1FB-11D4-BD0D-0080C73C8881</GuidValue>
186 <HelpText/>
187 </Entry>
188 <Entry Name="WinNPassThrough">
189 <C_Name>gEfiWinNtPassThroughGuid</C_Name>
190 <GuidValue>CC664EB8-3C24-4086-B6F6-34E856BCE36E</GuidValue>
191 <HelpText/>
192 </Entry>
193 <Entry Name="PcdHob">
194 <C_Name>gPcdHobGuid</C_Name>
195 <GuidValue>582E7CA1-68CD-4D44-B43B-F298ED587BA6</GuidValue>
196 <HelpText/>
197 </Entry>
198 </GuidDeclarations>
199 <ProtocolDeclarations>
200 <Entry Name="WinNtIo">
201 <C_Name>gEfiWinNtIoProtocolGuid</C_Name>
202 <GuidValue>96EB4AD6-A32A-11D4-BCFD-0080C73C8881</GuidValue>
203 <HelpText/>
204 </Entry>
205 <Entry Name="WinNtThunk">
206 <C_Name>gEfiWinNtThunkProtocolGuid</C_Name>
207 <GuidValue>58C518B1-76F3-11D4-BCEA-0080C73C8881</GuidValue>
208 <HelpText/>
209 </Entry>
210 </ProtocolDeclarations>
211 <PpiDeclarations>
212 <Entry Name="NtAutoScan">
213 <C_Name>gPeiNtAutoScanPpiGuid</C_Name>
214 <GuidValue>0DCE384D-007C-4BA5-94BD-0F6EB64D2AA9</GuidValue>
215 <HelpText/>
216 </Entry>
217 <Entry Name="NtFwh">
218 <C_Name>gNtFwhPpiGuid</C_Name>
219 <GuidValue>4E76928F-50AD-4334-B06B-A84213108A57</GuidValue>
220 <HelpText/>
221 </Entry>
222 <Entry Name="NtPeiLoadFile">
223 <C_Name>gNtPeiLoadFilePpiGuid</C_Name>
224 <GuidValue>FD0C65EB-0405-4CD2-8AEE-F400EF13BAC2</GuidValue>
225 <HelpText/>
226 </Entry>
227 <Entry Name="NtThunk">
228 <C_Name>gPeiNtThunkPpiGuid</C_Name>
229 <GuidValue>98C281E5-F906-43DD-A92B-B003BF2765DA</GuidValue>
230 <HelpText/>
231 </Entry>
232 </PpiDeclarations>
233 <PcdDeclarations>
234 <PcdEntry>
235 <C_Name>PcdWinNtPhysicalDisk</C_Name>
236 <Token>0x00001000</Token>
237 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
238 <DatumType>VOID*</DatumType>
239 <ValidUsage>DYNAMIC</ValidUsage>
240 <DefaultValue>L"E:RW;245760;512"</DefaultValue>
241 <HelpText>This PCD defines physical disk which will be simualted as a
242 harddisk in simulator. The item type of this PCD can only be "DYNAMIC".</HelpText>
243 </PcdEntry>
244 <PcdEntry>
245 <C_Name>PcdWinNtVirtualDisk</C_Name>
246 <Token>0x00001001</Token>
247 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
248 <DatumType>VOID*</DatumType>
249 <ValidUsage>DYNAMIC</ValidUsage>
250 <DefaultValue>L"FW;40960;512"</DefaultValue>
251 <HelpText>This PCD defines the devices which use a file to emulate a hard disk or
252 removable media device.The item type of this PCD can only be "DYNAMIC".</HelpText>
253 </PcdEntry>
254 <PcdEntry>
255 <C_Name>PcdWinNtSerialPort</C_Name>
256 <Token>0x00001002</Token>
257 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
258 <DatumType>VOID*</DatumType>
259 <ValidUsage>DYNAMIC</ValidUsage>
260 <DefaultValue>L"COM1!COM2"</DefaultValue>
261 <HelpText>This Pcd declares two serial port for simulated environment.
262 The item type of this PCD can only be "DYNAMIC".</HelpText>
263 </PcdEntry>
264 <PcdEntry>
265 <C_Name>PcdWinNtUga</C_Name>
266 <Token>0x00001003</Token>
267 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
268 <DatumType>VOID*</DatumType>
269 <ValidUsage>DYNAMIC</ValidUsage>
270 <DefaultValue>L"UGA Window 1!UGA Window 2"</DefaultValue>
271 <HelpText>This PCD declares the resolutions for the UGA windows.
272 The item type of this PCD can only be "DYNAMIC".</HelpText>
273 </PcdEntry>
274 <PcdEntry>
275 <C_Name>PcdWinNtFileSystem</C_Name>
276 <Token>0x00001004</Token>
277 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
278 <DatumType>VOID*</DatumType>
279 <ValidUsage>DYNAMIC</ValidUsage>
280 <DefaultValue>L".!..\\..\\..\\..\\..\\EdkShellBinPkg\\bin\\ia32\\Apps"</DefaultValue>
281 <HelpText>This PCD defines the windows directory who will be mounted as
282 harddisk in simulator.
283 The item type of this PCD can only be "DYNAMIC".</HelpText>
284 </PcdEntry>
285 <PcdEntry>
286 <C_Name>PcdWinNtMemorySize</C_Name>
287 <Token>0x00001005</Token>
288 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
289 <DatumType>VOID*</DatumType>
290 <ValidUsage>DYNAMIC</ValidUsage>
291 <DefaultValue>L"64!64"</DefaultValue>
292 <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate
293 the size of PcdWinNtMemorySize in windows platform.
294 The item type of this PCD can only be "DYNAMIC".</HelpText>
295 </PcdEntry>
296 <PcdEntry>
297 <C_Name>PcdWinNtBootMode</C_Name>
298 <Token>0x00001006</Token>
299 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
300 <DatumType>UINT32</DatumType>
301 <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE</ValidUsage>
302 <DefaultValue>1</DefaultValue>
303 <HelpText>This PCD defines the boot mode for simualtor.
304 The boot mode can be set as following value:
305 0x0: Boot with full configuration.
306 0x1: Boot with minimal configuration.
307 0x2: Boot assume no configuration changes.
308 0x3: Boot with full configuration plus diagnostics.
309 0x4: Boot with default settings.
310 0x5: Boot on S4 resume.
311 0x6: Boot on S5 resume.
312 0x10: Boot on S2 resume.
313 0x11: Boot on S3 resume.
314 0x12: Boot on flash update.
315 0x20: Boot in reovery mode.</HelpText>
316 </PcdEntry>
317 <PcdEntry>
318 <C_Name>PcdWinNtCpuModel</C_Name>
319 <Token>0x00001007</Token>
320 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
321 <DatumType>VOID*</DatumType>
322 <ValidUsage>DYNAMIC</ValidUsage>
323 <DefaultValue>L"Intel(R) Processor Model"</DefaultValue>
324 <HelpText>This PCD defines simulated CPU model string.
325 The item type of this PCD can only be "DYNAMIC".</HelpText>
326 </PcdEntry>
327 <PcdEntry>
328 <C_Name>PcdWinNtCpuSpeed</C_Name>
329 <Token>0x00001008</Token>
330 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
331 <DatumType>VOID*</DatumType>
332 <ValidUsage>DYNAMIC</ValidUsage>
333 <DefaultValue>L"3000"</DefaultValue>
334 <HelpText>This PCD defines simulated CPU speed string.
335 The item type of this PCD can only be "DYNAMIC".</HelpText>
336 </PcdEntry>
337 <PcdEntry>
338 <C_Name>PcdWinNtFirmwareVolume</C_Name>
339 <Token>0x00001009</Token>
340 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
341 <DatumType>VOID*</DatumType>
342 <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE</ValidUsage>
343 <DefaultValue>L"..\\Fv\\Fv_Recovery.fd"</DefaultValue>
344 <HelpText>This PCD defines the FD file windows path string. Simulator will load the FD file and execute.</HelpText>
345 </PcdEntry>
346 <PcdEntry>
347 <C_Name>PcdWinNtConsole</C_Name>
348 <Token>0x0000100a</Token>
349 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
350 <DatumType>VOID*</DatumType>
351 <ValidUsage>DYNAMIC</ValidUsage>
352 <DefaultValue>L"Bus Driver Console Window"</DefaultValue>
353 <HelpText>This PCD declares the title string of the text console window.
354 such as "My EFI Console".
355 The item type of this PCD can only be "DYNAMIC".</HelpText>
356 </PcdEntry>
357 <PcdEntry>
358 <C_Name>PcdWinNtMemorySizeForSecMain</C_Name>
359 <Token>0x0000100c</Token>
360 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
361 <DatumType>VOID*</DatumType>
362 <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE</ValidUsage>
363 <DefaultValue>L"64!64"</DefaultValue>
364 <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate
365 the size of PcdWinNtMemorySizeForSecMain in windows platform.</HelpText>
366 </PcdEntry>
367 <PcdEntry>
368 <C_Name>PcdWinNtGop</C_Name>
369 <Token>0x0000100d</Token>
370 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
371 <DatumType>VOID*</DatumType>
372 <ValidUsage>DYNAMIC</ValidUsage>
373 <DefaultValue>L"UGA Window 1!UGA Window 2"</DefaultValue>
374 <HelpText>This PCD declares the resolutions for the GOP windows.
375 The item type of this PCD can only be "DYNAMIC".</HelpText>
376 </PcdEntry>
377 </PcdDeclarations>
378 </PackageSurfaceArea>