VirtualBox

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

Last change on this file since 105381 was 101291, checked in by vboxsync, 14 months ago

EFI/FirmwareNew: Make edk2-stable202308 build on all supported platforms (using gcc at least, msvc not tested yet), bugref:4643

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