VirtualBox

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

Last change on this file since 105670 was 105670, checked in by vboxsync, 4 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: 17.4 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!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
222INF OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
223INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
224INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
225INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
226INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
227INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
228INF MdeModulePkg/Universal/Metronome/Metronome.inf
229INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
230
231INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
232INF OvmfPkg/Virtio10Dxe/Virtio10.inf
233!ifndef $(VBOX)
234INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
235!endif
236INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
237!ifndef $(VBOX)
238INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
239INF OvmfPkg/VirtioSerialDxe/VirtioSerial.inf
240!endif
241!if $(PVSCSI_ENABLE) == TRUE
242INF OvmfPkg/PvScsiDxe/PvScsiDxe.inf
243!endif
244!if $(MPT_SCSI_ENABLE) == TRUE
245INF OvmfPkg/MptScsiDxe/MptScsiDxe.inf
246!endif
247!if $(LSI_SCSI_ENABLE) == TRUE
248INF OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
249!endif
250
251!if $(SECURE_BOOT_ENABLE) == TRUE
252 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
253!endif
254
255INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
256INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
257INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
258INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
259INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
260INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
261INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
262INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
263INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
264INF MdeModulePkg/Application/UiApp/UiApp.inf
265INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
266INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
267INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
268INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
269INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
270INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
271INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
272INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
273INF MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
274INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
275INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
276INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
277INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
278INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
279INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
280
281INF OvmfPkg/SioBusDxe/SioBusDxe.inf
282!if $(SOURCE_DEBUG_ENABLE) == FALSE
283INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
284!endif
285INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
286
287INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
288INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
289
290!ifdef $(VBOX)
291INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
292INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.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 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!ifndef $(VBOX)
316INF MdeModulePkg/Logo/LogoDxe.inf
317!else
318INF VBoxPkg/Logo/LogoDxe.inf
319!endif
320
321#
322# Hash2 Protocol producer
323#
324INF SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
325
326#
327# Network modules
328#
329!include NetworkPkg/Network.fdf.inc
330 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
331!ifdef $(VBOX)
332 INF VBoxPkg/E1kNetDxe/E1kNet.inf
333!endif
334
335#
336# Usb Support
337#
338!ifndef $(VBOX)
339INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
340!endif
341INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
342INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
343INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
344INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
345INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
346
347!ifndef $(VBOX)
348INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
349INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
350INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
351!endif
352INF OvmfPkg/PlatformDxe/Platform.inf
353INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
354!ifndef $(VBOX)
355INF OvmfPkg/VirtHstiDxe/VirtHstiDxe.inf
356!endif
357
358!if $(SMM_REQUIRE) == TRUE
359INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
360INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
361INF OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
362INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
363INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
364INF OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
365INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
366INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
367INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
368
369#
370# Variable driver stack (SMM)
371#
372INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
373INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
374INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
375INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
376
377!else
378
379#
380# Variable driver stack (non-SMM)
381#
382INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
383INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
384INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
385INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
386!endif
387
388#
389# TPM support
390#
391!include OvmfPkg/Include/Fdf/OvmfTpmDxe.fdf.inc
392
393!include OvmfPkg/Include/Fdf/ShellDxe.fdf.inc
394
395!if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
396INF OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf
397!endif
398
399################################################################################
400
401[FV.FVMAIN_COMPACT]
402FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
403FvAlignment = 16
404ERASE_POLARITY = 1
405MEMORY_MAPPED = TRUE
406STICKY_WRITE = TRUE
407LOCK_CAP = TRUE
408LOCK_STATUS = TRUE
409WRITE_DISABLED_CAP = TRUE
410WRITE_ENABLED_CAP = TRUE
411WRITE_STATUS = TRUE
412WRITE_LOCK_CAP = TRUE
413WRITE_LOCK_STATUS = TRUE
414READ_DISABLED_CAP = TRUE
415READ_ENABLED_CAP = TRUE
416READ_STATUS = TRUE
417READ_LOCK_CAP = TRUE
418READ_LOCK_STATUS = TRUE
419
420FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
421 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
422 #
423 # These firmware volumes will have files placed in them uncompressed,
424 # and then both firmware volumes will be compressed in a single
425 # compression operation in order to achieve better overall compression.
426 #
427 SECTION FV_IMAGE = PEIFV
428 SECTION FV_IMAGE = DXEFV
429 }
430 }
431
432!include OvmfPkg/Include/Fdf/FvmainCompactScratchEnd.fdf.inc
433
434################################################################################
435
436[Rule.Common.SEC]
437 FILE SEC = $(NAMED_GUID) {
438 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
439 UI STRING ="$(MODULE_NAME)" Optional
440 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
441 }
442
443[Rule.Common.PEI_CORE]
444 FILE PEI_CORE = $(NAMED_GUID) {
445 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
446 UI STRING ="$(MODULE_NAME)" Optional
447 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
448 }
449
450[Rule.Common.PEIM]
451 FILE PEIM = $(NAMED_GUID) {
452 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
453 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
454 UI STRING="$(MODULE_NAME)" Optional
455 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
456 }
457
458[Rule.Common.DXE_CORE]
459 FILE DXE_CORE = $(NAMED_GUID) {
460 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
461 UI STRING="$(MODULE_NAME)" Optional
462 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
463 }
464
465[Rule.Common.DXE_DRIVER]
466 FILE DRIVER = $(NAMED_GUID) {
467 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
468 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
469 UI STRING="$(MODULE_NAME)" Optional
470 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
471 RAW ACPI Optional |.acpi
472 RAW ASL Optional |.aml
473 }
474
475[Rule.Common.DXE_RUNTIME_DRIVER]
476 FILE DRIVER = $(NAMED_GUID) {
477 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
478 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
479 UI STRING="$(MODULE_NAME)" Optional
480 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
481 }
482
483[Rule.Common.UEFI_DRIVER]
484 FILE DRIVER = $(NAMED_GUID) {
485 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
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.UEFI_DRIVER.BINARY]
492 FILE DRIVER = $(NAMED_GUID) {
493 DXE_DEPEX DXE_DEPEX Optional |.depex
494 PE32 PE32 |.efi
495 UI STRING="$(MODULE_NAME)" Optional
496 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
497 }
498
499[Rule.Common.UEFI_APPLICATION]
500 FILE APPLICATION = $(NAMED_GUID) {
501 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
502 UI STRING="$(MODULE_NAME)" Optional
503 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
504 }
505
506[Rule.Common.UEFI_APPLICATION.BINARY]
507 FILE APPLICATION = $(NAMED_GUID) {
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.SEC.RESET_VECTOR]
514 FILE RAW = $(NAMED_GUID) {
515 RAW BIN Align = 16 |.bin
516 }
517
518[Rule.Common.SMM_CORE]
519 FILE SMM_CORE = $(NAMED_GUID) {
520 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
521 UI STRING="$(MODULE_NAME)" Optional
522 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
523 }
524
525[Rule.Common.DXE_SMM_DRIVER]
526 FILE SMM = $(NAMED_GUID) {
527 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
528 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
529 UI STRING="$(MODULE_NAME)" Optional
530 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
531 }
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