Fix the wrong datum size for PcdWinNtPhysicalDisk in Nt32.fpd file.
[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/ConPlatform/ConPlatform.msa</Filename>
94 <Filename>Dxe/Nt32Platform/MiscSubclass/MiscSubclassDriver.msa</Filename>
95 <Filename>Dxe/PlatformBds/PlatformBds.msa</Filename>
96 <Filename>Dxe/WinNtThunk/Bus/BlockIo/WinNtBlockIo.msa</Filename>
97 <Filename>Dxe/WinNtThunk/Bus/Console/WinNtConsole.msa</Filename>
98 <Filename>Dxe/WinNtThunk/Bus/SerialIo/WinNtSerialIo.msa</Filename>
99 <Filename>Dxe/WinNtThunk/Bus/SimpleFileSystem/WinNtSimpleFileSystem.msa</Filename>
100 <Filename>Dxe/WinNtThunk/Bus/Uga/WinNtUga.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/Nt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.msa</Filename>
113 <Filename>Logo/Logo.msa</Filename>
114 <Filename>Pei/Autoscan/WinNtAutoScan.msa</Filename>
115 <Filename>Pei/BootMode/BootMode.msa</Filename>
116 <Filename>Pei/FirmwareVolume/WinNtFwh.msa</Filename>
117 <Filename>Pei/FlashMap/FlashMap.msa</Filename>
118 <Filename>Pei/WinNtStuff/WinNtStuff.msa</Filename>
119 <Filename>RuntimeDxe/FvbServices/Nt32Fwh.msa</Filename>
120 <Filename>Sec/SecMain.msa</Filename>
121 </MsaFiles>
122 <PackageHeaders>
123 <IncludePkgHeader ModuleType="SEC">Include/WinNtPeim.h</IncludePkgHeader>
124 <IncludePkgHeader ModuleType="PEIM">Include/WinNtPeim.h</IncludePkgHeader>
125 <IncludePkgHeader ModuleType="DXE_DRIVER">Include/WinNtDxe.h</IncludePkgHeader>
126 <IncludePkgHeader ModuleType="DXE_RUNTIME_DRIVER">Include/WinNtDxe.h</IncludePkgHeader>
127 <IncludePkgHeader ModuleType="DXE_SMM_DRIVER">Include/WinNtDxe.h</IncludePkgHeader>
128 <IncludePkgHeader ModuleType="DXE_SAL_DRIVER">Include/WinNtDxe.h</IncludePkgHeader>
129 <IncludePkgHeader ModuleType="UEFI_DRIVER">Include/WinNtDxe.h</IncludePkgHeader>
130 <IncludePkgHeader ModuleType="USER_DEFINED">Include/WinNtPeim.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="WinNtUga">
159 <C_Name>gEfiWinNtUgaGuid</C_Name>
160 <GuidValue>AB248E99-ABE1-11D4-BD0D-0080C73C8881</GuidValue>
161 <HelpText/>
162 </Entry>
163 <Entry Name="WinNtConsole">
164 <C_Name>gEfiWinNtConsoleGuid</C_Name>
165 <GuidValue>BA73672C-A5D3-11D4-BD00-0080C73C8881</GuidValue>
166 <HelpText/>
167 </Entry>
168 <Entry Name="WinNtMemory">
169 <C_Name>gEfiWinNtMemoryGuid</C_Name>
170 <GuidValue>99042912-122A-11D4-BD0D-0080C73C8881</GuidValue>
171 <HelpText/>
172 </Entry>
173 <Entry Name="WinNtCPUModel">
174 <C_Name>gEfiWinNtCPUModelGuid</C_Name>
175 <GuidValue>BEE9B6CE-2F8A-11D4-BD0D-0080C73C8881</GuidValue>
176 <HelpText/>
177 </Entry>
178 <Entry Name="WinNtCPUSpeed">
179 <C_Name>gEfiWinNtCPUSpeedGuid</C_Name>
180 <GuidValue>D4F29055-E1FB-11D4-BD0D-0080C73C8881</GuidValue>
181 <HelpText/>
182 </Entry>
183 <Entry Name="WinNPassThrough">
184 <C_Name>gEfiWinNtPassThroughGuid</C_Name>
185 <GuidValue>CC664EB8-3C24-4086-B6F6-34E856BCE36E</GuidValue>
186 <HelpText/>
187 </Entry>
188 <Entry Name="PcdHob">
189 <C_Name>gPcdHobGuid</C_Name>
190 <GuidValue>582E7CA1-68CD-4D44-B43B-F298ED587BA6</GuidValue>
191 <HelpText/>
192 </Entry>
193 </GuidDeclarations>
194 <ProtocolDeclarations>
195 <Entry Name="WinNtIo">
196 <C_Name>gEfiWinNtIoProtocolGuid</C_Name>
197 <GuidValue>96EB4AD6-A32A-11D4-BCFD-0080C73C8881</GuidValue>
198 <HelpText/>
199 </Entry>
200 <Entry Name="WinNtThunk">
201 <C_Name>gEfiWinNtThunkProtocolGuid</C_Name>
202 <GuidValue>58C518B1-76F3-11D4-BCEA-0080C73C8881</GuidValue>
203 <HelpText/>
204 </Entry>
205 </ProtocolDeclarations>
206 <PpiDeclarations>
207 <Entry Name="NtAutoScan">
208 <C_Name>gPeiNtAutoScanPpiGuid</C_Name>
209 <GuidValue>0DCE384D-007C-4BA5-94BD-0F6EB64D2AA9</GuidValue>
210 <HelpText/>
211 </Entry>
212 <Entry Name="NtFwh">
213 <C_Name>gNtFwhPpiGuid</C_Name>
214 <GuidValue>4E76928F-50AD-4334-B06B-A84213108A57</GuidValue>
215 <HelpText/>
216 </Entry>
217 <Entry Name="NtPeiLoadFile">
218 <C_Name>gNtPeiLoadFilePpiGuid</C_Name>
219 <GuidValue>FD0C65EB-0405-4CD2-8AEE-F400EF13BAC2</GuidValue>
220 <HelpText/>
221 </Entry>
222 <Entry Name="NtThunk">
223 <C_Name>gPeiNtThunkPpiGuid</C_Name>
224 <GuidValue>98C281E5-F906-43DD-A92B-B003BF2765DA</GuidValue>
225 <HelpText/>
226 </Entry>
227 </PpiDeclarations>
228 <PcdDeclarations>
229 <PcdEntry>
230 <C_Name>PcdWinNtPhysicalDisk</C_Name>
231 <Token>0x00001000</Token>
232 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
233 <DatumType>VOID*</DatumType>
234 <ValidUsage>DYNAMIC</ValidUsage>
235 <DefaultValue>L"E:RW;245760;512"</DefaultValue>
236 <HelpText>This PCD defines physical disk which will be simualted as a
237 harddisk in simulator.
238 The item type of this PCD can only be "DYNAMIC".</HelpText>
239 </PcdEntry>
240 <PcdEntry>
241 <C_Name>PcdWinNtVirtualDisk</C_Name>
242 <Token>0x00001001</Token>
243 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
244 <DatumType>VOID*</DatumType>
245 <ValidUsage>DYNAMIC</ValidUsage>
246 <DefaultValue>L"FW;40960;512"</DefaultValue>
247 <HelpText>This PCD defines the devices which use a file to emulate a hard disk or
248 removable media device
249 The item type if this PCD can only be "DYNAMIC".</HelpText>
250 </PcdEntry>
251 <PcdEntry>
252 <C_Name>PcdWinNtSerialPort</C_Name>
253 <Token>0x00001002</Token>
254 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
255 <DatumType>VOID*</DatumType>
256 <ValidUsage>DYNAMIC</ValidUsage>
257 <DefaultValue>L"COM1!COM2"</DefaultValue>
258 <HelpText>This Pcd declares two serial port for simulated environment.
259 The item type of this PCD can only be "DYNAMIC".</HelpText>
260 </PcdEntry>
261 <PcdEntry>
262 <C_Name>PcdWinNtUga</C_Name>
263 <Token>0x00001003</Token>
264 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
265 <DatumType>VOID*</DatumType>
266 <ValidUsage>DYNAMIC</ValidUsage>
267 <DefaultValue>L"UGA Window 1!UGA Window 2"</DefaultValue>
268 <HelpText>This PCD declares the resolutions for the UGA windows.
269 The item type of this PCD can only be "DYNAMIC".</HelpText>
270 </PcdEntry>
271 <PcdEntry>
272 <C_Name>PcdWinNtFileSystem</C_Name>
273 <Token>0x00001004</Token>
274 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
275 <DatumType>VOID*</DatumType>
276 <ValidUsage>FIXED_AT_BUILD</ValidUsage>
277 <DefaultValue>L".!..\\..\\..\\..\\..\\EdkShellBinPkg\\bin\\ia32\\Apps"</DefaultValue>
278 <HelpText>This PCD defines the windows directory who will be mounted as
279 harddisk in simulator.
280 The item type of this PCD can only be "DYNAMIC".</HelpText>
281 </PcdEntry>
282 <PcdEntry>
283 <C_Name>PcdWinNtMemorySize</C_Name>
284 <Token>0x00001005</Token>
285 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
286 <DatumType>VOID*</DatumType>
287 <ValidUsage>FIXED_AT_BUILD</ValidUsage>
288 <DefaultValue>L"64!64"</DefaultValue>
289 <HelpText>This PCD defines the size of simulated memory size.
290 The item type of this PCD can only be "DYNAMIC".</HelpText>
291 </PcdEntry>
292 <PcdEntry>
293 <C_Name>PcdWinNtMemorySizeForSecMain</C_Name>
294 <Token>0x00001005</Token>
295 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
296 <DatumType>VOID*</DatumType>
297 <ValidUsage>FIXED_AT_BUILD</ValidUsage>
298 <DefaultValue>L"64!64"</DefaultValue>
299 <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate
300 the size of PcdWinNtMemorySizeForSecMain in windows platform.
301 The item type of this PCD can only be "FIXED_AT_BUILD".</HelpText>
302 </PcdEntry>
303 <PcdEntry>
304 <C_Name>PcdWinNtBootMode</C_Name>
305 <Token>0x00001006</Token>
306 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
307 <DatumType>UINT32</DatumType>
308 <ValidUsage>FIXED_AT_BUILD</ValidUsage>
309 <DefaultValue>1</DefaultValue>
310 <HelpText>This PCD defines the boot mode for simualtor.
311 The boot mode can be set as following value:
312 0x0: Boot with full configuration.
313 0x1: Boot with minimal configuration.
314 0x2: Boot assume no configuration changes.
315 0x3: Boot with full configuration plus diagnostics.
316 0x4: Boot with default settings.
317 0x5: Boot on S4 resume.
318 0x6: Boot on S5 resume.
319 0x10: Boot on S2 resume.
320 0x11: Boot on S3 resume.
321 0x12: Boot on flash update.
322 0x20: Boot in reovery mode.
323 The item type of this PCD can only be "FIXED_AT_BUILD".</HelpText>
324 </PcdEntry>
325 <PcdEntry>
326 <C_Name>PcdWinNtCpuModel</C_Name>
327 <Token>0x00001007</Token>
328 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
329 <DatumType>VOID*</DatumType>
330 <ValidUsage>FIXED_AT_BUILD</ValidUsage>
331 <DefaultValue>L"Intel(R) Processor Model"</DefaultValue>
332 <HelpText>This PCD defines simulated CPU model string.
333 The item type of this PCD can only be "DYNAMIC".</HelpText>
334 </PcdEntry>
335 <PcdEntry>
336 <C_Name>PcdWinNtCpuSpeed</C_Name>
337 <Token>0x00001008</Token>
338 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
339 <DatumType>VOID*</DatumType>
340 <ValidUsage>FIXED_AT_BUILD</ValidUsage>
341 <DefaultValue>L"3000"</DefaultValue>
342 <HelpText>This PCD defines simulated CPU speed string.</HelpText>
343 </PcdEntry>
344 <PcdEntry>
345 <C_Name>PcdWinNtFirmwareVolume</C_Name>
346 <Token>0x00001009</Token>
347 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
348 <DatumType>VOID*</DatumType>
349 <ValidUsage>FIXED_AT_BUILD</ValidUsage>
350 <DefaultValue>L"..\\..\\Fv\\Fv_Recovery.fd"</DefaultValue>
351 <HelpText>This PCD defines the FD file windows path string. Simulator will load the FD file and execute.
352 The item type of this PCD can only be "FIXED_AT_BUILD".</HelpText>
353 </PcdEntry>
354 <PcdEntry>
355 <C_Name>PcdWinNtConsole</C_Name>
356 <Token>0x0000100a</Token>
357 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
358 <DatumType>VOID*</DatumType>
359 <ValidUsage>FIXED_AT_BUILD</ValidUsage>
360 <DefaultValue>L"Bus Driver Console Window"</DefaultValue>
361 <HelpText>This PCD declares the title string of the text console window.
362 such as "My EFI Console".
363 The item type of this PCD can only be "DYNAMIC".</HelpText>
364 </PcdEntry>
365 <PcdEntry>
366 <C_Name>PcdNt32StatusCodeLibUseForPei</C_Name>
367 <Token>0x0000100b</Token>
368 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
369 <DatumType>BOOLEAN</DatumType>
370 <ValidUsage>FEATURE_FLAG</ValidUsage>
371 <DefaultValue>FALSE</DefaultValue>
372 <HelpText>Select which type of driver the library links against.</HelpText>
373 </PcdEntry>
374 </PcdDeclarations>
375 </PackageSurfaceArea>