VirtualBox

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

Last change on this file since 80953 was 80902, checked in by vboxsync, 5 years ago

EFI/FirmwareNew: Implement support for the DataHub protocol which was removed in newer EDK versions and enable the VBoxAppleSim DXE driver again as it is required for macOS to boot

  • Property svn:eol-style set to native
File size: 16.6 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.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 = 0xC00000
66ErasePolarity = 1
67BlockSize = 0x10000
68NumBlocks = 0xC0
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|0xB00000
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 OvmfPkg/SmmAccess/SmmAccessPei.inf
159!endif
160INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
161
162!if $(TPM2_ENABLE) == TRUE
163INF OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
164INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
165!endif
166
167################################################################################
168
169[FV.DXEFV]
170FvForceRebase = FALSE
171FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
172BlockSize = 0x10000
173FvAlignment = 16
174ERASE_POLARITY = 1
175MEMORY_MAPPED = TRUE
176STICKY_WRITE = TRUE
177LOCK_CAP = TRUE
178LOCK_STATUS = TRUE
179WRITE_DISABLED_CAP = TRUE
180WRITE_ENABLED_CAP = TRUE
181WRITE_STATUS = TRUE
182WRITE_LOCK_CAP = TRUE
183WRITE_LOCK_STATUS = TRUE
184READ_DISABLED_CAP = TRUE
185READ_ENABLED_CAP = TRUE
186READ_STATUS = TRUE
187READ_LOCK_CAP = TRUE
188READ_LOCK_STATUS = TRUE
189
190APRIORI DXE {
191 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
192 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
193!if $(SMM_REQUIRE) == FALSE
194 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
195!endif
196}
197
198#
199# DXE Phase modules
200#
201INF MdeModulePkg/Core/Dxe/DxeMain.inf
202
203INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
204INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
205INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
206
207INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
208INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
209INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
210INF OvmfPkg/8259InterruptControllerDxe/8259.inf
211INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
212INF UefiCpuPkg/CpuDxe/CpuDxe.inf
213INF OvmfPkg/8254TimerDxe/8254Timer.inf
214INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
215INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
216INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
217INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
218INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
219INF MdeModulePkg/Universal/Metronome/Metronome.inf
220INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
221
222INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
223INF OvmfPkg/Virtio10Dxe/Virtio10.inf
224!ifndef $(VBOX)
225INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
226!endif
227INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
228!ifndef $(VBOX)
229INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
230INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
231INF OvmfPkg/XenBusDxe/XenBusDxe.inf
232INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
233!endif
234
235!if $(SECURE_BOOT_ENABLE) == TRUE
236 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
237!endif
238
239INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
240INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
241INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
242INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
243INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
244INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
245INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
246INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
247INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
248INF MdeModulePkg/Application/UiApp/UiApp.inf
249INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
250INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
251INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
252INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
253INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
254INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
255INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
256INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
257INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf
258INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
259INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
260INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
261INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
262INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
263INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
264INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
265
266INF OvmfPkg/SioBusDxe/SioBusDxe.inf
267!ifndef $(SOURCE_DEBUG_ENABLE)
268INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
269!endif
270INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
271
272INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
273INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
274
275!ifdef $(VBOX)
276INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
277INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
278INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
279INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
280INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
281INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
282!endif
283
284!ifndef $(VBOX)
285INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
286INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
287INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
288INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
289INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
290INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
291!else
292INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
293INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
294!endif
295
296INF FatPkg/EnhancedFatDxe/Fat.inf
297INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
298
299!if $(TOOL_CHAIN_TAG) != "XCODE5"
300INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
301!endif
302INF ShellPkg/Application/Shell/Shell.inf
303
304!ifndef $(VBOX)
305INF MdeModulePkg/Logo/LogoDxe.inf
306!else
307INF VBoxPkg/Logo/LogoDxe.inf
308!endif
309
310#
311# Network modules
312#
313!include NetworkPkg/Network.fdf.inc
314 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
315
316#
317# Usb Support
318#
319!ifndef $(VBOX)
320INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
321!endif
322INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
323INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
324INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
325INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
326INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
327
328!ifdef $(CSM_ENABLE)
329INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
330INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
331INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
332!else
333!ifndef $(VBOX)
334INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
335!endif
336!endif
337
338!ifndef $(VBOX)
339INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
340INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
341!endif
342INF OvmfPkg/PlatformDxe/Platform.inf
343INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
344
345!if $(SMM_REQUIRE) == TRUE
346INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
347INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
348INF UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
349INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
350INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
351INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
352INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
353INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
354
355#
356# Variable driver stack (SMM)
357#
358INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
359INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
360INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
361INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
362
363!else
364
365#
366# Variable driver stack (non-SMM)
367#
368INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
369INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
370INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
371INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
372!endif
373
374!if $(TPM2_ENABLE) == TRUE
375INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
376!if $(TPM2_CONFIG_ENABLE) == TRUE
377INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
378!endif
379!endif
380
381################################################################################
382
383[FV.FVMAIN_COMPACT]
384FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
385FvAlignment = 16
386ERASE_POLARITY = 1
387MEMORY_MAPPED = TRUE
388STICKY_WRITE = TRUE
389LOCK_CAP = TRUE
390LOCK_STATUS = TRUE
391WRITE_DISABLED_CAP = TRUE
392WRITE_ENABLED_CAP = TRUE
393WRITE_STATUS = TRUE
394WRITE_LOCK_CAP = TRUE
395WRITE_LOCK_STATUS = TRUE
396READ_DISABLED_CAP = TRUE
397READ_ENABLED_CAP = TRUE
398READ_STATUS = TRUE
399READ_LOCK_CAP = TRUE
400READ_LOCK_STATUS = TRUE
401
402FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
403 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
404 #
405 # These firmware volumes will have files placed in them uncompressed,
406 # and then both firmware volumes will be compressed in a single
407 # compression operation in order to achieve better overall compression.
408 #
409 SECTION FV_IMAGE = PEIFV
410 SECTION FV_IMAGE = DXEFV
411 }
412 }
413
414!include DecomprScratchEnd.fdf.inc
415
416################################################################################
417
418[Rule.Common.SEC]
419 FILE SEC = $(NAMED_GUID) {
420 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
421 UI STRING ="$(MODULE_NAME)" Optional
422 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
423 }
424
425[Rule.Common.PEI_CORE]
426 FILE PEI_CORE = $(NAMED_GUID) {
427 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
428 UI STRING ="$(MODULE_NAME)" Optional
429 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
430 }
431
432[Rule.Common.PEIM]
433 FILE PEIM = $(NAMED_GUID) {
434 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
435 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
436 UI STRING="$(MODULE_NAME)" Optional
437 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
438 }
439
440[Rule.Common.DXE_CORE]
441 FILE DXE_CORE = $(NAMED_GUID) {
442 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
443 UI STRING="$(MODULE_NAME)" Optional
444 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
445 }
446
447[Rule.Common.DXE_DRIVER]
448 FILE DRIVER = $(NAMED_GUID) {
449 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
450 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
451 UI STRING="$(MODULE_NAME)" Optional
452 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
453 RAW ACPI Optional |.acpi
454 RAW ASL Optional |.aml
455 }
456
457[Rule.Common.DXE_RUNTIME_DRIVER]
458 FILE DRIVER = $(NAMED_GUID) {
459 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
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.UEFI_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 }
472
473[Rule.Common.UEFI_DRIVER.BINARY]
474 FILE DRIVER = $(NAMED_GUID) {
475 DXE_DEPEX DXE_DEPEX Optional |.depex
476 PE32 PE32 |.efi
477 UI STRING="$(MODULE_NAME)" Optional
478 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
479 }
480
481[Rule.Common.UEFI_APPLICATION]
482 FILE APPLICATION = $(NAMED_GUID) {
483 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
484 UI STRING="$(MODULE_NAME)" Optional
485 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
486 }
487
488[Rule.Common.UEFI_APPLICATION.BINARY]
489 FILE APPLICATION = $(NAMED_GUID) {
490 PE32 PE32 |.efi
491 UI STRING="$(MODULE_NAME)" Optional
492 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
493 }
494
495[Rule.Common.USER_DEFINED.ACPITABLE]
496 FILE FREEFORM = $(NAMED_GUID) {
497 RAW ACPI |.acpi
498 RAW ASL |.aml
499 }
500
501[Rule.Common.USER_DEFINED.CSM]
502 FILE FREEFORM = $(NAMED_GUID) {
503 RAW BIN |.bin
504 }
505
506[Rule.Common.SEC.RESET_VECTOR]
507 FILE RAW = $(NAMED_GUID) {
508 RAW BIN Align = 16 |.bin
509 }
510
511[Rule.Common.SMM_CORE]
512 FILE SMM_CORE = $(NAMED_GUID) {
513 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
514 UI STRING="$(MODULE_NAME)" Optional
515 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
516 }
517
518[Rule.Common.DXE_SMM_DRIVER]
519 FILE SMM = $(NAMED_GUID) {
520 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
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 }
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