1 | ## @file
|
---|
2 | # Open Virtual Machine Firmware: FDF
|
---|
3 | #
|
---|
4 | # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
---|
5 | #
|
---|
6 | # This program and the accompanying materials
|
---|
7 | # 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 | #
|
---|
14 | ##
|
---|
15 |
|
---|
16 | ################################################################################
|
---|
17 |
|
---|
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
|
---|
26 | !ifndef $(FD_SIZE_2MB)
|
---|
27 | DEFINE FD_SIZE_1MB=
|
---|
28 | !endif
|
---|
29 | !endif
|
---|
30 |
|
---|
31 | !include OvmfPkg.fdf.inc
|
---|
32 |
|
---|
33 | #
|
---|
34 | # Build the variable store and the firmware code as one unified flash device
|
---|
35 | # image.
|
---|
36 | #
|
---|
37 | [FD.OVMF]
|
---|
38 | BaseAddress = $(FW_BASE_ADDRESS)
|
---|
39 | Size = $(FW_SIZE)
|
---|
40 | ErasePolarity = 1
|
---|
41 | BlockSize = $(BLOCK_SIZE)
|
---|
42 | NumBlocks = $(FW_BLOCKS)
|
---|
43 |
|
---|
44 | !include VarStore.fdf.inc
|
---|
45 |
|
---|
46 | $(VARS_SIZE)|$(FVMAIN_SIZE)
|
---|
47 | FV = FVMAIN_COMPACT
|
---|
48 |
|
---|
49 | $(SECFV_OFFSET)|$(SECFV_SIZE)
|
---|
50 | FV = SECFV
|
---|
51 |
|
---|
52 | #
|
---|
53 | # Build the variable store and the firmware code as separate flash device
|
---|
54 | # images.
|
---|
55 | #
|
---|
56 | [FD.OVMF_VARS]
|
---|
57 | BaseAddress = $(FW_BASE_ADDRESS)
|
---|
58 | Size = $(VARS_SIZE)
|
---|
59 | ErasePolarity = 1
|
---|
60 | BlockSize = $(BLOCK_SIZE)
|
---|
61 | NumBlocks = $(VARS_BLOCKS)
|
---|
62 |
|
---|
63 | !include VarStore.fdf.inc
|
---|
64 |
|
---|
65 | [FD.OVMF_CODE]
|
---|
66 | BaseAddress = $(CODE_BASE_ADDRESS)
|
---|
67 | Size = $(CODE_SIZE)
|
---|
68 | ErasePolarity = 1
|
---|
69 | BlockSize = $(BLOCK_SIZE)
|
---|
70 | NumBlocks = $(CODE_BLOCKS)
|
---|
71 |
|
---|
72 | 0x00000000|$(FVMAIN_SIZE)
|
---|
73 | FV = FVMAIN_COMPACT
|
---|
74 |
|
---|
75 | $(FVMAIN_SIZE)|$(SECFV_SIZE)
|
---|
76 | FV = SECFV
|
---|
77 |
|
---|
78 | ################################################################################
|
---|
79 |
|
---|
80 | [FD.MEMFD]
|
---|
81 | !ifndef $(VBOX)
|
---|
82 | BaseAddress = 0x800000
|
---|
83 | !else
|
---|
84 | # Need to relocate this or it interferes with certain OS X bootloaders breaking OS X guests
|
---|
85 | BaseAddress = 0x2000000
|
---|
86 | !endif
|
---|
87 | Size = 0x900000
|
---|
88 | ErasePolarity = 1
|
---|
89 | BlockSize = 0x10000
|
---|
90 | NumBlocks = 0x90
|
---|
91 |
|
---|
92 | 0x000000|0x006000
|
---|
93 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
|
---|
94 |
|
---|
95 | 0x006000|0x001000
|
---|
96 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize
|
---|
97 |
|
---|
98 | 0x007000|0x001000
|
---|
99 | gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
|
---|
100 |
|
---|
101 | 0x010000|0x008000
|
---|
102 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
|
---|
103 |
|
---|
104 | 0x018000|0x008000
|
---|
105 | gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase|gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize
|
---|
106 |
|
---|
107 | 0x020000|0x0E0000
|
---|
108 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
|
---|
109 | FV = PEIFV
|
---|
110 |
|
---|
111 | 0x100000|0x800000
|
---|
112 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
|
---|
113 | FV = DXEFV
|
---|
114 |
|
---|
115 | ################################################################################
|
---|
116 |
|
---|
117 | [FV.SECFV]
|
---|
118 | BlockSize = 0x1000
|
---|
119 | FvAlignment = 16
|
---|
120 | ERASE_POLARITY = 1
|
---|
121 | MEMORY_MAPPED = TRUE
|
---|
122 | STICKY_WRITE = TRUE
|
---|
123 | LOCK_CAP = TRUE
|
---|
124 | LOCK_STATUS = TRUE
|
---|
125 | WRITE_DISABLED_CAP = TRUE
|
---|
126 | WRITE_ENABLED_CAP = TRUE
|
---|
127 | WRITE_STATUS = TRUE
|
---|
128 | WRITE_LOCK_CAP = TRUE
|
---|
129 | WRITE_LOCK_STATUS = TRUE
|
---|
130 | READ_DISABLED_CAP = TRUE
|
---|
131 | READ_ENABLED_CAP = TRUE
|
---|
132 | READ_STATUS = TRUE
|
---|
133 | READ_LOCK_CAP = TRUE
|
---|
134 | READ_LOCK_STATUS = TRUE
|
---|
135 |
|
---|
136 | #
|
---|
137 | # SEC Phase modules
|
---|
138 | #
|
---|
139 | # The code in this FV handles the initial firmware startup, and
|
---|
140 | # decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
|
---|
141 | #
|
---|
142 | INF OvmfPkg/Sec/SecMain.inf
|
---|
143 |
|
---|
144 | INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
|
---|
145 |
|
---|
146 | ################################################################################
|
---|
147 | [FV.PEIFV]
|
---|
148 | BlockSize = 0x10000
|
---|
149 | FvAlignment = 16
|
---|
150 | ERASE_POLARITY = 1
|
---|
151 | MEMORY_MAPPED = TRUE
|
---|
152 | STICKY_WRITE = TRUE
|
---|
153 | LOCK_CAP = TRUE
|
---|
154 | LOCK_STATUS = TRUE
|
---|
155 | WRITE_DISABLED_CAP = TRUE
|
---|
156 | WRITE_ENABLED_CAP = TRUE
|
---|
157 | WRITE_STATUS = TRUE
|
---|
158 | WRITE_LOCK_CAP = TRUE
|
---|
159 | WRITE_LOCK_STATUS = TRUE
|
---|
160 | READ_DISABLED_CAP = TRUE
|
---|
161 | READ_ENABLED_CAP = TRUE
|
---|
162 | READ_STATUS = TRUE
|
---|
163 | READ_LOCK_CAP = TRUE
|
---|
164 | READ_LOCK_STATUS = TRUE
|
---|
165 |
|
---|
166 | APRIORI PEI {
|
---|
167 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
---|
168 | }
|
---|
169 |
|
---|
170 | #
|
---|
171 | # PEI Phase modules
|
---|
172 | #
|
---|
173 | INF MdeModulePkg/Core/Pei/PeiMain.inf
|
---|
174 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
---|
175 | INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
|
---|
176 | INF OvmfPkg/PlatformPei/PlatformPei.inf
|
---|
177 | INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
---|
178 | INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
|
---|
179 |
|
---|
180 | ################################################################################
|
---|
181 |
|
---|
182 | [FV.DXEFV]
|
---|
183 | BlockSize = 0x10000
|
---|
184 | FvAlignment = 16
|
---|
185 | ERASE_POLARITY = 1
|
---|
186 | MEMORY_MAPPED = TRUE
|
---|
187 | STICKY_WRITE = TRUE
|
---|
188 | LOCK_CAP = TRUE
|
---|
189 | LOCK_STATUS = TRUE
|
---|
190 | WRITE_DISABLED_CAP = TRUE
|
---|
191 | WRITE_ENABLED_CAP = TRUE
|
---|
192 | WRITE_STATUS = TRUE
|
---|
193 | WRITE_LOCK_CAP = TRUE
|
---|
194 | WRITE_LOCK_STATUS = TRUE
|
---|
195 | READ_DISABLED_CAP = TRUE
|
---|
196 | READ_ENABLED_CAP = TRUE
|
---|
197 | READ_STATUS = TRUE
|
---|
198 | READ_LOCK_CAP = TRUE
|
---|
199 | READ_LOCK_STATUS = TRUE
|
---|
200 |
|
---|
201 | APRIORI DXE {
|
---|
202 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
---|
203 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
---|
204 | !ifndef $(VBOX)
|
---|
205 | INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
---|
206 | !endif
|
---|
207 | }
|
---|
208 |
|
---|
209 | #
|
---|
210 | # DXE Phase modules
|
---|
211 | #
|
---|
212 | INF MdeModulePkg/Core/Dxe/DxeMain.inf
|
---|
213 |
|
---|
214 | INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
|
---|
215 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
---|
216 |
|
---|
217 | INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
---|
218 | INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
---|
219 | INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
---|
220 | INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
|
---|
221 | INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
---|
222 | INF UefiCpuPkg/CpuDxe/CpuDxe.inf
|
---|
223 | INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
|
---|
224 | INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
|
---|
225 | INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
|
---|
226 | INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
|
---|
227 | INF MdeModulePkg/Universal/Metronome/Metronome.inf
|
---|
228 | INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
---|
229 |
|
---|
230 | INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
|
---|
231 | INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
|
---|
232 | !ifndef $(VBOX)
|
---|
233 | INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
---|
234 | INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
|
---|
235 | INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
---|
236 | !endif
|
---|
237 | INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
|
---|
238 | !ifndef $(VBOX)
|
---|
239 | INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
---|
240 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
---|
241 | INF SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
|
---|
242 | INF OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
|
---|
243 | !else
|
---|
244 | INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
---|
245 | !endif
|
---|
246 | !else
|
---|
247 | INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
|
---|
248 | !endif
|
---|
249 | INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
---|
250 | INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
---|
251 | INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
---|
252 | INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
---|
253 | INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
---|
254 | INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
---|
255 | INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
---|
256 | INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
---|
257 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
---|
258 | INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
|
---|
259 | INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
---|
260 | INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
---|
261 | INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
---|
262 | INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
---|
263 | INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
---|
264 | !ifndef $(VBOX)
|
---|
265 | INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
---|
266 | !endif
|
---|
267 | INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
|
---|
268 | INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
---|
269 | INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
---|
270 | INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
---|
271 | INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
---|
272 |
|
---|
273 | !ifdef $(VBOX)
|
---|
274 | INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
---|
275 | INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
---|
276 | INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
|
---|
277 | INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
|
---|
278 | INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
|
---|
279 | INF VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
|
---|
280 | INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
|
---|
281 | INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
|
---|
282 | INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
|
---|
283 | # we need it for VBoxAppleSim
|
---|
284 | INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
|
---|
285 | INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
|
---|
286 | INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
|
---|
287 | INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
|
---|
288 | !endif
|
---|
289 |
|
---|
290 | INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
|
---|
291 | INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
|
---|
292 | INF IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
|
---|
293 |
|
---|
294 | !ifndef $(SOURCE_DEBUG_ENABLE)
|
---|
295 | INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
|
---|
296 | !endif
|
---|
297 |
|
---|
298 | INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
|
---|
299 | INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
|
---|
300 |
|
---|
301 | INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
---|
302 | INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
|
---|
303 |
|
---|
304 | !ifndef $(VBOX)
|
---|
305 | INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
306 | INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
|
---|
307 | INF OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
|
---|
308 | INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
|
---|
309 | INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
|
---|
310 | !else
|
---|
311 | INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
---|
312 | INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
313 | !endif
|
---|
314 |
|
---|
315 | INF RuleOverride = BINARY FatBinPkg/EnhancedFatDxe/Fat.inf
|
---|
316 |
|
---|
317 | !ifndef $(USE_OLD_SHELL)
|
---|
318 | INF ShellPkg/Application/Shell/Shell.inf
|
---|
319 | !else
|
---|
320 | INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
|
---|
321 | !endif
|
---|
322 |
|
---|
323 | FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
|
---|
324 | !ifndef $(VBOX)
|
---|
325 | SECTION RAW = MdeModulePkg/Logo/Logo.bmp
|
---|
326 | !else
|
---|
327 | SECTION RAW = VBoxPkg/Logo/boot_logo.bmp
|
---|
328 | !endif
|
---|
329 | }
|
---|
330 |
|
---|
331 | #
|
---|
332 | # Network modules
|
---|
333 | #
|
---|
334 | !if $(E1000_ENABLE)
|
---|
335 | FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
|
---|
336 | SECTION PE32 = Intel3.5/EFI32/E3507E2.EFI
|
---|
337 | }
|
---|
338 | !endif
|
---|
339 | INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
|
---|
340 | INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
|
---|
341 | INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
|
---|
342 | INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
|
---|
343 | INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
|
---|
344 | INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
|
---|
345 | INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
|
---|
346 | INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
|
---|
347 | INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
|
---|
348 | INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
|
---|
349 | INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
|
---|
350 | INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
---|
351 | INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
|
---|
352 | INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
|
---|
353 |
|
---|
354 | #
|
---|
355 | # Usb Support
|
---|
356 | #
|
---|
357 | !ifndef $(VBOX)
|
---|
358 | INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
---|
359 | !else
|
---|
360 | INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
---|
361 | INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
|
---|
362 | !endif
|
---|
363 | INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
---|
364 | INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
---|
365 | INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
---|
366 |
|
---|
367 | !ifdef $(CSM_ENABLE)
|
---|
368 | INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
|
---|
369 | INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
|
---|
370 | INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
|
---|
371 | !endif
|
---|
372 |
|
---|
373 | !ifndef $(VBOX)
|
---|
374 | INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
|
---|
375 | !endif
|
---|
376 | INF OvmfPkg/PlatformDxe/Platform.inf
|
---|
377 |
|
---|
378 | ################################################################################
|
---|
379 |
|
---|
380 | [FV.FVMAIN_COMPACT]
|
---|
381 | FvAlignment = 16
|
---|
382 | ERASE_POLARITY = 1
|
---|
383 | MEMORY_MAPPED = TRUE
|
---|
384 | STICKY_WRITE = TRUE
|
---|
385 | LOCK_CAP = TRUE
|
---|
386 | LOCK_STATUS = TRUE
|
---|
387 | WRITE_DISABLED_CAP = TRUE
|
---|
388 | WRITE_ENABLED_CAP = TRUE
|
---|
389 | WRITE_STATUS = TRUE
|
---|
390 | WRITE_LOCK_CAP = TRUE
|
---|
391 | WRITE_LOCK_STATUS = TRUE
|
---|
392 | READ_DISABLED_CAP = TRUE
|
---|
393 | READ_ENABLED_CAP = TRUE
|
---|
394 | READ_STATUS = TRUE
|
---|
395 | READ_LOCK_CAP = TRUE
|
---|
396 | READ_LOCK_STATUS = TRUE
|
---|
397 |
|
---|
398 | FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
|
---|
399 | SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
|
---|
400 | #
|
---|
401 | # These firmware volumes will have files placed in them uncompressed,
|
---|
402 | # and then both firmware volumes will be compressed in a single
|
---|
403 | # compression operation in order to achieve better overall compression.
|
---|
404 | #
|
---|
405 | SECTION FV_IMAGE = PEIFV
|
---|
406 | SECTION FV_IMAGE = DXEFV
|
---|
407 | }
|
---|
408 | }
|
---|
409 |
|
---|
410 | ################################################################################
|
---|
411 |
|
---|
412 | [Rule.Common.SEC]
|
---|
413 | FILE SEC = $(NAMED_GUID) {
|
---|
414 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
415 | UI STRING ="$(MODULE_NAME)" Optional
|
---|
416 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
417 | }
|
---|
418 |
|
---|
419 | [Rule.Common.PEI_CORE]
|
---|
420 | FILE PEI_CORE = $(NAMED_GUID) {
|
---|
421 | PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
422 | UI STRING ="$(MODULE_NAME)" Optional
|
---|
423 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
424 | }
|
---|
425 |
|
---|
426 | [Rule.Common.PEIM]
|
---|
427 | FILE PEIM = $(NAMED_GUID) {
|
---|
428 | PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
429 | PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
430 | UI STRING="$(MODULE_NAME)" Optional
|
---|
431 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
432 | }
|
---|
433 |
|
---|
434 | [Rule.Common.DXE_CORE]
|
---|
435 | FILE DXE_CORE = $(NAMED_GUID) {
|
---|
436 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
437 | UI STRING="$(MODULE_NAME)" Optional
|
---|
438 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
439 | }
|
---|
440 |
|
---|
441 | [Rule.Common.DXE_DRIVER]
|
---|
442 | FILE DRIVER = $(NAMED_GUID) {
|
---|
443 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
444 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
445 | UI STRING="$(MODULE_NAME)" Optional
|
---|
446 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
447 | }
|
---|
448 |
|
---|
449 | [Rule.Common.DXE_RUNTIME_DRIVER]
|
---|
450 | FILE DRIVER = $(NAMED_GUID) {
|
---|
451 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
452 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
453 | UI STRING="$(MODULE_NAME)" Optional
|
---|
454 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
455 | }
|
---|
456 |
|
---|
457 | [Rule.Common.UEFI_DRIVER]
|
---|
458 | FILE DRIVER = $(NAMED_GUID) {
|
---|
459 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
460 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
461 | UI STRING="$(MODULE_NAME)" Optional
|
---|
462 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
463 | }
|
---|
464 |
|
---|
465 | [Rule.Common.UEFI_DRIVER.BINARY]
|
---|
466 | FILE DRIVER = $(NAMED_GUID) {
|
---|
467 | DXE_DEPEX DXE_DEPEX Optional |.depex
|
---|
468 | PE32 PE32 |.efi
|
---|
469 | UI STRING="$(MODULE_NAME)" Optional
|
---|
470 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
471 | }
|
---|
472 |
|
---|
473 | [Rule.Common.UEFI_APPLICATION]
|
---|
474 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
475 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
476 | UI STRING="$(MODULE_NAME)" Optional
|
---|
477 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
478 | }
|
---|
479 |
|
---|
480 | [Rule.Common.UEFI_APPLICATION.BINARY]
|
---|
481 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
482 | PE32 PE32 |.efi
|
---|
483 | UI STRING="$(MODULE_NAME)" Optional
|
---|
484 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
485 | }
|
---|
486 |
|
---|
487 | [Rule.Common.USER_DEFINED.ACPITABLE]
|
---|
488 | FILE FREEFORM = $(NAMED_GUID) {
|
---|
489 | RAW ACPI |.acpi
|
---|
490 | RAW ASL |.aml
|
---|
491 | }
|
---|
492 |
|
---|
493 | [Rule.Common.USER_DEFINED.CSM]
|
---|
494 | FILE FREEFORM = $(NAMED_GUID) {
|
---|
495 | RAW BIN |.bin
|
---|
496 | }
|
---|
497 |
|
---|
498 | [Rule.Common.SEC.RESET_VECTOR]
|
---|
499 | FILE RAW = $(NAMED_GUID) {
|
---|
500 | RAW BIN Align = 16 |.bin
|
---|
501 | }
|
---|