blob: 7c4e6cda62e090f5acc22c66b7b9370d9a1746a0 [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
jljusten6738e4e2011-04-17 05:47:43 +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
133Size = 0x800000
jljustenc1c26692010-01-04 16:17:59 +0000134ErasePolarity = 1
135BlockSize = 0x10000
jljusten862379f2013-02-14 19:21:56 +0000136NumBlocks = 0x80
jljustenc1c26692010-01-04 16:17:59 +0000137
Jordan Justenb382ede2014-01-21 19:38:34 +00001380x000000|0x006000
139gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
140
Jordan Justen7cb6b0e2014-01-21 19:38:43 +00001410x010000|0x008000
142gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
143
Jordan Justenb36f7012014-01-21 19:39:13 +00001440x020000|0x0E0000
145gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
146FV = PEIFV
147
1480x100000|0x700000
149gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
150FV = DXEFV
jljusten49ba9442009-05-27 21:10:18 +0000151
152################################################################################
jljustenc1c26692010-01-04 16:17:59 +0000153
154[FV.SECFV]
jljusten49ba9442009-05-27 21:10:18 +0000155BlockSize = 0x1000
jljustenc1c26692010-01-04 16:17:59 +0000156FvAlignment = 16
jljusten49ba9442009-05-27 21:10:18 +0000157ERASE_POLARITY = 1
158MEMORY_MAPPED = TRUE
159STICKY_WRITE = TRUE
160LOCK_CAP = TRUE
161LOCK_STATUS = TRUE
162WRITE_DISABLED_CAP = TRUE
163WRITE_ENABLED_CAP = TRUE
164WRITE_STATUS = TRUE
165WRITE_LOCK_CAP = TRUE
166WRITE_LOCK_STATUS = TRUE
167READ_DISABLED_CAP = TRUE
168READ_ENABLED_CAP = TRUE
169READ_STATUS = TRUE
170READ_LOCK_CAP = TRUE
171READ_LOCK_STATUS = TRUE
172
173#
jljustenc1c26692010-01-04 16:17:59 +0000174# SEC Phase modules
175#
176# The code in this FV handles the initial firmware startup, and
Jordan Justenb36f7012014-01-21 19:39:13 +0000177# decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
jljustenc1c26692010-01-04 16:17:59 +0000178#
179INF OvmfPkg/Sec/SecMain.inf
180
geekboy15ad79d2cd2010-02-02 18:05:03 +0000181INF RuleOverride=RESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
jljustenc1c26692010-01-04 16:17:59 +0000182
183################################################################################
Jordan Justenb36f7012014-01-21 19:39:13 +0000184[FV.PEIFV]
jljustenc1c26692010-01-04 16:17:59 +0000185BlockSize = 0x10000
186FvAlignment = 16
187ERASE_POLARITY = 1
188MEMORY_MAPPED = TRUE
189STICKY_WRITE = TRUE
190LOCK_CAP = TRUE
191LOCK_STATUS = TRUE
192WRITE_DISABLED_CAP = TRUE
193WRITE_ENABLED_CAP = TRUE
194WRITE_STATUS = TRUE
195WRITE_LOCK_CAP = TRUE
196WRITE_LOCK_STATUS = TRUE
197READ_DISABLED_CAP = TRUE
198READ_ENABLED_CAP = TRUE
199READ_STATUS = TRUE
200READ_LOCK_CAP = TRUE
201READ_LOCK_STATUS = TRUE
202
jljustenc1c26692010-01-04 16:17:59 +0000203APRIORI PEI {
204 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
205}
206
jljusten49ba9442009-05-27 21:10:18 +0000207#
jljustenc1c26692010-01-04 16:17:59 +0000208# PEI Phase modules
209#
210INF MdeModulePkg/Core/Pei/PeiMain.inf
211INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
212INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
213INF OvmfPkg/PlatformPei/PlatformPei.inf
214INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
215
jljustenc29f6c02010-02-25 21:53:06 +0000216################################################################################
217
218[FV.DXEFV]
219BlockSize = 0x10000
220FvAlignment = 16
221ERASE_POLARITY = 1
222MEMORY_MAPPED = TRUE
223STICKY_WRITE = TRUE
224LOCK_CAP = TRUE
225LOCK_STATUS = TRUE
226WRITE_DISABLED_CAP = TRUE
227WRITE_ENABLED_CAP = TRUE
228WRITE_STATUS = TRUE
229WRITE_LOCK_CAP = TRUE
230WRITE_LOCK_STATUS = TRUE
231READ_DISABLED_CAP = TRUE
232READ_ENABLED_CAP = TRUE
233READ_STATUS = TRUE
234READ_LOCK_CAP = TRUE
235READ_LOCK_STATUS = TRUE
236
237APRIORI DXE {
Ruiyu Ni5c3481b2013-08-19 04:15:36 +0000238 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljustenc29f6c02010-02-25 21:53:06 +0000239 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000240 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
jljustenc29f6c02010-02-25 21:53:06 +0000241}
242
jljustenc1c26692010-01-04 16:17:59 +0000243#
jljusten49ba9442009-05-27 21:10:18 +0000244# DXE Phase modules
245#
246INF MdeModulePkg/Core/Dxe/DxeMain.inf
247
248INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
249INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
250
251INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
252INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000253INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000254INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tianafbb91a2009-12-09 02:18:21 +0000255INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000256INF UefiCpuPkg/CpuDxe/CpuDxe.inf
257INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
258INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000259INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000260INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
261INF MdeModulePkg/Universal/Metronome/Metronome.inf
klu271095b22009-07-07 04:52:44 +0000262INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000263
jljustenefd82c52010-03-21 00:34:15 +0000264INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
Olivier Martin56f65ed2013-12-11 16:58:22 +0000265INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
jljustenfd51d752012-10-08 07:32:59 +0000266INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000267INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000268INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
jljusten27f58ea2009-09-26 07:15:51 +0000269INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
270INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
leegrosenbaum7a616e52012-04-04 17:35:06 +0000271
jljusten8cee3de2012-03-09 17:38:53 +0000272!if $(SECURE_BOOT_ENABLE) == TRUE
273 INF SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
jljusten8c71ec82012-08-15 00:03:59 +0000274 INF OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000275!else
276 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
277!endif
leegrosenbaum7a616e52012-04-04 17:35:06 +0000278
jljusten49ba9442009-05-27 21:10:18 +0000279INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
280INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
281INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
282INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
283INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
284INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
285INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
286INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
287INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000288INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000289INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
290INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
291INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
292INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
293INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
294INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
295INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
296INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
297INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000298INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000299INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000300
jljusten49ba9442009-05-27 21:10:18 +0000301INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
302INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
vanjeff8f5e3a12011-10-26 07:08:32 +0000303
304!ifndef $(SOURCE_DEBUG_ENABLE)
jljusten49ba9442009-05-27 21:10:18 +0000305INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
vanjeff8f5e3a12011-10-26 07:08:32 +0000306!endif
307
jljusten49ba9442009-05-27 21:10:18 +0000308INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
309INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
310
jljustenfb511812011-08-13 22:54:37 +0000311INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
312INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
313
jljusten49ba9442009-05-27 21:10:18 +0000314INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000315INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000316INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
317
mdkinney7a743a22010-06-29 04:55:13 +0000318INF RuleOverride = BINARY FatBinPkg/EnhancedFatDxe/Fat.inf
jljusten345a0c82011-06-26 18:58:41 +0000319
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000320!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000321INF ShellPkg/Application/Shell/Shell.inf
322!else
mdkinney7a743a22010-06-29 04:55:13 +0000323INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
jljusten345a0c82011-06-26 18:58:41 +0000324!endif
jljusten49ba9442009-05-27 21:10:18 +0000325
lgao4d46f3632009-07-09 05:48:35 +0000326FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
mdkinney76d428b2010-06-25 22:23:22 +0000327 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
328}
jljusten49ba9442009-05-27 21:10:18 +0000329
mdkinney7416f4e2010-07-26 18:07:19 +0000330#
331# Network modules
332#
jljusten7628b0f2013-05-15 18:20:39 +0000333!if $(E1000_ENABLE)
mdkinney7416f4e2010-07-26 18:07:19 +0000334 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
335 SECTION PE32 = Intel3.5/EFI32/E3507E2.EFI
336 }
jljusten7628b0f2013-05-15 18:20:39 +0000337!endif
mdkinney7416f4e2010-07-26 18:07:19 +0000338 INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
339 INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
340 INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
341 INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
342 INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
343 INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
344 INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
345 INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
346 INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
347 INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
348 INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
349 INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
350 INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Laszlo Ersek7a1f5942013-06-14 07:41:13 +0000351 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
mdkinney7416f4e2010-07-26 18:07:19 +0000352
jljusten689562c2010-12-31 07:55:38 +0000353#
354# Usb Support
355#
356INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
357INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
358INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
359INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
360INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
361
jljusten4b3d6632011-11-10 22:04:49 +0000362!ifdef $(CSM_ENABLE)
363INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
364INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
365INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
366!endif
367
jljustenaadb1d02012-07-10 22:43:19 +0000368INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
369
jljusten49ba9442009-05-27 21:10:18 +0000370################################################################################
371
mdkinney76d428b2010-06-25 22:23:22 +0000372[FV.FVMAIN_COMPACT]
jljusten49ba9442009-05-27 21:10:18 +0000373FvAlignment = 16
374ERASE_POLARITY = 1
375MEMORY_MAPPED = TRUE
376STICKY_WRITE = TRUE
377LOCK_CAP = TRUE
378LOCK_STATUS = TRUE
379WRITE_DISABLED_CAP = TRUE
380WRITE_ENABLED_CAP = TRUE
381WRITE_STATUS = TRUE
382WRITE_LOCK_CAP = TRUE
383WRITE_LOCK_STATUS = TRUE
384READ_DISABLED_CAP = TRUE
385READ_ENABLED_CAP = TRUE
386READ_STATUS = TRUE
387READ_LOCK_CAP = TRUE
388READ_LOCK_STATUS = TRUE
389
mdkinney76d428b2010-06-25 22:23:22 +0000390FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
391 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
Jordan Justenb36f7012014-01-21 19:39:13 +0000392 #
393 # These firmware volumes will have files placed in them uncompressed,
394 # and then both firmware volumes will be compressed in a single
395 # compression operation in order to achieve better overall compression.
396 #
397 SECTION FV_IMAGE = PEIFV
398 SECTION FV_IMAGE = DXEFV
jljusten49ba9442009-05-27 21:10:18 +0000399 }
400 }
401
jljusten49ba9442009-05-27 21:10:18 +0000402################################################################################
jljusten49ba9442009-05-27 21:10:18 +0000403
jljusten49ba9442009-05-27 21:10:18 +0000404[Rule.Common.SEC]
405 FILE SEC = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000406 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000407 UI STRING ="$(MODULE_NAME)" Optional
408 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
409 }
410
mdkinney76d428b2010-06-25 22:23:22 +0000411[Rule.Common.PEI_CORE]
412 FILE PEI_CORE = $(NAMED_GUID) {
413 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
414 UI STRING ="$(MODULE_NAME)" Optional
415 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
jljustend40d3ba2009-10-07 16:01:09 +0000416 }
417
jljusten49ba9442009-05-27 21:10:18 +0000418[Rule.Common.PEIM]
419 FILE PEIM = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000420 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
421 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000422 UI STRING="$(MODULE_NAME)" Optional
423 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
424 }
425
jljusten49ba9442009-05-27 21:10:18 +0000426[Rule.Common.DXE_CORE]
427 FILE DXE_CORE = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000428 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000429 UI STRING="$(MODULE_NAME)" Optional
430 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
431 }
432
jljusten49ba9442009-05-27 21:10:18 +0000433[Rule.Common.DXE_DRIVER]
434 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000435 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
436 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000437 UI STRING="$(MODULE_NAME)" Optional
438 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
439 }
440
441[Rule.Common.DXE_RUNTIME_DRIVER]
442 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000443 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
444 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000445 UI STRING="$(MODULE_NAME)" Optional
446 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
447 }
mdkinney7416f4e2010-07-26 18:07:19 +0000448
mdkinney76d428b2010-06-25 22:23:22 +0000449[Rule.Common.UEFI_DRIVER]
450 FILE DRIVER = $(NAMED_GUID) {
451 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
lgao42014a812010-03-01 06:47:58 +0000452 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000453 UI STRING="$(MODULE_NAME)" Optional
454 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
455 }
456
mdkinney7a743a22010-06-29 04:55:13 +0000457[Rule.Common.UEFI_DRIVER.BINARY]
mdkinney3b33c6d2010-06-29 18:34:32 +0000458 FILE DRIVER = $(NAMED_GUID) {
mdkinney7a743a22010-06-29 04:55:13 +0000459 DXE_DEPEX DXE_DEPEX Optional |.depex
460 PE32 PE32 |.efi
461 UI STRING="$(MODULE_NAME)" Optional
462 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
463 }
jljusten8c71ec82012-08-15 00:03:59 +0000464
mdkinney76d428b2010-06-25 22:23:22 +0000465[Rule.Common.UEFI_APPLICATION]
lgao4d989c452010-03-02 02:50:32 +0000466 FILE APPLICATION = $(NAMED_GUID) {
mdkinney76d428b2010-06-25 22:23:22 +0000467 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
lgao4d989c452010-03-02 02:50:32 +0000468 UI STRING="$(MODULE_NAME)" Optional
469 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
470 }
471
mdkinney7a743a22010-06-29 04:55:13 +0000472[Rule.Common.UEFI_APPLICATION.BINARY]
473 FILE APPLICATION = $(NAMED_GUID) {
474 PE32 PE32 |.efi
475 UI STRING="$(MODULE_NAME)" Optional
476 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
477 }
jljusten8c71ec82012-08-15 00:03:59 +0000478
vanjeff48889992009-08-11 05:30:52 +0000479[Rule.Common.USER_DEFINED.ACPITABLE]
jljusten49ba9442009-05-27 21:10:18 +0000480 FILE FREEFORM = $(NAMED_GUID) {
481 RAW ACPI |.acpi
482 RAW ASL |.aml
483 }
484
jljusten4b3d6632011-11-10 22:04:49 +0000485[Rule.Common.USER_DEFINED.CSM]
486 FILE FREEFORM = $(NAMED_GUID) {
487 RAW BIN |.bin
488 }
489
jljusten49ba9442009-05-27 21:10:18 +0000490[Rule.Common.SEC.RESET_VECTOR]
491 FILE RAW = $(NAMED_GUID) {
492 RAW RAW |.raw
493 }