VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/OvmfPkgX64.fdf@ 99396

Last change on this file since 99396 was 93492, checked in by vboxsync, 3 years ago

EFI: Revert r139958 as it breaks booting from FreeBSD ISO images with EFI enabled, ticketref:19910 (will break ticketref:19862 but there is network boot support now making the iPXE ISO image approach superfluous)

  • Property svn:eol-style set to native
File size: 18.2 KB
Line 
1## @file
2# Open Virtual Machine Firmware: FDF
3#
4# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
5# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6#
7# SPDX-License-Identifier: BSD-2-Clause-Patent
8#
9##
10
11################################################################################
12
13[Defines]
14!include OvmfPkgDefines.fdf.inc
15
16#
17# Build the variable store and the firmware code as one unified flash device
18# image.
19#
20[FD.OVMF]
21BaseAddress = $(FW_BASE_ADDRESS)
22Size = $(FW_SIZE)
23ErasePolarity = 1
24BlockSize = $(BLOCK_SIZE)
25NumBlocks = $(FW_BLOCKS)
26
27!include VarStore.fdf.inc
28
29$(VARS_SIZE)|$(FVMAIN_SIZE)
30FV = FVMAIN_COMPACT
31
32$(SECFV_OFFSET)|$(SECFV_SIZE)
33FV = SECFV
34
35#
36# Build the variable store and the firmware code as separate flash device
37# images.
38#
39[FD.OVMF_VARS]
40BaseAddress = $(FW_BASE_ADDRESS)
41Size = $(VARS_SIZE)
42ErasePolarity = 1
43BlockSize = $(BLOCK_SIZE)
44NumBlocks = $(VARS_BLOCKS)
45
46!include VarStore.fdf.inc
47
48[FD.OVMF_CODE]
49BaseAddress = $(CODE_BASE_ADDRESS)
50Size = $(CODE_SIZE)
51ErasePolarity = 1
52BlockSize = $(BLOCK_SIZE)
53NumBlocks = $(CODE_BLOCKS)
54
550x00000000|$(FVMAIN_SIZE)
56FV = FVMAIN_COMPACT
57
58$(FVMAIN_SIZE)|$(SECFV_SIZE)
59FV = SECFV
60
61################################################################################
62
63[FD.MEMFD]
64BaseAddress = $(MEMFD_BASE_ADDRESS)
65Size = 0xD00000
66ErasePolarity = 1
67BlockSize = 0x10000
68NumBlocks = 0xD0
69
700x000000|0x006000
71gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
72
730x006000|0x001000
74gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize
75
760x007000|0x001000
77gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
78
790x008000|0x001000
80gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableSize
81
820x009000|0x002000
83gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbSize
84
850x00B000|0x001000
86gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase|gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaSize
87
880x00C000|0x001000
89gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupSize
90
910x010000|0x010000
92gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
93
940x020000|0x0E0000
95gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
96FV = PEIFV
97
980x100000|0xC00000
99gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
100FV = DXEFV
101
102################################################################################
103
104[FV.SECFV]
105FvNameGuid = 763BED0D-DE9F-48F5-81F1-3E90E1B1A015
106BlockSize = 0x1000
107FvAlignment = 16
108ERASE_POLARITY = 1
109MEMORY_MAPPED = TRUE
110STICKY_WRITE = TRUE
111LOCK_CAP = TRUE
112LOCK_STATUS = TRUE
113WRITE_DISABLED_CAP = TRUE
114WRITE_ENABLED_CAP = TRUE
115WRITE_STATUS = TRUE
116WRITE_LOCK_CAP = TRUE
117WRITE_LOCK_STATUS = TRUE
118READ_DISABLED_CAP = TRUE
119READ_ENABLED_CAP = TRUE
120READ_STATUS = TRUE
121READ_LOCK_CAP = TRUE
122READ_LOCK_STATUS = TRUE
123
124#
125# SEC Phase modules
126#
127# The code in this FV handles the initial firmware startup, and
128# decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
129#
130INF OvmfPkg/Sec/SecMain.inf
131
132INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
133
134################################################################################
135[FV.PEIFV]
136FvNameGuid = 6938079B-B503-4E3D-9D24-B28337A25806
137BlockSize = 0x10000
138FvAlignment = 16
139ERASE_POLARITY = 1
140MEMORY_MAPPED = TRUE
141STICKY_WRITE = TRUE
142LOCK_CAP = TRUE
143LOCK_STATUS = TRUE
144WRITE_DISABLED_CAP = TRUE
145WRITE_ENABLED_CAP = TRUE
146WRITE_STATUS = TRUE
147WRITE_LOCK_CAP = TRUE
148WRITE_LOCK_STATUS = TRUE
149READ_DISABLED_CAP = TRUE
150READ_ENABLED_CAP = TRUE
151READ_STATUS = TRUE
152READ_LOCK_CAP = TRUE
153READ_LOCK_STATUS = TRUE
154
155APRIORI PEI {
156 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
157}
158
159#
160# PEI Phase modules
161#
162INF MdeModulePkg/Core/Pei/PeiMain.inf
163INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
164INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
165INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
166INF OvmfPkg/PlatformPei/PlatformPei.inf
167INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
168INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
169!if $(SMM_REQUIRE) == TRUE
170INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
171INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
172INF OvmfPkg/SmmAccess/SmmAccessPei.inf
173!endif
174INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
175
176!if $(TPM_ENABLE) == TRUE
177INF OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPei.inf
178INF OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
179INF SecurityPkg/Tcg/TcgPei/TcgPei.inf
180INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
181!endif
182
183################################################################################
184
185[FV.DXEFV]
186FvForceRebase = FALSE
187FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
188BlockSize = 0x10000
189FvAlignment = 16
190ERASE_POLARITY = 1
191MEMORY_MAPPED = TRUE
192STICKY_WRITE = TRUE
193LOCK_CAP = TRUE
194LOCK_STATUS = TRUE
195WRITE_DISABLED_CAP = TRUE
196WRITE_ENABLED_CAP = TRUE
197WRITE_STATUS = TRUE
198WRITE_LOCK_CAP = TRUE
199WRITE_LOCK_STATUS = TRUE
200READ_DISABLED_CAP = TRUE
201READ_ENABLED_CAP = TRUE
202READ_STATUS = TRUE
203READ_LOCK_CAP = TRUE
204READ_LOCK_STATUS = TRUE
205
206APRIORI DXE {
207 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
208 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
209!ifndef $(VBOX)
210 INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf
211!endif
212!if $(SMM_REQUIRE) == FALSE
213 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
214!endif
215}
216
217#
218# DXE Phase modules
219#
220INF MdeModulePkg/Core/Dxe/DxeMain.inf
221
222INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
223INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
224INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
225
226INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
227INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
228INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
229INF OvmfPkg/8259InterruptControllerDxe/8259.inf
230INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
231INF UefiCpuPkg/CpuDxe/CpuDxe.inf
232INF OvmfPkg/8254TimerDxe/8254Timer.inf
233INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
234INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
235INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
236INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
237INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
238INF MdeModulePkg/Universal/Metronome/Metronome.inf
239INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
240
241INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
242INF OvmfPkg/Virtio10Dxe/Virtio10.inf
243!ifndef $(VBOX)
244INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
245!endif
246INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
247!ifndef $(VBOX)
248INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
249INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
250INF OvmfPkg/XenBusDxe/XenBusDxe.inf
251INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
252!endif
253!if $(PVSCSI_ENABLE) == TRUE
254INF OvmfPkg/PvScsiDxe/PvScsiDxe.inf
255!endif
256!if $(MPT_SCSI_ENABLE) == TRUE
257INF OvmfPkg/MptScsiDxe/MptScsiDxe.inf
258!endif
259!if $(LSI_SCSI_ENABLE) == TRUE
260INF OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
261!endif
262
263!if $(SECURE_BOOT_ENABLE) == TRUE
264 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
265!endif
266
267INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
268INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
269INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
270INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
271INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
272INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
273INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
274INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
275INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
276INF MdeModulePkg/Application/UiApp/UiApp.inf
277INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
278INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
279INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
280INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
281INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
282INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
283INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
284INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
285INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
286INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf
287INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
288INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
289INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
290INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
291INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
292INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
293INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
294
295INF OvmfPkg/SioBusDxe/SioBusDxe.inf
296!if $(SOURCE_DEBUG_ENABLE) == FALSE
297INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
298!endif
299INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
300
301INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
302INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
303
304!ifdef $(VBOX)
305INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
306INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
307INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
308INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
309INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
310INF VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf
311INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
312!endif
313
314!ifndef $(VBOX)
315INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
316INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
317INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
318INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
319INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
320INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
321!else
322INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
323INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
324!endif
325
326INF FatPkg/EnhancedFatDxe/Fat.inf
327INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
328INF OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
329
330!if $(TOOL_CHAIN_TAG) != "XCODE5"
331INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
332INF ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
333INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
334!endif
335INF ShellPkg/Application/Shell/Shell.inf
336
337!ifndef $(VBOX)
338INF MdeModulePkg/Logo/LogoDxe.inf
339!else
340INF VBoxPkg/Logo/LogoDxe.inf
341!endif
342
343#
344# Network modules
345#
346!if $(E1000_ENABLE)
347 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
348 SECTION PE32 = Intel3.5/EFIX64/E3522X2.EFI
349 }
350!endif
351!include NetworkPkg/Network.fdf.inc
352 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
353!ifdef $(VBOX)
354 INF VBoxPkg/E1kNetDxe/E1kNet.inf
355!endif
356
357#
358# Usb Support
359#
360INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
361INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
362INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
363INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
364INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
365INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
366
367!ifdef $(CSM_ENABLE)
368INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
369INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
370INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
371!else
372!ifndef $(VBOX)
373INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
374!endif
375!endif
376
377!ifndef $(VBOX)
378INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
379INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
380!endif
381INF OvmfPkg/PlatformDxe/Platform.inf
382INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
383
384!if $(SMM_REQUIRE) == TRUE
385INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
386INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
387INF OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
388INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
389INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
390INF OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
391INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
392INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
393INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
394
395#
396# Variable driver stack (SMM)
397#
398INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
399INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
400INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
401INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
402
403!else
404
405#
406# Variable driver stack (non-SMM)
407#
408INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
409INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
410INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
411INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
412!endif
413
414#
415# TPM support
416#
417!if $(TPM_ENABLE) == TRUE
418INF SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
419INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
420!if $(TPM_CONFIG_ENABLE) == TRUE
421INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
422!endif
423!endif
424
425################################################################################
426
427[FV.FVMAIN_COMPACT]
428FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
429FvAlignment = 16
430ERASE_POLARITY = 1
431MEMORY_MAPPED = TRUE
432STICKY_WRITE = TRUE
433LOCK_CAP = TRUE
434LOCK_STATUS = TRUE
435WRITE_DISABLED_CAP = TRUE
436WRITE_ENABLED_CAP = TRUE
437WRITE_STATUS = TRUE
438WRITE_LOCK_CAP = TRUE
439WRITE_LOCK_STATUS = TRUE
440READ_DISABLED_CAP = TRUE
441READ_ENABLED_CAP = TRUE
442READ_STATUS = TRUE
443READ_LOCK_CAP = TRUE
444READ_LOCK_STATUS = TRUE
445
446FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
447 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
448 #
449 # These firmware volumes will have files placed in them uncompressed,
450 # and then both firmware volumes will be compressed in a single
451 # compression operation in order to achieve better overall compression.
452 #
453 SECTION FV_IMAGE = PEIFV
454 SECTION FV_IMAGE = DXEFV
455 }
456 }
457
458!include FvmainCompactScratchEnd.fdf.inc
459
460################################################################################
461
462[Rule.Common.SEC]
463 FILE SEC = $(NAMED_GUID) {
464 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
465 UI STRING ="$(MODULE_NAME)" Optional
466 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
467 }
468
469[Rule.Common.PEI_CORE]
470 FILE PEI_CORE = $(NAMED_GUID) {
471 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
472 UI STRING ="$(MODULE_NAME)" Optional
473 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
474 }
475
476[Rule.Common.PEIM]
477 FILE PEIM = $(NAMED_GUID) {
478 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
479 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
480 UI STRING="$(MODULE_NAME)" Optional
481 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
482 }
483
484[Rule.Common.DXE_CORE]
485 FILE DXE_CORE = $(NAMED_GUID) {
486 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
487 UI STRING="$(MODULE_NAME)" Optional
488 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
489 }
490
491[Rule.Common.DXE_DRIVER]
492 FILE DRIVER = $(NAMED_GUID) {
493 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
494 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
495 UI STRING="$(MODULE_NAME)" Optional
496 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
497 RAW ACPI Optional |.acpi
498 RAW ASL Optional |.aml
499 }
500
501[Rule.Common.DXE_RUNTIME_DRIVER]
502 FILE DRIVER = $(NAMED_GUID) {
503 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
504 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
505 UI STRING="$(MODULE_NAME)" Optional
506 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
507 }
508
509[Rule.Common.UEFI_DRIVER]
510 FILE DRIVER = $(NAMED_GUID) {
511 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
512 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
513 UI STRING="$(MODULE_NAME)" Optional
514 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
515 }
516
517[Rule.Common.UEFI_DRIVER.BINARY]
518 FILE DRIVER = $(NAMED_GUID) {
519 DXE_DEPEX DXE_DEPEX Optional |.depex
520 PE32 PE32 |.efi
521 UI STRING="$(MODULE_NAME)" Optional
522 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
523 }
524
525[Rule.Common.UEFI_APPLICATION]
526 FILE APPLICATION = $(NAMED_GUID) {
527 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
528 UI STRING="$(MODULE_NAME)" Optional
529 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
530 }
531
532[Rule.Common.UEFI_APPLICATION.BINARY]
533 FILE APPLICATION = $(NAMED_GUID) {
534 PE32 PE32 |.efi
535 UI STRING="$(MODULE_NAME)" Optional
536 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
537 }
538
539[Rule.Common.USER_DEFINED.ACPITABLE]
540 FILE FREEFORM = $(NAMED_GUID) {
541 RAW ACPI |.acpi
542 RAW ASL |.aml
543 }
544
545[Rule.Common.USER_DEFINED.CSM]
546 FILE FREEFORM = $(NAMED_GUID) {
547 RAW BIN |.bin
548 }
549
550[Rule.Common.SEC.RESET_VECTOR]
551 FILE RAW = $(NAMED_GUID) {
552 RAW BIN Align = 16 |.bin
553 }
554
555[Rule.Common.SMM_CORE]
556 FILE SMM_CORE = $(NAMED_GUID) {
557 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
558 UI STRING="$(MODULE_NAME)" Optional
559 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
560 }
561
562[Rule.Common.DXE_SMM_DRIVER]
563 FILE SMM = $(NAMED_GUID) {
564 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
565 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
566 UI STRING="$(MODULE_NAME)" Optional
567 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
568 }
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette