VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/OvmfPkgIa32.fdf@ 89983

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

Devices/EFI: Merge edk-stable202105 and openssl 1.1.1j and make it build, bugref:4643

  • 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/VBoxIso9660.inf
293INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
294INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
295INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
296# INF VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf -- 64-bit only!
297INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
298!endif
299
300!ifndef $(VBOX)
301INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
302INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
303INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
304INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
305INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
306INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
307!else
308INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
309INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
310!endif
311
312INF FatPkg/EnhancedFatDxe/Fat.inf
313INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
314INF OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
315
316!if $(TOOL_CHAIN_TAG) != "XCODE5"
317INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
318INF ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
319INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
320!endif
321INF ShellPkg/Application/Shell/Shell.inf
322
323!ifndef $(VBOX)
324INF MdeModulePkg/Logo/LogoDxe.inf
325!else
326INF VBoxPkg/Logo/LogoDxe.inf
327!endif
328
329#
330# Network modules
331#
332!include NetworkPkg/Network.fdf.inc
333 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
334!ifdef $(VBOX)
335 INF VBoxPkg/E1kNetDxe/E1kNet.inf
336!endif
337
338#
339# Usb Support
340#
341!ifndef $(VBOX)
342INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
343!endif
344INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
345INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
346INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
347INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
348INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
349
350!ifdef $(CSM_ENABLE)
351INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
352INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
353INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
354!else
355!ifndef $(VBOX)
356INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
357!endif
358!endif
359
360!ifndef $(VBOX)
361INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
362INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
363!endif
364INF OvmfPkg/PlatformDxe/Platform.inf
365INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
366
367!if $(SMM_REQUIRE) == TRUE
368INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
369INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
370INF OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
371INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
372INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
373INF OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
374INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
375INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
376INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
377
378#
379# Variable driver stack (SMM)
380#
381INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
382INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
383INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
384INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
385
386!else
387
388#
389# Variable driver stack (non-SMM)
390#
391INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
392INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
393INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
394INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
395!endif
396
397#
398# TPM support
399#
400!if $(TPM_ENABLE) == TRUE
401INF SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
402INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
403!if $(TPM_CONFIG_ENABLE) == TRUE
404INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
405!endif
406!endif
407
408!if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
409INF OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf
410!endif
411
412################################################################################
413
414[FV.FVMAIN_COMPACT]
415FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
416FvAlignment = 16
417ERASE_POLARITY = 1
418MEMORY_MAPPED = TRUE
419STICKY_WRITE = TRUE
420LOCK_CAP = TRUE
421LOCK_STATUS = TRUE
422WRITE_DISABLED_CAP = TRUE
423WRITE_ENABLED_CAP = TRUE
424WRITE_STATUS = TRUE
425WRITE_LOCK_CAP = TRUE
426WRITE_LOCK_STATUS = TRUE
427READ_DISABLED_CAP = TRUE
428READ_ENABLED_CAP = TRUE
429READ_STATUS = TRUE
430READ_LOCK_CAP = TRUE
431READ_LOCK_STATUS = TRUE
432
433FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
434 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
435 #
436 # These firmware volumes will have files placed in them uncompressed,
437 # and then both firmware volumes will be compressed in a single
438 # compression operation in order to achieve better overall compression.
439 #
440 SECTION FV_IMAGE = PEIFV
441 SECTION FV_IMAGE = DXEFV
442 }
443 }
444
445!include FvmainCompactScratchEnd.fdf.inc
446
447################################################################################
448
449[Rule.Common.SEC]
450 FILE SEC = $(NAMED_GUID) {
451 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
452 UI STRING ="$(MODULE_NAME)" Optional
453 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
454 }
455
456[Rule.Common.PEI_CORE]
457 FILE PEI_CORE = $(NAMED_GUID) {
458 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
459 UI STRING ="$(MODULE_NAME)" Optional
460 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
461 }
462
463[Rule.Common.PEIM]
464 FILE PEIM = $(NAMED_GUID) {
465 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
466 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
467 UI STRING="$(MODULE_NAME)" Optional
468 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
469 }
470
471[Rule.Common.DXE_CORE]
472 FILE DXE_CORE = $(NAMED_GUID) {
473 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
474 UI STRING="$(MODULE_NAME)" Optional
475 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
476 }
477
478[Rule.Common.DXE_DRIVER]
479 FILE DRIVER = $(NAMED_GUID) {
480 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
481 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
482 UI STRING="$(MODULE_NAME)" Optional
483 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
484 RAW ACPI Optional |.acpi
485 RAW ASL Optional |.aml
486 }
487
488[Rule.Common.DXE_RUNTIME_DRIVER]
489 FILE DRIVER = $(NAMED_GUID) {
490 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
491 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
492 UI STRING="$(MODULE_NAME)" Optional
493 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
494 }
495
496[Rule.Common.UEFI_DRIVER]
497 FILE DRIVER = $(NAMED_GUID) {
498 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
499 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
500 UI STRING="$(MODULE_NAME)" Optional
501 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
502 }
503
504[Rule.Common.UEFI_DRIVER.BINARY]
505 FILE DRIVER = $(NAMED_GUID) {
506 DXE_DEPEX DXE_DEPEX Optional |.depex
507 PE32 PE32 |.efi
508 UI STRING="$(MODULE_NAME)" Optional
509 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
510 }
511
512[Rule.Common.UEFI_APPLICATION]
513 FILE APPLICATION = $(NAMED_GUID) {
514 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
515 UI STRING="$(MODULE_NAME)" Optional
516 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
517 }
518
519[Rule.Common.UEFI_APPLICATION.BINARY]
520 FILE APPLICATION = $(NAMED_GUID) {
521 PE32 PE32 |.efi
522 UI STRING="$(MODULE_NAME)" Optional
523 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
524 }
525
526[Rule.Common.USER_DEFINED.ACPITABLE]
527 FILE FREEFORM = $(NAMED_GUID) {
528 RAW ACPI |.acpi
529 RAW ASL |.aml
530 }
531
532[Rule.Common.USER_DEFINED.CSM]
533 FILE FREEFORM = $(NAMED_GUID) {
534 RAW BIN |.bin
535 }
536
537[Rule.Common.SEC.RESET_VECTOR]
538 FILE RAW = $(NAMED_GUID) {
539 RAW BIN Align = 16 |.bin
540 }
541
542[Rule.Common.SMM_CORE]
543 FILE SMM_CORE = $(NAMED_GUID) {
544 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
545 UI STRING="$(MODULE_NAME)" Optional
546 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
547 }
548
549[Rule.Common.DXE_SMM_DRIVER]
550 FILE SMM = $(NAMED_GUID) {
551 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
552 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
553 UI STRING="$(MODULE_NAME)" Optional
554 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
555 }
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