blob: 47bec31e2bd7c87ba704b087fceba07cabb73ecd [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 Ni5c3481b2013-08-19 04:15:36 +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
Jordan Justen9a089972013-11-12 18:34:20 +0000470x00000000|0x0000e000
48gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
49#NV_VARIABLE_STORE
50DATA = {
51 ## This is the EFI_FIRMWARE_VOLUME_HEADER
52 # ZeroVector []
53 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
54 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
55 # FileSystemGuid: gEfiSystemNvDataFvGuid =
56 # { 0xFFF12B8D, 0x7696, 0x4C8B,
57 # { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
58 0x8D, 0x2B, 0xF1, 0xFF, 0x96, 0x76, 0x8B, 0x4C,
59 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50,
60 # FvLength: 0x20000
61 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
62 # Signature "_FVH" # Attributes
63 0x5f, 0x46, 0x56, 0x48, 0xff, 0xfe, 0x04, 0x00,
64 # HeaderLength # CheckSum # ExtHeaderOffset #Reserved #Revision
65 0x48, 0x00, 0x19, 0xF9, 0x00, 0x00, 0x00, 0x02,
66 # Blockmap[0]: 0x20 Blocks * 0x1000 Bytes / Block
67 0x20, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00,
68 # Blockmap[1]: End
69 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
70 ## This is the VARIABLE_STORE_HEADER
71!if $(SECURE_BOOT_ENABLE) == TRUE
72 # Signature: gEfiAuthenticatedVariableGuid =
73 # { 0xaaf32c78, 0x947b, 0x439a,
74 # { 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92 }}
75 0x78, 0x2c, 0xf3, 0xaa, 0x7b, 0x94, 0x9a, 0x43,
76 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92,
77!else
78 # Signature: gEfiVariableGuid =
79 # { 0xddcf3616, 0x3275, 0x4164,
80 # { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}
81 0x16, 0x36, 0xcf, 0xdd, 0x75, 0x32, 0x64, 0x41,
82 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d,
83!endif
84 # Size: 0xe000 (gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize) -
85 # 0x48 (size of EFI_FIRMWARE_VOLUME_HEADER) = 0xdfb8
86 # This can speed up the Variable Dispatch a bit.
87 0xB8, 0xDF, 0x00, 0x00,
88 # FORMATTED: 0x5A #HEALTHY: 0xFE #Reserved: UINT16 #Reserved1: UINT32
89 0x5A, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
90}
91
920x0000e000|0x00001000
93#NV_EVENT_LOG
94gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize
95
960x0000f000|0x00001000
97gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwWorkingBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
98#NV_FTW_WORKING
99DATA = {
100 # EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER->Signature = gEdkiiWorkingBlockSignatureGuid =
101 # { 0x9e58292b, 0x7c68, 0x497d, { 0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95 }}
102 0x2b, 0x29, 0x58, 0x9e, 0x68, 0x7c, 0x7d, 0x49,
103 0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95,
104 # Crc:UINT32 #WorkingBlockValid:1, WorkingBlockInvalid:1, Reserved
105 0x2c, 0xaf, 0x2c, 0x64, 0xFE, 0xFF, 0xFF, 0xFF,
106 # WriteQueueSize: UINT64
107 0xE0, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
108}
109
1100x00010000|0x00010000
111#NV_FTW_SPARE
112gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwSpareBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
113
114!ifdef $(FD_SIZE_1MB)
1150x00020000|0x000CC000
mdkinney76d428b2010-06-25 22:23:22 +0000116FV = FVMAIN_COMPACT
117
Jordan Justenb87ce5e2013-09-24 18:23:47 +00001180x000EC000|0x14000
jljustenc1c26692010-01-04 16:17:59 +0000119FV = SECFV
mdkinneyeaeb4502012-10-04 15:41:15 +0000120
Jordan Justen9a089972013-11-12 18:34:20 +0000121!else
1220x00020000|0x001AC000
mdkinneyeaeb4502012-10-04 15:41:15 +0000123FV = FVMAIN_COMPACT
124
1250x001CC000|0x34000
126FV = SECFV
127!endif
jljusten49ba9442009-05-27 21:10:18 +0000128
129################################################################################
jljustenc1c26692010-01-04 16:17:59 +0000130
131[FD.MEMFD]
Jordan Justen5300cf02014-01-21 19:38:16 +0000132BaseAddress = 0x800000
Laszlo Ersekda78c882014-03-05 00:54:00 +0000133Size = 0x900000
jljustenc1c26692010-01-04 16:17:59 +0000134ErasePolarity = 1
135BlockSize = 0x10000
Laszlo Ersekda78c882014-03-05 00:54:00 +0000136NumBlocks = 0x90
jljustenc1c26692010-01-04 16:17:59 +0000137
Jordan Justenb382ede2014-01-21 19:38:34 +00001380x000000|0x006000
139gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
140
Laszlo Ersek6a7cba72014-03-04 08:03:23 +00001410x006000|0x001000
142gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize
143
Jordan Justen7cb6b0e2014-01-21 19:38:43 +00001440x010000|0x008000
145gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
146
Jordan Justen8e545002014-03-04 08:02:16 +00001470x018000|0x008000
148gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase|gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize
149
Jordan Justenb36f7012014-01-21 19:39:13 +00001500x020000|0x0E0000
151gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
152FV = PEIFV
153
Laszlo Ersekda78c882014-03-05 00:54:00 +00001540x100000|0x800000
Jordan Justenb36f7012014-01-21 19:39:13 +0000155gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
156FV = DXEFV
jljusten49ba9442009-05-27 21:10:18 +0000157
158################################################################################
jljustenc1c26692010-01-04 16:17:59 +0000159
160[FV.SECFV]
jljusten49ba9442009-05-27 21:10:18 +0000161BlockSize = 0x1000
jljustenc1c26692010-01-04 16:17:59 +0000162FvAlignment = 16
jljusten49ba9442009-05-27 21:10:18 +0000163ERASE_POLARITY = 1
164MEMORY_MAPPED = TRUE
165STICKY_WRITE = TRUE
166LOCK_CAP = TRUE
167LOCK_STATUS = TRUE
168WRITE_DISABLED_CAP = TRUE
169WRITE_ENABLED_CAP = TRUE
170WRITE_STATUS = TRUE
171WRITE_LOCK_CAP = TRUE
172WRITE_LOCK_STATUS = TRUE
173READ_DISABLED_CAP = TRUE
174READ_ENABLED_CAP = TRUE
175READ_STATUS = TRUE
176READ_LOCK_CAP = TRUE
177READ_LOCK_STATUS = TRUE
178
179#
jljustenc1c26692010-01-04 16:17:59 +0000180# SEC Phase modules
181#
182# The code in this FV handles the initial firmware startup, and
Jordan Justenb36f7012014-01-21 19:39:13 +0000183# decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
jljustenc1c26692010-01-04 16:17:59 +0000184#
185INF OvmfPkg/Sec/SecMain.inf
186
Jordan Justencf31bf62013-09-24 18:23:41 +0000187INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/Bin/ResetVector.inf
jljustenc1c26692010-01-04 16:17:59 +0000188
189################################################################################
Jordan Justenb36f7012014-01-21 19:39:13 +0000190[FV.PEIFV]
jljustenc1c26692010-01-04 16:17:59 +0000191BlockSize = 0x10000
192FvAlignment = 16
193ERASE_POLARITY = 1
194MEMORY_MAPPED = TRUE
195STICKY_WRITE = TRUE
196LOCK_CAP = TRUE
197LOCK_STATUS = TRUE
198WRITE_DISABLED_CAP = TRUE
199WRITE_ENABLED_CAP = TRUE
200WRITE_STATUS = TRUE
201WRITE_LOCK_CAP = TRUE
202WRITE_LOCK_STATUS = TRUE
203READ_DISABLED_CAP = TRUE
204READ_ENABLED_CAP = TRUE
205READ_STATUS = TRUE
206READ_LOCK_CAP = TRUE
207READ_LOCK_STATUS = TRUE
208
jljustenc1c26692010-01-04 16:17:59 +0000209APRIORI PEI {
210 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
211}
212
jljusten49ba9442009-05-27 21:10:18 +0000213#
jljustenc1c26692010-01-04 16:17:59 +0000214# PEI Phase modules
215#
216INF MdeModulePkg/Core/Pei/PeiMain.inf
217INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
218INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
219INF OvmfPkg/PlatformPei/PlatformPei.inf
220INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
Laszlo Ersek5fb6fc02014-03-04 08:03:06 +0000221INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
jljustenc1c26692010-01-04 16:17:59 +0000222
jljustenc29f6c02010-02-25 21:53:06 +0000223################################################################################
224
225[FV.DXEFV]
226BlockSize = 0x10000
227FvAlignment = 16
228ERASE_POLARITY = 1
229MEMORY_MAPPED = TRUE
230STICKY_WRITE = TRUE
231LOCK_CAP = TRUE
232LOCK_STATUS = TRUE
233WRITE_DISABLED_CAP = TRUE
234WRITE_ENABLED_CAP = TRUE
235WRITE_STATUS = TRUE
236WRITE_LOCK_CAP = TRUE
237WRITE_LOCK_STATUS = TRUE
238READ_DISABLED_CAP = TRUE
239READ_ENABLED_CAP = TRUE
240READ_STATUS = TRUE
241READ_LOCK_CAP = TRUE
242READ_LOCK_STATUS = TRUE
243
244APRIORI DXE {
Ruiyu Ni5c3481b2013-08-19 04:15:36 +0000245 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljustenc29f6c02010-02-25 21:53:06 +0000246 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000247 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
jljustenc29f6c02010-02-25 21:53:06 +0000248}
249
jljustenc1c26692010-01-04 16:17:59 +0000250#
jljusten49ba9442009-05-27 21:10:18 +0000251# DXE Phase modules
252#
253INF MdeModulePkg/Core/Dxe/DxeMain.inf
254
255INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
256INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
257
258INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
259INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000260INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000261INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tianafbb91a2009-12-09 02:18:21 +0000262INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000263INF UefiCpuPkg/CpuDxe/CpuDxe.inf
264INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
265INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000266INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000267INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
268INF MdeModulePkg/Universal/Metronome/Metronome.inf
klu271095b22009-07-07 04:52:44 +0000269INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000270
jljustenefd82c52010-03-21 00:34:15 +0000271INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
Olivier Martin56f65ed2013-12-11 16:58:22 +0000272INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
jljustenfd51d752012-10-08 07:32:59 +0000273INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000274INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000275INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
jljusten27f58ea2009-09-26 07:15:51 +0000276INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
277INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000278
279!if $(SECURE_BOOT_ENABLE) == TRUE
280 INF SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
jljusten8c71ec82012-08-15 00:03:59 +0000281 INF OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000282!else
283 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
284!endif
285
jljusten49ba9442009-05-27 21:10:18 +0000286INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
287INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
288INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
289INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
290INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
291INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
292INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
293INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
294INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000295INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000296INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
297INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
298INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
299INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
300INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
301INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
302INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
303INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
304INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000305INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000306INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000307
jljusten49ba9442009-05-27 21:10:18 +0000308INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
309INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
vanjeff8f5e3a12011-10-26 07:08:32 +0000310
311!ifndef $(SOURCE_DEBUG_ENABLE)
jljusten49ba9442009-05-27 21:10:18 +0000312INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
vanjeff8f5e3a12011-10-26 07:08:32 +0000313!endif
314
jljusten49ba9442009-05-27 21:10:18 +0000315INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
316INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
317
jljustenfb511812011-08-13 22:54:37 +0000318INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
319INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
320
jljusten49ba9442009-05-27 21:10:18 +0000321INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000322INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000323INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
Laszlo Ersek389cbce2014-03-04 08:03:38 +0000324INF OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
Laszlo Ersekb017b1b2014-03-04 08:03:50 +0000325INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
Laszlo Ersek93900402014-03-04 08:04:13 +0000326INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000327
mdkinney7a743a22010-06-29 04:55:13 +0000328INF RuleOverride = BINARY FatBinPkg/EnhancedFatDxe/Fat.inf
jljusten345a0c82011-06-26 18:58:41 +0000329
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000330!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000331INF ShellPkg/Application/Shell/Shell.inf
332!else
mdkinney7a743a22010-06-29 04:55:13 +0000333INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
jljusten345a0c82011-06-26 18:58:41 +0000334!endif
jljusten49ba9442009-05-27 21:10:18 +0000335
lgao4d46f3632009-07-09 05:48:35 +0000336FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
mdkinney76d428b2010-06-25 22:23:22 +0000337 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
338}
jljusten49ba9442009-05-27 21:10:18 +0000339
mdkinney7416f4e2010-07-26 18:07:19 +0000340#
341# Network modules
342#
jljusten7628b0f2013-05-15 18:20:39 +0000343!if $(E1000_ENABLE)
jljusteneaf4f332011-04-12 15:08:51 +0000344 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
mdkinney7416f4e2010-07-26 18:07:19 +0000345 SECTION PE32 = Intel3.5/EFIX64/E3507X2.EFI
346 }
jljusten7628b0f2013-05-15 18:20:39 +0000347!endif
mdkinney7416f4e2010-07-26 18:07:19 +0000348 INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
349 INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
350 INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
351 INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
352 INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
353 INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
354 INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
355 INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
356 INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
357 INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
358 INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
359 INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
360 INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Laszlo Ersek7a1f5942013-06-14 07:41:13 +0000361 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000362
jljusten689562c2010-12-31 07:55:38 +0000363#
364# Usb Support
365#
366INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
367INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
368INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
369INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
370INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
371
jljusten4b3d6632011-11-10 22:04:49 +0000372!ifdef $(CSM_ENABLE)
373INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
374INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
375INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
376!endif
377
jljustenaadb1d02012-07-10 22:43:19 +0000378INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
379
jljusten49ba9442009-05-27 21:10:18 +0000380################################################################################
381
mdkinney76d428b2010-06-25 22:23:22 +0000382[FV.FVMAIN_COMPACT]
jljusten49ba9442009-05-27 21:10:18 +0000383FvAlignment = 16
384ERASE_POLARITY = 1
385MEMORY_MAPPED = TRUE
386STICKY_WRITE = TRUE
387LOCK_CAP = TRUE
388LOCK_STATUS = TRUE
389WRITE_DISABLED_CAP = TRUE
390WRITE_ENABLED_CAP = TRUE
391WRITE_STATUS = TRUE
392WRITE_LOCK_CAP = TRUE
393WRITE_LOCK_STATUS = TRUE
394READ_DISABLED_CAP = TRUE
395READ_ENABLED_CAP = TRUE
396READ_STATUS = TRUE
397READ_LOCK_CAP = TRUE
398READ_LOCK_STATUS = TRUE
399
mdkinney76d428b2010-06-25 22:23:22 +0000400FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
401 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
Jordan Justenb36f7012014-01-21 19:39:13 +0000402 #
403 # These firmware volumes will have files placed in them uncompressed,
404 # and then both firmware volumes will be compressed in a single
405 # compression operation in order to achieve better overall compression.
406 #
407 SECTION FV_IMAGE = PEIFV
408 SECTION FV_IMAGE = DXEFV
jljusten49ba9442009-05-27 21:10:18 +0000409 }
410 }
411
jljusten49ba9442009-05-27 21:10:18 +0000412################################################################################
jljusten49ba9442009-05-27 21:10:18 +0000413
jljusten49ba9442009-05-27 21:10:18 +0000414[Rule.Common.SEC]
415 FILE SEC = $(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
mdkinney76d428b2010-06-25 22:23:22 +0000421[Rule.Common.PEI_CORE]
422 FILE PEI_CORE = $(NAMED_GUID) {
423 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
424 UI STRING ="$(MODULE_NAME)" Optional
425 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
jljustend40d3ba2009-10-07 16:01:09 +0000426 }
427
jljusten49ba9442009-05-27 21:10:18 +0000428[Rule.Common.PEIM]
429 FILE PEIM = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000430 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
431 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000432 UI STRING="$(MODULE_NAME)" Optional
433 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
434 }
435
jljusten49ba9442009-05-27 21:10:18 +0000436[Rule.Common.DXE_CORE]
437 FILE DXE_CORE = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000438 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000439 UI STRING="$(MODULE_NAME)" Optional
440 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
441 }
442
jljusten49ba9442009-05-27 21:10:18 +0000443[Rule.Common.DXE_DRIVER]
444 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000445 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
446 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000447 UI STRING="$(MODULE_NAME)" Optional
448 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
449 }
450
451[Rule.Common.DXE_RUNTIME_DRIVER]
452 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000453 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
454 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000455 UI STRING="$(MODULE_NAME)" Optional
456 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
457 }
mdkinney7416f4e2010-07-26 18:07:19 +0000458
mdkinney76d428b2010-06-25 22:23:22 +0000459[Rule.Common.UEFI_DRIVER]
460 FILE DRIVER = $(NAMED_GUID) {
461 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
lgao42014a812010-03-01 06:47:58 +0000462 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000463 UI STRING="$(MODULE_NAME)" Optional
464 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
465 }
466
mdkinney7a743a22010-06-29 04:55:13 +0000467[Rule.Common.UEFI_DRIVER.BINARY]
mdkinney3b33c6d2010-06-29 18:34:32 +0000468 FILE DRIVER = $(NAMED_GUID) {
mdkinney7a743a22010-06-29 04:55:13 +0000469 DXE_DEPEX DXE_DEPEX Optional |.depex
470 PE32 PE32 |.efi
471 UI STRING="$(MODULE_NAME)" Optional
472 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
473 }
jljusten8c71ec82012-08-15 00:03:59 +0000474
mdkinney76d428b2010-06-25 22:23:22 +0000475[Rule.Common.UEFI_APPLICATION]
lgao4d989c452010-03-02 02:50:32 +0000476 FILE APPLICATION = $(NAMED_GUID) {
mdkinney76d428b2010-06-25 22:23:22 +0000477 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
lgao4d989c452010-03-02 02:50:32 +0000478 UI STRING="$(MODULE_NAME)" Optional
479 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
480 }
481
mdkinney7a743a22010-06-29 04:55:13 +0000482[Rule.Common.UEFI_APPLICATION.BINARY]
483 FILE APPLICATION = $(NAMED_GUID) {
484 PE32 PE32 |.efi
485 UI STRING="$(MODULE_NAME)" Optional
486 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
487 }
jljusten8c71ec82012-08-15 00:03:59 +0000488
vanjeff48889992009-08-11 05:30:52 +0000489[Rule.Common.USER_DEFINED.ACPITABLE]
jljusten49ba9442009-05-27 21:10:18 +0000490 FILE FREEFORM = $(NAMED_GUID) {
491 RAW ACPI |.acpi
492 RAW ASL |.aml
493 }
494
jljusten4b3d6632011-11-10 22:04:49 +0000495[Rule.Common.USER_DEFINED.CSM]
496 FILE FREEFORM = $(NAMED_GUID) {
497 RAW BIN |.bin
498 }
499
jljusten49ba9442009-05-27 21:10:18 +0000500[Rule.Common.SEC.RESET_VECTOR]
501 FILE RAW = $(NAMED_GUID) {
502 RAW RAW |.raw
503 }