VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgIa32.fdf@ 98412

Last change on this file since 98412 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: 17.7 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
790x010000|0x010000
80gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
81
820x020000|0x0E0000
83gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
84FV = PEIFV
85
860x100000|0xC00000
87gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
88FV = DXEFV
89
90################################################################################
91
92[FV.SECFV]
93FvNameGuid = 763BED0D-DE9F-48F5-81F1-3E90E1B1A015
94BlockSize = 0x1000
95FvAlignment = 16
96ERASE_POLARITY = 1
97MEMORY_MAPPED = TRUE
98STICKY_WRITE = TRUE
99LOCK_CAP = TRUE
100LOCK_STATUS = TRUE
101WRITE_DISABLED_CAP = TRUE
102WRITE_ENABLED_CAP = TRUE
103WRITE_STATUS = TRUE
104WRITE_LOCK_CAP = TRUE
105WRITE_LOCK_STATUS = TRUE
106READ_DISABLED_CAP = TRUE
107READ_ENABLED_CAP = TRUE
108READ_STATUS = TRUE
109READ_LOCK_CAP = TRUE
110READ_LOCK_STATUS = TRUE
111
112#
113# SEC Phase modules
114#
115# The code in this FV handles the initial firmware startup, and
116# decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
117#
118INF OvmfPkg/Sec/SecMain.inf
119
120INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
121
122################################################################################
123[FV.PEIFV]
124FvNameGuid = 6938079B-B503-4E3D-9D24-B28337A25806
125BlockSize = 0x10000
126FvAlignment = 16
127ERASE_POLARITY = 1
128MEMORY_MAPPED = TRUE
129STICKY_WRITE = TRUE
130LOCK_CAP = TRUE
131LOCK_STATUS = TRUE
132WRITE_DISABLED_CAP = TRUE
133WRITE_ENABLED_CAP = TRUE
134WRITE_STATUS = TRUE
135WRITE_LOCK_CAP = TRUE
136WRITE_LOCK_STATUS = TRUE
137READ_DISABLED_CAP = TRUE
138READ_ENABLED_CAP = TRUE
139READ_STATUS = TRUE
140READ_LOCK_CAP = TRUE
141READ_LOCK_STATUS = TRUE
142
143APRIORI PEI {
144 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
145}
146
147#
148# PEI Phase modules
149#
150INF MdeModulePkg/Core/Pei/PeiMain.inf
151INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
152INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
153INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
154INF OvmfPkg/PlatformPei/PlatformPei.inf
155INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
156INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
157!if $(SMM_REQUIRE) == TRUE
158INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
159INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
160INF OvmfPkg/SmmAccess/SmmAccessPei.inf
161!endif
162INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
163
164!if $(TPM_ENABLE) == TRUE
165INF OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPei.inf
166INF OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
167INF SecurityPkg/Tcg/TcgPei/TcgPei.inf
168INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
169!endif
170
171################################################################################
172
173[FV.DXEFV]
174FvForceRebase = FALSE
175FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
176BlockSize = 0x10000
177FvAlignment = 16
178ERASE_POLARITY = 1
179MEMORY_MAPPED = TRUE
180STICKY_WRITE = TRUE
181LOCK_CAP = TRUE
182LOCK_STATUS = TRUE
183WRITE_DISABLED_CAP = TRUE
184WRITE_ENABLED_CAP = TRUE
185WRITE_STATUS = TRUE
186WRITE_LOCK_CAP = TRUE
187WRITE_LOCK_STATUS = TRUE
188READ_DISABLED_CAP = TRUE
189READ_ENABLED_CAP = TRUE
190READ_STATUS = TRUE
191READ_LOCK_CAP = TRUE
192READ_LOCK_STATUS = TRUE
193
194APRIORI DXE {
195 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
196 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
197!if $(SMM_REQUIRE) == FALSE
198 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
199!endif
200}
201
202#
203# DXE Phase modules
204#
205INF MdeModulePkg/Core/Dxe/DxeMain.inf
206
207INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
208INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
209INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
210
211INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
212INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
213INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
214INF OvmfPkg/8259InterruptControllerDxe/8259.inf
215INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
216INF UefiCpuPkg/CpuDxe/CpuDxe.inf
217INF OvmfPkg/8254TimerDxe/8254Timer.inf
218INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
219INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
220INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
221INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
222INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
223INF MdeModulePkg/Universal/Metronome/Metronome.inf
224INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
225
226INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
227INF OvmfPkg/Virtio10Dxe/Virtio10.inf
228!ifndef $(VBOX)
229INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
230!endif
231INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
232!ifndef $(VBOX)
233INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
234INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
235INF OvmfPkg/XenBusDxe/XenBusDxe.inf
236INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
237!endif
238!if $(PVSCSI_ENABLE) == TRUE
239INF OvmfPkg/PvScsiDxe/PvScsiDxe.inf
240!endif
241!if $(MPT_SCSI_ENABLE) == TRUE
242INF OvmfPkg/MptScsiDxe/MptScsiDxe.inf
243!endif
244!if $(LSI_SCSI_ENABLE) == TRUE
245INF OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
246!endif
247
248!if $(SECURE_BOOT_ENABLE) == TRUE
249 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
250!endif
251
252INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
253INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
254INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
255INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
256INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
257INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
258INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
259INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
260INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
261INF MdeModulePkg/Application/UiApp/UiApp.inf
262INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
263INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
264INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
265INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
266INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
267INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
268INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
269INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
270INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
271INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf
272INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
273INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
274INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
275INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
276INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
277INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
278INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
279
280INF OvmfPkg/SioBusDxe/SioBusDxe.inf
281!if $(SOURCE_DEBUG_ENABLE) == FALSE
282INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
283!endif
284INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
285
286INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
287INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
288
289!ifdef $(VBOX)
290INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
291INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
292INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
293INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
294INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
295# INF VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf -- 64-bit only!
296INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
297!endif
298
299!ifndef $(VBOX)
300INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
301INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
302INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
303INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
304INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
305INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
306!else
307INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
308INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
309!endif
310
311INF FatPkg/EnhancedFatDxe/Fat.inf
312INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
313INF OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
314
315!if $(TOOL_CHAIN_TAG) != "XCODE5"
316INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
317INF ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
318INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
319!endif
320INF ShellPkg/Application/Shell/Shell.inf
321
322!ifndef $(VBOX)
323INF MdeModulePkg/Logo/LogoDxe.inf
324!else
325INF VBoxPkg/Logo/LogoDxe.inf
326!endif
327
328#
329# Network modules
330#
331!include NetworkPkg/Network.fdf.inc
332 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
333!ifdef $(VBOX)
334 INF VBoxPkg/E1kNetDxe/E1kNet.inf
335!endif
336
337#
338# Usb Support
339#
340!ifndef $(VBOX)
341INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
342!endif
343INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
344INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
345INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
346INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
347INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
348
349!ifdef $(CSM_ENABLE)
350INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
351INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
352INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
353!else
354!ifndef $(VBOX)
355INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
356!endif
357!endif
358
359!ifndef $(VBOX)
360INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
361INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
362!endif
363INF OvmfPkg/PlatformDxe/Platform.inf
364INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
365
366!if $(SMM_REQUIRE) == TRUE
367INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
368INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
369INF OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
370INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
371INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
372INF OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
373INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
374INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
375INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
376
377#
378# Variable driver stack (SMM)
379#
380INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
381INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
382INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
383INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
384
385!else
386
387#
388# Variable driver stack (non-SMM)
389#
390INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
391INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
392INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
393INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
394!endif
395
396#
397# TPM support
398#
399!if $(TPM_ENABLE) == TRUE
400INF SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
401INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
402!if $(TPM_CONFIG_ENABLE) == TRUE
403INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
404!endif
405!endif
406
407!if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
408INF OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf
409!endif
410
411################################################################################
412
413[FV.FVMAIN_COMPACT]
414FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
415FvAlignment = 16
416ERASE_POLARITY = 1
417MEMORY_MAPPED = TRUE
418STICKY_WRITE = TRUE
419LOCK_CAP = TRUE
420LOCK_STATUS = TRUE
421WRITE_DISABLED_CAP = TRUE
422WRITE_ENABLED_CAP = TRUE
423WRITE_STATUS = TRUE
424WRITE_LOCK_CAP = TRUE
425WRITE_LOCK_STATUS = TRUE
426READ_DISABLED_CAP = TRUE
427READ_ENABLED_CAP = TRUE
428READ_STATUS = TRUE
429READ_LOCK_CAP = TRUE
430READ_LOCK_STATUS = TRUE
431
432FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
433 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
434 #
435 # These firmware volumes will have files placed in them uncompressed,
436 # and then both firmware volumes will be compressed in a single
437 # compression operation in order to achieve better overall compression.
438 #
439 SECTION FV_IMAGE = PEIFV
440 SECTION FV_IMAGE = DXEFV
441 }
442 }
443
444!include FvmainCompactScratchEnd.fdf.inc
445
446################################################################################
447
448[Rule.Common.SEC]
449 FILE SEC = $(NAMED_GUID) {
450 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
451 UI STRING ="$(MODULE_NAME)" Optional
452 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
453 }
454
455[Rule.Common.PEI_CORE]
456 FILE PEI_CORE = $(NAMED_GUID) {
457 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
458 UI STRING ="$(MODULE_NAME)" Optional
459 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
460 }
461
462[Rule.Common.PEIM]
463 FILE PEIM = $(NAMED_GUID) {
464 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
465 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
466 UI STRING="$(MODULE_NAME)" Optional
467 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
468 }
469
470[Rule.Common.DXE_CORE]
471 FILE DXE_CORE = $(NAMED_GUID) {
472 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
473 UI STRING="$(MODULE_NAME)" Optional
474 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
475 }
476
477[Rule.Common.DXE_DRIVER]
478 FILE DRIVER = $(NAMED_GUID) {
479 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
480 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
481 UI STRING="$(MODULE_NAME)" Optional
482 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
483 RAW ACPI Optional |.acpi
484 RAW ASL Optional |.aml
485 }
486
487[Rule.Common.DXE_RUNTIME_DRIVER]
488 FILE DRIVER = $(NAMED_GUID) {
489 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
490 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
491 UI STRING="$(MODULE_NAME)" Optional
492 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
493 }
494
495[Rule.Common.UEFI_DRIVER]
496 FILE DRIVER = $(NAMED_GUID) {
497 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
498 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
499 UI STRING="$(MODULE_NAME)" Optional
500 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
501 }
502
503[Rule.Common.UEFI_DRIVER.BINARY]
504 FILE DRIVER = $(NAMED_GUID) {
505 DXE_DEPEX DXE_DEPEX Optional |.depex
506 PE32 PE32 |.efi
507 UI STRING="$(MODULE_NAME)" Optional
508 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
509 }
510
511[Rule.Common.UEFI_APPLICATION]
512 FILE APPLICATION = $(NAMED_GUID) {
513 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
514 UI STRING="$(MODULE_NAME)" Optional
515 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
516 }
517
518[Rule.Common.UEFI_APPLICATION.BINARY]
519 FILE APPLICATION = $(NAMED_GUID) {
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.USER_DEFINED.ACPITABLE]
526 FILE FREEFORM = $(NAMED_GUID) {
527 RAW ACPI |.acpi
528 RAW ASL |.aml
529 }
530
531[Rule.Common.USER_DEFINED.CSM]
532 FILE FREEFORM = $(NAMED_GUID) {
533 RAW BIN |.bin
534 }
535
536[Rule.Common.SEC.RESET_VECTOR]
537 FILE RAW = $(NAMED_GUID) {
538 RAW BIN Align = 16 |.bin
539 }
540
541[Rule.Common.SMM_CORE]
542 FILE SMM_CORE = $(NAMED_GUID) {
543 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
544 UI STRING="$(MODULE_NAME)" Optional
545 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
546 }
547
548[Rule.Common.DXE_SMM_DRIVER]
549 FILE SMM = $(NAMED_GUID) {
550 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
551 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
552 UI STRING="$(MODULE_NAME)" Optional
553 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
554 }
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