]> git.proxmox.com Git - mirror_edk2.git/blame - EmulatorPkg/EmulatorPkg.fdf
UefiCpuPkg/CpuDxe: Remove PcdCpuMaxLogicalProcessorNumber consuming
[mirror_edk2.git] / EmulatorPkg / EmulatorPkg.fdf
CommitLineData
949f388f 1## @file\r
e23e488e 2# This is Emulator FDF file with UEFI HII features enabled\r
949f388f 3#\r
4a437774 4# Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR>\r
949f388f 5# Portions copyright (c) 2009 - 2011, Apple Inc. All rights reserved.<BR>\r
6#\r
e23e488e 7# 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 accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
949f388f 11#\r
e23e488e 12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
949f388f 14#\r
15\r
949f388f 16[FD.Fv_Recovery]\r
17#\r
d18d8a1d 18# In OS X PEIMs are really XIP, so we need to make this address match the malloced\r
949f388f 19# buffer for the FD (0x41000000). If this address does not match the FV will get\r
20# relocated in place (works, but not a great idea).\r
21#\r
bb89ec1a 22BaseAddress = 0x102000000|gEmulatorPkgTokenSpaceGuid.PcdEmuFdBaseAddress #The base address of the FLASH Device.\r
23Size = 0x005a0000|gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize #The size in bytes of the FLASH Device\r
949f388f 24ErasePolarity = 1\r
25BlockSize = 0x10000\r
26NumBlocks = 0x5a\r
27\r
949f388f 280x00000000|0x00580000\r
bb89ec1a 29gEmulatorPkgTokenSpaceGuid.PcdEmuFlashFvRecoveryBase|gEmulatorPkgTokenSpaceGuid.PcdEmuFlashFvRecoverySize\r
949f388f 30FV = FvRecovery\r
31\r
320x00580000|0x0000c000\r
bb89ec1a 33gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize\r
949f388f 34#NV_VARIABLE_STORE\r
35DATA = {\r
36 ## This is the EFI_FIRMWARE_VOLUME_HEADER\r
37 # ZeroVector []\r
38 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\r
39 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\r
40 # FileSystemGuid: gEfiSystemNvDataFvGuid =\r
41 # { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}\r
42 0x8D, 0x2B, 0xF1, 0xFF, 0x96, 0x76, 0x8B, 0x4C,\r
43 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50,\r
44 # FvLength: 0x20000\r
45 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,\r
46 # Signature "_FVH" #Attributes\r
47 0x5f, 0x46, 0x56, 0x48, 0xff, 0xfe, 0x04, 0x00,\r
48 # HeaderLength #CheckSum #ExtHeaderOffset #Reserved #Revision\r
49 0x48, 0x00, 0x36, 0x09, 0x00, 0x00, 0x00, 0x02,\r
50 # Blockmap[0]: 2 Blocks * 0x10000 Bytes / Block\r
51 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,\r
52 # Blockmap[1]: End\r
53 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\r
54 ## This is the VARIABLE_STORE_HEADER\r
55 #Signature: gEfiVariableGuid =\r
56 # { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}\r
57 0x16, 0x36, 0xcf, 0xdd, 0x75, 0x32, 0x64, 0x41,\r
58 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d,\r
59 #Size: 0xc000 (gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize) - 0x48 (size of EFI_FIRMWARE_VOLUME_HEADER) = 0xBFB8\r
60 # This can speed up the Variable Dispatch a bit.\r
61 0xB8, 0xBF, 0x00, 0x00,\r
62 #FORMATTED: 0x5A #HEALTHY: 0xFE #Reserved: UINT16 #Reserved1: UINT32\r
63 0x5A, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00\r
64}\r
65\r
660x0058c000|0x00002000\r
67#NV_EVENT_LOG\r
bb89ec1a 68gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageEventLogBase|gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageEventLogSize\r
949f388f 69\r
700x0058e000|0x00002000\r
bb89ec1a 71gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageFtwWorkingBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize\r
949f388f 72#NV_FTW_WORKING\r
73DATA = {\r
94c4575c
SZ
74 # EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER->Signature = gEdkiiWorkingBlockSignatureGuid =\r
75 # { 0x9e58292b, 0x7c68, 0x497d, { 0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95 }}\r
76 0x2b, 0x29, 0x58, 0x9e, 0x68, 0x7c, 0x7d, 0x49,\r
77 0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95,\r
949f388f 78 # Crc:UINT32 #WorkingBlockValid:1, WorkingBlockInvalid:1, Reserved\r
94c4575c 79 0xE2, 0x33, 0xF2, 0x03, 0xFE, 0xFF, 0xFF, 0xFF,\r
949f388f 80 # WriteQueueSize: UINT64\r
81 0xE0, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00\r
82}\r
83\r
840x00590000|0x00010000\r
85#NV_FTW_SPARE\r
bb89ec1a 86gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageFtwSpareBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize\r
949f388f 87\r
949f388f 88[FV.FvRecovery]\r
89FvAlignment = 16 #FV alignment and FV attributes setting.\r
90ERASE_POLARITY = 1\r
91MEMORY_MAPPED = TRUE\r
92STICKY_WRITE = TRUE\r
93LOCK_CAP = TRUE\r
94LOCK_STATUS = TRUE\r
95WRITE_DISABLED_CAP = TRUE\r
96WRITE_ENABLED_CAP = TRUE\r
97WRITE_STATUS = TRUE\r
98WRITE_LOCK_CAP = TRUE\r
99WRITE_LOCK_STATUS = TRUE\r
100READ_DISABLED_CAP = TRUE\r
101READ_ENABLED_CAP = TRUE\r
102READ_STATUS = TRUE\r
103READ_LOCK_CAP = TRUE\r
104READ_LOCK_STATUS = TRUE\r
105\r
949f388f 106#\r
e23e488e 107# PEI Phase modules\r
949f388f 108#\r
e23e488e 109\r
949f388f 110#\r
949f388f 111# PEI Apriori file example, more PEIM module added later.\r
e23e488e 112#\r
949f388f 113APRIORI PEI {\r
114 INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
115 INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
116 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf\r
117 }\r
118APRIORI DXE {\r
119 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
1ef41207 120 INF MdeModulePkg/Universal/Metronome/Metronome.inf\r
949f388f 121 }\r
bb89ec1a 122INF EmulatorPkg/Sec/Sec.inf\r
949f388f 123INF MdeModulePkg/Core/Pei/PeiMain.inf\r
124INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf\r
125INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
126INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
bb89ec1a 127INF EmulatorPkg/BootModePei/BootModePei.inf\r
128INF EmulatorPkg/AutoScanPei/AutoScanPei.inf\r
129INF EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf\r
130INF EmulatorPkg/FlashMapPei/FlashMapPei.inf\r
131INF EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf\r
94c4575c 132INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r
949f388f 133INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
134INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
135\r
e23e488e 136#\r
949f388f 137# DXE Phase modules\r
e23e488e 138#\r
949f388f 139INF MdeModulePkg/Core/Dxe/DxeMain.inf\r
d18d8a1d 140INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
949f388f 141INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
142INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
1ef41207 143INF MdeModulePkg/Universal/Metronome/Metronome.inf\r
bb89ec1a 144INF EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf\r
145INF EmulatorPkg/ResetRuntimeDxe/Reset.inf\r
949f388f 146INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
bb89ec1a 147INF EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
949f388f 148INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
149INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
150INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
bb89ec1a 151INF EmulatorPkg/EmuThunkDxe/EmuThunk.inf\r
152INF EmulatorPkg/CpuRuntimeDxe/Cpu.inf\r
949f388f 153INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
63f9b9b9 154INF EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf\r
bb89ec1a 155INF EmulatorPkg/TimerDxe/Timer.inf\r
949f388f 156INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
157INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
158INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
159INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
160INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
161INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
162INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
7e284acb 163\r
9fffd8e2 164INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
949f388f 165INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
166INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
167INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
168INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
169INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
170INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
171INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
172INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
173INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
174INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
175\r
d18d8a1d 176INF EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf\r
bb89ec1a 177INF EmulatorPkg/EmuGopDxe/EmuGopDxe.inf\r
178INF EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf\r
179INF EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf\r
180INF EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf\r
949f388f 181\r
949f388f 182INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
9a25ad8b 183INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
949f388f 184INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
185INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
d18d8a1d 186INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
949f388f 187INF MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf\r
188INF MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
189\r
190#\r
191# Network stack drivers\r
192#\r
193!if $(NETWORK_SUPPORT)\r
bb89ec1a 194INF EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf\r
949f388f 195!endif\r
196INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
197INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
198INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
949f388f 199INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
200INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
201INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
202INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
203INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
204INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
205\r
949f388f 206INF FatPkg/EnhancedFatDxe/Fat.inf\r
949f388f 207\r
9fe7c61b 208!ifndef $(USE_OLD_SHELL)\r
72a44be9 209INF ShellPkg/Application/Shell/Shell.inf\r
210!else\r
54e0b04c 211INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf\r
72a44be9 212!endif\r
949f388f 213\r
214FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {\r
215 SECTION RAW = MdeModulePkg/Logo/Logo.bmp\r
216}\r
d18d8a1d 217\r
218\r
65e3f333 219[Rule.Common.SEC]\r
220 FILE SEC = $(NAMED_GUID) {\r
5c13dd09 221 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi\r
d18d8a1d 222 UI STRING ="$(MODULE_NAME)" Optional\r
223 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
65e3f333 224 }\r
225\r
949f388f 226\r
227[Rule.Common.PEI_CORE]\r
228 FILE PEI_CORE = $(NAMED_GUID) {\r
5c13dd09 229 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi\r
d18d8a1d 230 UI STRING ="$(MODULE_NAME)" Optional\r
231 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
949f388f 232 }\r
233\r
234[Rule.Common.PEIM]\r
235 FILE PEIM = $(NAMED_GUID) {\r
236 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
5c13dd09 237 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi\r
d18d8a1d 238 UI STRING="$(MODULE_NAME)" Optional\r
239 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
949f388f 240 }\r
241\r
242[Rule.Common.DXE_CORE]\r
243 FILE DXE_CORE = $(NAMED_GUID) {\r
244 COMPRESS PI_STD {\r
245 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
246 UI STRING="$(MODULE_NAME)" Optional\r
247 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
248 }\r
249 }\r
250\r
251[Rule.Common.UEFI_DRIVER]\r
252 FILE DRIVER = $(NAMED_GUID) {\r
253 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
254 COMPRESS PI_STD {\r
255 GUIDED {\r
256 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
257 UI STRING="$(MODULE_NAME)" Optional\r
258 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
259 }\r
260 }\r
261 }\r
262\r
263[Rule.Common.DXE_DRIVER]\r
264 FILE DRIVER = $(NAMED_GUID) {\r
265 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
266 COMPRESS PI_STD {\r
267 GUIDED {\r
268 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
269 UI STRING="$(MODULE_NAME)" Optional\r
270 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
271 }\r
272 }\r
273 }\r
274\r
275[Rule.Common.DXE_RUNTIME_DRIVER]\r
276 FILE DRIVER = $(NAMED_GUID) {\r
277 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
278 COMPRESS PI_STD {\r
279 GUIDED {\r
280 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
281 UI STRING="$(MODULE_NAME)" Optional\r
282 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
283 }\r
284 }\r
285 }\r
286\r
287[Rule.Common.UEFI_APPLICATION]\r
288 FILE APPLICATION = $(NAMED_GUID) {\r
289 COMPRESS PI_STD {\r
290 GUIDED {\r
291 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
292 UI STRING="$(MODULE_NAME)" Optional\r
293 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
294 }\r
295 }\r
296 }\r
297\r
298[Rule.Common.UEFI_DRIVER.BINARY]\r
299 FILE DRIVER = $(NAMED_GUID) {\r
300 DXE_DEPEX DXE_DEPEX Optional |.depex\r
301 PE32 PE32 |.efi\r
302 UI STRING="$(MODULE_NAME)" Optional\r
303 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
304 }\r
305\r
306[Rule.Common.UEFI_APPLICATION.BINARY]\r
307 FILE APPLICATION = $(NAMED_GUID) {\r
308 PE32 PE32 |.efi\r
309 UI STRING="$(MODULE_NAME)" Optional\r
310 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
311 }\r
312\r