blob: dd705a83fb63015f18c3eb1d533c8d0b32ae0424 [file] [log] [blame]
lgao47b202cb2010-02-23 23:58:38 +00001## @file
jljusten49ba9442009-05-27 21:10:18 +00002# Open Virtual Machine Firmware: FDF
3#
Ruiyu Ni863986b2013-07-26 03:14:08 +00004# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
jljusten49ba9442009-05-27 21:10:18 +00005#
hhtian56d76402010-04-28 12:43:04 +00006# This program and the accompanying materials
jljusten49ba9442009-05-27 21:10:18 +00007# are licensed and made available under the terms and conditions of the BSD License
8# which accompanies this distribution. The full text of the license may be found at
9# http://opensource.org/licenses/bsd-license.php
10#
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
lgao47b202cb2010-02-23 23:58:38 +000014##
jljusten49ba9442009-05-27 21:10:18 +000015
16################################################################################
Jordan Justen8184a762013-11-12 18:34:02 +000017
18#
19# Default flash size for DEBUG build is 2MB. For RELEASE it is 1MB.
20#
21# Defining FD_SIZE_1MB or FD_SIZE_2MB on the build command line can
22# override this.
23#
24[Defines]
25!if $(TARGET) == RELEASE
mdkinneyeaeb4502012-10-04 15:41:15 +000026!ifndef $(FD_SIZE_2MB)
Jordan Justen8184a762013-11-12 18:34:02 +000027DEFINE FD_SIZE_1MB=
28!endif
29!endif
30
31!ifdef $(FD_SIZE_1MB)
mdkinney76d428b2010-06-25 22:23:22 +000032[FD.OVMF]
Jordan Justen9a089972013-11-12 18:34:20 +000033BaseAddress = 0xFFF00000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress
34Size = 0x00100000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize
jljusten49ba9442009-05-27 21:10:18 +000035ErasePolarity = 1
Jordan Justen9a089972013-11-12 18:34:20 +000036BlockSize = 0x1000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize
mdkinney76d428b2010-06-25 22:23:22 +000037NumBlocks = 0x100
Jordan Justen9a089972013-11-12 18:34:20 +000038!else
39[FD.OVMF]
40BaseAddress = 0xFFE00000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress
41Size = 0x00200000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize
42ErasePolarity = 1
43BlockSize = 0x1000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize
44NumBlocks = 0x200
45!endif
jljustenc1c26692010-01-04 16:17:59 +000046
Laszlo Ersek1c093f02014-07-22 21:56:53 +000047!include VarStore.fdf.inc
Jordan Justen9a089972013-11-12 18:34:20 +000048
49!ifdef $(FD_SIZE_1MB)
500x00020000|0x000CC000
mdkinney76d428b2010-06-25 22:23:22 +000051FV = FVMAIN_COMPACT
52
jljusten6738e4e2011-04-17 05:47:43 +0000530x000EC000|0x14000
jljustenc1c26692010-01-04 16:17:59 +000054FV = SECFV
mdkinneyeaeb4502012-10-04 15:41:15 +000055
Jordan Justen9a089972013-11-12 18:34:20 +000056!else
570x00020000|0x001AC000
mdkinneyeaeb4502012-10-04 15:41:15 +000058FV = FVMAIN_COMPACT
59
600x001CC000|0x34000
61FV = SECFV
62!endif
jljusten689562c2010-12-31 07:55:38 +000063
jljusten49ba9442009-05-27 21:10:18 +000064################################################################################
jljustenc1c26692010-01-04 16:17:59 +000065
66[FD.MEMFD]
Jordan Justen5300cf02014-01-21 19:38:16 +000067BaseAddress = 0x800000
Laszlo Ersekda78c882014-03-05 00:54:00 +000068Size = 0x900000
jljustenc1c26692010-01-04 16:17:59 +000069ErasePolarity = 1
70BlockSize = 0x10000
Laszlo Ersekda78c882014-03-05 00:54:00 +000071NumBlocks = 0x90
jljustenc1c26692010-01-04 16:17:59 +000072
Jordan Justenb382ede2014-01-21 19:38:34 +0000730x000000|0x006000
74gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
75
Laszlo Ersek6a7cba72014-03-04 08:03:23 +0000760x006000|0x001000
77gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize
78
Laszlo Ersekad43bc62014-04-05 21:26:09 +0000790x007000|0x001000
80gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
81
Jordan Justen7cb6b0e2014-01-21 19:38:43 +0000820x010000|0x008000
83gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
84
Jordan Justen8e545002014-03-04 08:02:16 +0000850x018000|0x008000
86gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase|gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize
87
Jordan Justenb36f7012014-01-21 19:39:13 +0000880x020000|0x0E0000
89gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
90FV = PEIFV
91
Laszlo Ersekda78c882014-03-05 00:54:00 +0000920x100000|0x800000
Jordan Justenb36f7012014-01-21 19:39:13 +000093gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
94FV = DXEFV
jljusten49ba9442009-05-27 21:10:18 +000095
96################################################################################
jljustenc1c26692010-01-04 16:17:59 +000097
98[FV.SECFV]
jljusten49ba9442009-05-27 21:10:18 +000099BlockSize = 0x1000
jljustenc1c26692010-01-04 16:17:59 +0000100FvAlignment = 16
jljusten49ba9442009-05-27 21:10:18 +0000101ERASE_POLARITY = 1
102MEMORY_MAPPED = TRUE
103STICKY_WRITE = TRUE
104LOCK_CAP = TRUE
105LOCK_STATUS = TRUE
106WRITE_DISABLED_CAP = TRUE
107WRITE_ENABLED_CAP = TRUE
108WRITE_STATUS = TRUE
109WRITE_LOCK_CAP = TRUE
110WRITE_LOCK_STATUS = TRUE
111READ_DISABLED_CAP = TRUE
112READ_ENABLED_CAP = TRUE
113READ_STATUS = TRUE
114READ_LOCK_CAP = TRUE
115READ_LOCK_STATUS = TRUE
116
117#
jljustenc1c26692010-01-04 16:17:59 +0000118# SEC Phase modules
119#
120# The code in this FV handles the initial firmware startup, and
Jordan Justenb36f7012014-01-21 19:39:13 +0000121# decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
jljustenc1c26692010-01-04 16:17:59 +0000122#
123INF OvmfPkg/Sec/SecMain.inf
124
mdkinney7416f4e2010-07-26 18:07:19 +0000125INF RuleOverride=RESET_VECTOR USE = IA32 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
jljustenc1c26692010-01-04 16:17:59 +0000126
127################################################################################
Jordan Justenb36f7012014-01-21 19:39:13 +0000128[FV.PEIFV]
jljustenc1c26692010-01-04 16:17:59 +0000129BlockSize = 0x10000
130FvAlignment = 16
131ERASE_POLARITY = 1
132MEMORY_MAPPED = TRUE
133STICKY_WRITE = TRUE
134LOCK_CAP = TRUE
135LOCK_STATUS = TRUE
136WRITE_DISABLED_CAP = TRUE
137WRITE_ENABLED_CAP = TRUE
138WRITE_STATUS = TRUE
139WRITE_LOCK_CAP = TRUE
140WRITE_LOCK_STATUS = TRUE
141READ_DISABLED_CAP = TRUE
142READ_ENABLED_CAP = TRUE
143READ_STATUS = TRUE
144READ_LOCK_CAP = TRUE
145READ_LOCK_STATUS = TRUE
146
jljustenc1c26692010-01-04 16:17:59 +0000147APRIORI PEI {
148 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
149}
150
jljusten49ba9442009-05-27 21:10:18 +0000151#
jljustenc1c26692010-01-04 16:17:59 +0000152# PEI Phase modules
153#
154INF MdeModulePkg/Core/Pei/PeiMain.inf
155INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
156INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
157INF OvmfPkg/PlatformPei/PlatformPei.inf
158INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
Laszlo Ersek5fb6fc02014-03-04 08:03:06 +0000159INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
jljustenc1c26692010-01-04 16:17:59 +0000160
jljustenc29f6c02010-02-25 21:53:06 +0000161################################################################################
162
163[FV.DXEFV]
164BlockSize = 0x10000
165FvAlignment = 16
166ERASE_POLARITY = 1
167MEMORY_MAPPED = TRUE
168STICKY_WRITE = TRUE
169LOCK_CAP = TRUE
170LOCK_STATUS = TRUE
171WRITE_DISABLED_CAP = TRUE
172WRITE_ENABLED_CAP = TRUE
173WRITE_STATUS = TRUE
174WRITE_LOCK_CAP = TRUE
175WRITE_LOCK_STATUS = TRUE
176READ_DISABLED_CAP = TRUE
177READ_ENABLED_CAP = TRUE
178READ_STATUS = TRUE
179READ_LOCK_CAP = TRUE
180READ_LOCK_STATUS = TRUE
181
182APRIORI DXE {
Ruiyu Ni863986b2013-07-26 03:14:08 +0000183 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljustenc29f6c02010-02-25 21:53:06 +0000184 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000185 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
jljustenc29f6c02010-02-25 21:53:06 +0000186}
187
jljustenc1c26692010-01-04 16:17:59 +0000188#
jljusten49ba9442009-05-27 21:10:18 +0000189# DXE Phase modules
190#
191INF MdeModulePkg/Core/Dxe/DxeMain.inf
192
193INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
194INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
195
196INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
197INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000198INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000199INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tianafbb91a2009-12-09 02:18:21 +0000200INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000201INF UefiCpuPkg/CpuDxe/CpuDxe.inf
202INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
203INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000204INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000205INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
206INF MdeModulePkg/Universal/Metronome/Metronome.inf
jljusten712bd832009-07-14 23:32:41 +0000207INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
klu287a1d7a2009-07-07 04:54:01 +0000208
jljustenefd82c52010-03-21 00:34:15 +0000209INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
Olivier Martin56f65ed2013-12-11 16:58:22 +0000210INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
jljustenfd51d752012-10-08 07:32:59 +0000211INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000212INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000213INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
jljusten27f58ea2009-09-26 07:15:51 +0000214INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
215INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000216
217!if $(SECURE_BOOT_ENABLE) == TRUE
218 INF SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
jljusten8c71ec82012-08-15 00:03:59 +0000219 INF OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000220!else
221 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
222!endif
223
jljusten49ba9442009-05-27 21:10:18 +0000224INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
225INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
226INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
227INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
228INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
229INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
230INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
231INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
232INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000233INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000234INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
235INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
236INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
237INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
238INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
239INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
240INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
241INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
242INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000243INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000244INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000245
jljusten49ba9442009-05-27 21:10:18 +0000246INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
247INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
vanjeff8f5e3a12011-10-26 07:08:32 +0000248
249!ifndef $(SOURCE_DEBUG_ENABLE)
jljusten49ba9442009-05-27 21:10:18 +0000250INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
vanjeff8f5e3a12011-10-26 07:08:32 +0000251!endif
252
jljusten49ba9442009-05-27 21:10:18 +0000253INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
254INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
255
jljustenfb511812011-08-13 22:54:37 +0000256INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
257INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
258
jljusten49ba9442009-05-27 21:10:18 +0000259INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000260INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljustend40d3ba2009-10-07 16:01:09 +0000261INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
Laszlo Ersek389cbce2014-03-04 08:03:38 +0000262INF OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000263INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
Laszlo Ersek93900402014-03-04 08:04:13 +0000264INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000265
mdkinney7a743a22010-06-29 04:55:13 +0000266INF RuleOverride = BINARY USE = X64 FatBinPkg/EnhancedFatDxe/Fat.inf
jljusten345a0c82011-06-26 18:58:41 +0000267
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000268!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000269INF ShellPkg/Application/Shell/Shell.inf
270!else
mdkinney7a743a22010-06-29 04:55:13 +0000271INF RuleOverride = BINARY USE = X64 EdkShellBinPkg/FullShell/FullShell.inf
jljusten345a0c82011-06-26 18:58:41 +0000272!endif
jljusten49ba9442009-05-27 21:10:18 +0000273
lgao4d46f3632009-07-09 05:48:35 +0000274FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
mdkinney76d428b2010-06-25 22:23:22 +0000275 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
276}
mdkinney7416f4e2010-07-26 18:07:19 +0000277
278#
279# Network modules
280#
jljusten7628b0f2013-05-15 18:20:39 +0000281!if $(E1000_ENABLE)
mdkinney7416f4e2010-07-26 18:07:19 +0000282 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
283 SECTION PE32 = Intel3.5/EFIX64/E3507X2.EFI
284 }
jljusten7628b0f2013-05-15 18:20:39 +0000285!endif
mdkinney7416f4e2010-07-26 18:07:19 +0000286 INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
287 INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
288 INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
289 INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
290 INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
291 INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
292 INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
293 INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
294 INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
295 INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
296 INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
297 INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
298 INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Laszlo Ersek7a1f5942013-06-14 07:41:13 +0000299 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
jljusten689562c2010-12-31 07:55:38 +0000300
301#
302# Usb Support
303#
304INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
305INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
306INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
307INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
308INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
309
jljusten4b3d6632011-11-10 22:04:49 +0000310!ifdef $(CSM_ENABLE)
311INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
312INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
313INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
314!endif
315
jljustenaadb1d02012-07-10 22:43:19 +0000316INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
Laszlo Ersekd945a8b2014-03-22 07:12:55 +0000317INF OvmfPkg/PlatformDxe/Platform.inf
jljustenaadb1d02012-07-10 22:43:19 +0000318
jljusten49ba9442009-05-27 21:10:18 +0000319################################################################################
320
mdkinney76d428b2010-06-25 22:23:22 +0000321[FV.FVMAIN_COMPACT]
jljusten49ba9442009-05-27 21:10:18 +0000322FvAlignment = 16
323ERASE_POLARITY = 1
324MEMORY_MAPPED = TRUE
325STICKY_WRITE = TRUE
326LOCK_CAP = TRUE
327LOCK_STATUS = TRUE
328WRITE_DISABLED_CAP = TRUE
329WRITE_ENABLED_CAP = TRUE
330WRITE_STATUS = TRUE
331WRITE_LOCK_CAP = TRUE
332WRITE_LOCK_STATUS = TRUE
333READ_DISABLED_CAP = TRUE
334READ_ENABLED_CAP = TRUE
335READ_STATUS = TRUE
336READ_LOCK_CAP = TRUE
337READ_LOCK_STATUS = TRUE
338
mdkinney76d428b2010-06-25 22:23:22 +0000339FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
jljusteneaf4f332011-04-12 15:08:51 +0000340 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
Jordan Justenb36f7012014-01-21 19:39:13 +0000341 #
342 # These firmware volumes will have files placed in them uncompressed,
343 # and then both firmware volumes will be compressed in a single
344 # compression operation in order to achieve better overall compression.
345 #
346 SECTION FV_IMAGE = PEIFV
347 SECTION FV_IMAGE = DXEFV
jljusteneaf4f332011-04-12 15:08:51 +0000348 }
349 }
350
jljusten49ba9442009-05-27 21:10:18 +0000351################################################################################
352
jljusten49ba9442009-05-27 21:10:18 +0000353[Rule.Common.SEC]
354 FILE SEC = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000355 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000356 UI STRING ="$(MODULE_NAME)" Optional
357 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
358 }
359
mdkinney76d428b2010-06-25 22:23:22 +0000360[Rule.Common.PEI_CORE]
361 FILE PEI_CORE = $(NAMED_GUID) {
362 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
363 UI STRING ="$(MODULE_NAME)" Optional
364 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
jljustend40d3ba2009-10-07 16:01:09 +0000365 }
366
jljusten49ba9442009-05-27 21:10:18 +0000367[Rule.Common.PEIM]
368 FILE PEIM = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000369 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
370 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000371 UI STRING="$(MODULE_NAME)" Optional
372 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
373 }
374
jljusten49ba9442009-05-27 21:10:18 +0000375[Rule.Common.DXE_CORE]
376 FILE DXE_CORE = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000377 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000378 UI STRING="$(MODULE_NAME)" Optional
379 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
380 }
381
jljusten49ba9442009-05-27 21:10:18 +0000382[Rule.Common.DXE_DRIVER]
383 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000384 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
385 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000386 UI STRING="$(MODULE_NAME)" Optional
387 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
388 }
389
390[Rule.Common.DXE_RUNTIME_DRIVER]
391 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000392 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
393 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000394 UI STRING="$(MODULE_NAME)" Optional
395 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
396 }
397
mdkinney76d428b2010-06-25 22:23:22 +0000398[Rule.Common.UEFI_DRIVER]
399 FILE DRIVER = $(NAMED_GUID) {
400 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
401 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
402 UI STRING="$(MODULE_NAME)" Optional
403 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
404 }
405
mdkinney7a743a22010-06-29 04:55:13 +0000406[Rule.Common.UEFI_DRIVER.BINARY]
mdkinney3b33c6d2010-06-29 18:34:32 +0000407 FILE DRIVER = $(NAMED_GUID) {
mdkinney7a743a22010-06-29 04:55:13 +0000408 DXE_DEPEX DXE_DEPEX Optional |.depex
409 PE32 PE32 |.efi
410 UI STRING="$(MODULE_NAME)" Optional
411 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
412 }
jljusten8c71ec82012-08-15 00:03:59 +0000413
jljusten49ba9442009-05-27 21:10:18 +0000414[Rule.Common.UEFI_APPLICATION]
415 FILE APPLICATION = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000416 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000417 UI STRING="$(MODULE_NAME)" Optional
418 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
419 }
420
mdkinney7a743a22010-06-29 04:55:13 +0000421[Rule.Common.UEFI_APPLICATION.BINARY]
422 FILE APPLICATION = $(NAMED_GUID) {
423 PE32 PE32 |.efi
424 UI STRING="$(MODULE_NAME)" Optional
425 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
426 }
jljusten8c71ec82012-08-15 00:03:59 +0000427
vanjeff48889992009-08-11 05:30:52 +0000428[Rule.Common.USER_DEFINED.ACPITABLE]
jljusten49ba9442009-05-27 21:10:18 +0000429 FILE FREEFORM = $(NAMED_GUID) {
jljustend40d3ba2009-10-07 16:01:09 +0000430 RAW ACPI |.acpi
431 RAW ASL |.aml
jljusten49ba9442009-05-27 21:10:18 +0000432 }
433
jljusten4b3d6632011-11-10 22:04:49 +0000434[Rule.Common.USER_DEFINED.CSM]
435 FILE FREEFORM = $(NAMED_GUID) {
436 RAW BIN |.bin
437 }
438
mdkinney7416f4e2010-07-26 18:07:19 +0000439[Rule.Common.SEC.RESET_VECTOR]
440 FILE RAW = $(NAMED_GUID) {
441 RAW RAW |.raw
442 }