VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgIa32X64.fdf

Last change on this file was 105670, checked in by vboxsync, 3 months ago

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

  • Property svn:eol-style set to native
File size: 16.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 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 = 0xF80000
66ErasePolarity = 1
67BlockSize = 0x10000
68NumBlocks = 0xF8
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|0xE80000
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 INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf
204!if $(SMM_REQUIRE) == FALSE
205 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
206!endif
207}
208
209#
210# DXE Phase modules
211#
212INF MdeModulePkg/Core/Dxe/DxeMain.inf
213
214INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
215INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
216INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
217
218INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
219INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
220INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
221INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
222INF UefiCpuPkg/CpuDxe/CpuDxe.inf
223INF OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
224INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
225INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
226INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
227INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
228INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
229INF MdeModulePkg/Universal/Metronome/Metronome.inf
230INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
231
232INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
233INF OvmfPkg/Virtio10Dxe/Virtio10.inf
234INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
235INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
236INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
237INF OvmfPkg/VirtioSerialDxe/VirtioSerial.inf
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/Disk/DiskIoDxe/DiskIoDxe.inf
265INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
266INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
267INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
268INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
269INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
270INF MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
271INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
272INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
273INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
274INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
275INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
276INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
277
278INF OvmfPkg/SioBusDxe/SioBusDxe.inf
279!if $(SOURCE_DEBUG_ENABLE) == FALSE
280INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
281!endif
282INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
283
284INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
285INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
286
287INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
288INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
289INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
290INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
291INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
292
293INF FatPkg/EnhancedFatDxe/Fat.inf
294INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
295INF OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
296
297INF MdeModulePkg/Logo/LogoDxe.inf
298
299#
300# Hash2 Protocol producer
301#
302INF SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
303
304#
305# Network modules
306#
307!if $(E1000_ENABLE)
308 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
309 SECTION PE32 = Intel3.5/EFIX64/E3522X2.EFI
310 }
311!endif
312!include NetworkPkg/Network.fdf.inc
313 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
314
315#
316# Usb Support
317#
318INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
319INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
320INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
321INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
322INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
323INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
324
325INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
326INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
327INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
328INF OvmfPkg/PlatformDxe/Platform.inf
329INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf
330INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
331INF OvmfPkg/VirtHstiDxe/VirtHstiDxe.inf
332
333!if $(SMM_REQUIRE) == TRUE
334INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
335INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
336INF OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
337INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
338INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
339INF OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
340INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
341INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
342INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
343
344#
345# Variable driver stack (SMM)
346#
347INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
348INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
349INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
350INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
351
352!else
353
354#
355# Variable driver stack (non-SMM)
356#
357INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
358INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
359INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
360INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
361!endif
362
363#
364# TPM support
365#
366!include OvmfPkg/Include/Fdf/OvmfTpmDxe.fdf.inc
367
368!include OvmfPkg/Include/Fdf/ShellDxe.fdf.inc
369
370################################################################################
371
372[FV.FVMAIN_COMPACT]
373FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
374FvAlignment = 16
375ERASE_POLARITY = 1
376MEMORY_MAPPED = TRUE
377STICKY_WRITE = TRUE
378LOCK_CAP = TRUE
379LOCK_STATUS = TRUE
380WRITE_DISABLED_CAP = TRUE
381WRITE_ENABLED_CAP = TRUE
382WRITE_STATUS = TRUE
383WRITE_LOCK_CAP = TRUE
384WRITE_LOCK_STATUS = TRUE
385READ_DISABLED_CAP = TRUE
386READ_ENABLED_CAP = TRUE
387READ_STATUS = TRUE
388READ_LOCK_CAP = TRUE
389READ_LOCK_STATUS = TRUE
390
391FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
392 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
393 #
394 # These firmware volumes will have files placed in them uncompressed,
395 # and then both firmware volumes will be compressed in a single
396 # compression operation in order to achieve better overall compression.
397 #
398 SECTION FV_IMAGE = PEIFV
399 SECTION FV_IMAGE = DXEFV
400 }
401 }
402
403!include OvmfPkg/Include/Fdf/FvmainCompactScratchEnd.fdf.inc
404
405################################################################################
406
407[Rule.Common.SEC]
408 FILE SEC = $(NAMED_GUID) {
409 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
410 UI STRING ="$(MODULE_NAME)" Optional
411 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
412 }
413
414[Rule.Common.PEI_CORE]
415 FILE PEI_CORE = $(NAMED_GUID) {
416 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
417 UI STRING ="$(MODULE_NAME)" Optional
418 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
419 }
420
421[Rule.Common.PEIM]
422 FILE PEIM = $(NAMED_GUID) {
423 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
424 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
425 UI STRING="$(MODULE_NAME)" Optional
426 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
427 }
428
429[Rule.Common.DXE_CORE]
430 FILE DXE_CORE = $(NAMED_GUID) {
431 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
432 UI STRING="$(MODULE_NAME)" Optional
433 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
434 }
435
436[Rule.Common.DXE_DRIVER]
437 FILE DRIVER = $(NAMED_GUID) {
438 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
439 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
440 UI STRING="$(MODULE_NAME)" Optional
441 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
442 RAW ACPI Optional |.acpi
443 RAW ASL Optional |.aml
444 }
445
446[Rule.Common.DXE_RUNTIME_DRIVER]
447 FILE DRIVER = $(NAMED_GUID) {
448 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
449 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
450 UI STRING="$(MODULE_NAME)" Optional
451 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
452 }
453
454[Rule.Common.UEFI_DRIVER]
455 FILE DRIVER = $(NAMED_GUID) {
456 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
457 PE32 PE32 $(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.UEFI_DRIVER.BINARY]
463 FILE DRIVER = $(NAMED_GUID) {
464 DXE_DEPEX DXE_DEPEX Optional |.depex
465 PE32 PE32 |.efi
466 UI STRING="$(MODULE_NAME)" Optional
467 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
468 }
469
470[Rule.Common.UEFI_APPLICATION]
471 FILE APPLICATION = $(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.UEFI_APPLICATION.BINARY]
478 FILE APPLICATION = $(NAMED_GUID) {
479 PE32 PE32 |.efi
480 UI STRING="$(MODULE_NAME)" Optional
481 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
482 }
483
484[Rule.Common.SEC.RESET_VECTOR]
485 FILE RAW = $(NAMED_GUID) {
486 RAW BIN Align = 16 |.bin
487 }
488
489[Rule.Common.SMM_CORE]
490 FILE SMM_CORE = $(NAMED_GUID) {
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.DXE_SMM_DRIVER]
497 FILE SMM = $(NAMED_GUID) {
498 SMM_DEPEX SMM_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 }
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