VirtualBox

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

Last change on this file since 87064 was 85718, checked in by vboxsync, 5 years ago

Devices/EFI: Merge edk-stable202005 and make it build, 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 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/Tcg2Config/Tcg2ConfigPei.inf
166INF SecurityPkg/Tcg/TcgPei/TcgPei.inf
167INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
168!endif
169
170################################################################################
171
172[FV.DXEFV]
173FvForceRebase = FALSE
174FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
175BlockSize = 0x10000
176FvAlignment = 16
177ERASE_POLARITY = 1
178MEMORY_MAPPED = TRUE
179STICKY_WRITE = TRUE
180LOCK_CAP = TRUE
181LOCK_STATUS = TRUE
182WRITE_DISABLED_CAP = TRUE
183WRITE_ENABLED_CAP = TRUE
184WRITE_STATUS = TRUE
185WRITE_LOCK_CAP = TRUE
186WRITE_LOCK_STATUS = TRUE
187READ_DISABLED_CAP = TRUE
188READ_ENABLED_CAP = TRUE
189READ_STATUS = TRUE
190READ_LOCK_CAP = TRUE
191READ_LOCK_STATUS = TRUE
192
193APRIORI DXE {
194 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
195 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
196 INF OvmfPkg/AmdSevDxe/AmdSevDxe.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
228INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
229INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
230INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
231INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
232INF OvmfPkg/XenBusDxe/XenBusDxe.inf
233INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
234!if $(PVSCSI_ENABLE) == TRUE
235INF OvmfPkg/PvScsiDxe/PvScsiDxe.inf
236!endif
237!if $(MPT_SCSI_ENABLE) == TRUE
238INF OvmfPkg/MptScsiDxe/MptScsiDxe.inf
239!endif
240
241!if $(SECURE_BOOT_ENABLE) == TRUE
242 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
243!endif
244
245INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
246INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
247INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
248INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
249INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
250INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
251INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
252INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
253INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
254INF MdeModulePkg/Application/UiApp/UiApp.inf
255INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
256INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
257INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
258INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
259INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
260INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
261INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
262INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
263INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
264INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf
265INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
266INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
267INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
268INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
269INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
270INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
271INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
272
273INF OvmfPkg/SioBusDxe/SioBusDxe.inf
274!if $(SOURCE_DEBUG_ENABLE) == FALSE
275INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
276!endif
277INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
278
279INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
280INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
281
282INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
283INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
284INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
285INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
286INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
287INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
288
289INF FatPkg/EnhancedFatDxe/Fat.inf
290INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
291
292!if $(TOOL_CHAIN_TAG) != "XCODE5"
293INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
294INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
295!endif
296INF ShellPkg/Application/Shell/Shell.inf
297
298INF MdeModulePkg/Logo/LogoDxe.inf
299
300#
301# Network modules
302#
303!if $(E1000_ENABLE)
304 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
305 SECTION PE32 = Intel3.5/EFIX64/E3522X2.EFI
306 }
307!endif
308!include NetworkPkg/Network.fdf.inc
309 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
310
311#
312# Usb Support
313#
314INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
315INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
316INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
317INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
318INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
319INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
320
321!ifdef $(CSM_ENABLE)
322INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
323INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
324INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
325!else
326INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
327!endif
328
329INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
330INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
331INF OvmfPkg/PlatformDxe/Platform.inf
332INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf
333INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
334
335!if $(SMM_REQUIRE) == TRUE
336INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
337INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
338INF OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
339INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
340INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
341INF OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
342INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
343INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
344INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
345
346#
347# Variable driver stack (SMM)
348#
349INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
350INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
351INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
352INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
353
354!else
355
356#
357# Variable driver stack (non-SMM)
358#
359INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
360INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
361INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
362INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
363!endif
364
365#
366# TPM support
367#
368!if $(TPM_ENABLE) == TRUE
369INF SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
370INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
371!if $(TPM_CONFIG_ENABLE) == TRUE
372INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
373!endif
374!endif
375
376################################################################################
377
378[FV.FVMAIN_COMPACT]
379FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
380FvAlignment = 16
381ERASE_POLARITY = 1
382MEMORY_MAPPED = TRUE
383STICKY_WRITE = TRUE
384LOCK_CAP = TRUE
385LOCK_STATUS = TRUE
386WRITE_DISABLED_CAP = TRUE
387WRITE_ENABLED_CAP = TRUE
388WRITE_STATUS = TRUE
389WRITE_LOCK_CAP = TRUE
390WRITE_LOCK_STATUS = TRUE
391READ_DISABLED_CAP = TRUE
392READ_ENABLED_CAP = TRUE
393READ_STATUS = TRUE
394READ_LOCK_CAP = TRUE
395READ_LOCK_STATUS = TRUE
396
397FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
398 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
399 #
400 # These firmware volumes will have files placed in them uncompressed,
401 # and then both firmware volumes will be compressed in a single
402 # compression operation in order to achieve better overall compression.
403 #
404 SECTION FV_IMAGE = PEIFV
405 SECTION FV_IMAGE = DXEFV
406 }
407 }
408
409!include FvmainCompactScratchEnd.fdf.inc
410
411################################################################################
412
413[Rule.Common.SEC]
414 FILE SEC = $(NAMED_GUID) {
415 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
416 UI STRING ="$(MODULE_NAME)" Optional
417 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
418 }
419
420[Rule.Common.PEI_CORE]
421 FILE PEI_CORE = $(NAMED_GUID) {
422 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
423 UI STRING ="$(MODULE_NAME)" Optional
424 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
425 }
426
427[Rule.Common.PEIM]
428 FILE PEIM = $(NAMED_GUID) {
429 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
430 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
431 UI STRING="$(MODULE_NAME)" Optional
432 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
433 }
434
435[Rule.Common.DXE_CORE]
436 FILE DXE_CORE = $(NAMED_GUID) {
437 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
438 UI STRING="$(MODULE_NAME)" Optional
439 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
440 }
441
442[Rule.Common.DXE_DRIVER]
443 FILE DRIVER = $(NAMED_GUID) {
444 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
445 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
446 UI STRING="$(MODULE_NAME)" Optional
447 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
448 RAW ACPI Optional |.acpi
449 RAW ASL Optional |.aml
450 }
451
452[Rule.Common.DXE_RUNTIME_DRIVER]
453 FILE DRIVER = $(NAMED_GUID) {
454 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
455 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
456 UI STRING="$(MODULE_NAME)" Optional
457 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
458 }
459
460[Rule.Common.UEFI_DRIVER]
461 FILE DRIVER = $(NAMED_GUID) {
462 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
463 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
464 UI STRING="$(MODULE_NAME)" Optional
465 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
466 }
467
468[Rule.Common.UEFI_DRIVER.BINARY]
469 FILE DRIVER = $(NAMED_GUID) {
470 DXE_DEPEX DXE_DEPEX Optional |.depex
471 PE32 PE32 |.efi
472 UI STRING="$(MODULE_NAME)" Optional
473 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
474 }
475
476[Rule.Common.UEFI_APPLICATION]
477 FILE APPLICATION = $(NAMED_GUID) {
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_APPLICATION.BINARY]
484 FILE APPLICATION = $(NAMED_GUID) {
485 PE32 PE32 |.efi
486 UI STRING="$(MODULE_NAME)" Optional
487 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
488 }
489
490[Rule.Common.USER_DEFINED.ACPITABLE]
491 FILE FREEFORM = $(NAMED_GUID) {
492 RAW ACPI |.acpi
493 RAW ASL |.aml
494 }
495
496[Rule.Common.USER_DEFINED.CSM]
497 FILE FREEFORM = $(NAMED_GUID) {
498 RAW BIN |.bin
499 }
500
501[Rule.Common.SEC.RESET_VECTOR]
502 FILE RAW = $(NAMED_GUID) {
503 RAW BIN Align = 16 |.bin
504 }
505
506[Rule.Common.SMM_CORE]
507 FILE SMM_CORE = $(NAMED_GUID) {
508 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
509 UI STRING="$(MODULE_NAME)" Optional
510 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
511 }
512
513[Rule.Common.DXE_SMM_DRIVER]
514 FILE SMM = $(NAMED_GUID) {
515 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
516 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
517 UI STRING="$(MODULE_NAME)" Optional
518 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
519 }
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette