VirtualBox

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

Last change on this file was 106190, checked in by vboxsync, 5 weeks ago

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