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/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]
|
---|
21 | BaseAddress = $(FW_BASE_ADDRESS)
|
---|
22 | Size = $(FW_SIZE)
|
---|
23 | ErasePolarity = 1
|
---|
24 | BlockSize = $(BLOCK_SIZE)
|
---|
25 | NumBlocks = $(FW_BLOCKS)
|
---|
26 |
|
---|
27 | !include OvmfPkg/VarStore.fdf.inc
|
---|
28 |
|
---|
29 | $(VARS_SIZE)|$(FVMAIN_SIZE)
|
---|
30 | FV = FVMAIN_COMPACT
|
---|
31 |
|
---|
32 | $(SECFV_OFFSET)|$(SECFV_SIZE)
|
---|
33 | FV = SECFV
|
---|
34 |
|
---|
35 | ################################################################################
|
---|
36 |
|
---|
37 | [FD.MEMFD]
|
---|
38 | BaseAddress = $(MEMFD_BASE_ADDRESS)
|
---|
39 | Size = 0xD00000
|
---|
40 | ErasePolarity = 1
|
---|
41 | BlockSize = 0x10000
|
---|
42 | NumBlocks = 0xD0
|
---|
43 |
|
---|
44 | 0x000000|0x006000
|
---|
45 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
|
---|
46 |
|
---|
47 | 0x006000|0x001000
|
---|
48 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize
|
---|
49 |
|
---|
50 | 0x007000|0x001000
|
---|
51 | gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
|
---|
52 |
|
---|
53 | 0x008000|0x001000
|
---|
54 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableSize
|
---|
55 |
|
---|
56 | 0x009000|0x002000
|
---|
57 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbSize
|
---|
58 |
|
---|
59 | 0x00B000|0x001000
|
---|
60 | gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase|gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaSize
|
---|
61 |
|
---|
62 | 0x00C000|0x001000
|
---|
63 | gUefiOvmfPkgTokenSpaceGuid.PcdSevLaunchSecretBase|gUefiOvmfPkgTokenSpaceGuid.PcdSevLaunchSecretSize
|
---|
64 |
|
---|
65 | 0x00D000|0x001000
|
---|
66 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupSize
|
---|
67 |
|
---|
68 | 0x010000|0x010000
|
---|
69 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
|
---|
70 |
|
---|
71 | 0x020000|0x0E0000
|
---|
72 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
|
---|
73 | FV = PEIFV
|
---|
74 |
|
---|
75 | 0x100000|0xC00000
|
---|
76 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
|
---|
77 | FV = DXEFV
|
---|
78 |
|
---|
79 | ################################################################################
|
---|
80 |
|
---|
81 | [FV.SECFV]
|
---|
82 | FvNameGuid = 763BED0D-DE9F-48F5-81F1-3E90E1B1A015
|
---|
83 | BlockSize = 0x1000
|
---|
84 | FvAlignment = 16
|
---|
85 | ERASE_POLARITY = 1
|
---|
86 | MEMORY_MAPPED = TRUE
|
---|
87 | STICKY_WRITE = TRUE
|
---|
88 | LOCK_CAP = TRUE
|
---|
89 | LOCK_STATUS = TRUE
|
---|
90 | WRITE_DISABLED_CAP = TRUE
|
---|
91 | WRITE_ENABLED_CAP = TRUE
|
---|
92 | WRITE_STATUS = TRUE
|
---|
93 | WRITE_LOCK_CAP = TRUE
|
---|
94 | WRITE_LOCK_STATUS = TRUE
|
---|
95 | READ_DISABLED_CAP = TRUE
|
---|
96 | READ_ENABLED_CAP = TRUE
|
---|
97 | READ_STATUS = TRUE
|
---|
98 | READ_LOCK_CAP = TRUE
|
---|
99 | READ_LOCK_STATUS = TRUE
|
---|
100 |
|
---|
101 | #
|
---|
102 | # SEC Phase modules
|
---|
103 | #
|
---|
104 | # The code in this FV handles the initial firmware startup, and
|
---|
105 | # decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
|
---|
106 | #
|
---|
107 | INF OvmfPkg/Sec/SecMain.inf
|
---|
108 |
|
---|
109 | INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
|
---|
110 |
|
---|
111 | ################################################################################
|
---|
112 | [FV.PEIFV]
|
---|
113 | FvNameGuid = 6938079B-B503-4E3D-9D24-B28337A25806
|
---|
114 | BlockSize = 0x10000
|
---|
115 | FvAlignment = 16
|
---|
116 | ERASE_POLARITY = 1
|
---|
117 | MEMORY_MAPPED = TRUE
|
---|
118 | STICKY_WRITE = TRUE
|
---|
119 | LOCK_CAP = TRUE
|
---|
120 | LOCK_STATUS = TRUE
|
---|
121 | WRITE_DISABLED_CAP = TRUE
|
---|
122 | WRITE_ENABLED_CAP = TRUE
|
---|
123 | WRITE_STATUS = TRUE
|
---|
124 | WRITE_LOCK_CAP = TRUE
|
---|
125 | WRITE_LOCK_STATUS = TRUE
|
---|
126 | READ_DISABLED_CAP = TRUE
|
---|
127 | READ_ENABLED_CAP = TRUE
|
---|
128 | READ_STATUS = TRUE
|
---|
129 | READ_LOCK_CAP = TRUE
|
---|
130 | READ_LOCK_STATUS = TRUE
|
---|
131 |
|
---|
132 | APRIORI PEI {
|
---|
133 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
---|
134 | }
|
---|
135 |
|
---|
136 | #
|
---|
137 | # PEI Phase modules
|
---|
138 | #
|
---|
139 | INF MdeModulePkg/Core/Pei/PeiMain.inf
|
---|
140 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
---|
141 | INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
|
---|
142 | INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
|
---|
143 | INF OvmfPkg/PlatformPei/PlatformPei.inf
|
---|
144 | INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
---|
145 | INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
|
---|
146 | INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
|
---|
147 | INF OvmfPkg/AmdSev/SecretPei/SecretPei.inf
|
---|
148 |
|
---|
149 | !if $(TPM_ENABLE) == TRUE
|
---|
150 | INF OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPei.inf
|
---|
151 | INF OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
|
---|
152 | INF SecurityPkg/Tcg/TcgPei/TcgPei.inf
|
---|
153 | INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
|
---|
154 | !endif
|
---|
155 |
|
---|
156 | ################################################################################
|
---|
157 |
|
---|
158 | [FV.DXEFV]
|
---|
159 | FvForceRebase = FALSE
|
---|
160 | FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
|
---|
161 | BlockSize = 0x10000
|
---|
162 | FvAlignment = 16
|
---|
163 | ERASE_POLARITY = 1
|
---|
164 | MEMORY_MAPPED = TRUE
|
---|
165 | STICKY_WRITE = TRUE
|
---|
166 | LOCK_CAP = TRUE
|
---|
167 | LOCK_STATUS = TRUE
|
---|
168 | WRITE_DISABLED_CAP = TRUE
|
---|
169 | WRITE_ENABLED_CAP = TRUE
|
---|
170 | WRITE_STATUS = TRUE
|
---|
171 | WRITE_LOCK_CAP = TRUE
|
---|
172 | WRITE_LOCK_STATUS = TRUE
|
---|
173 | READ_DISABLED_CAP = TRUE
|
---|
174 | READ_ENABLED_CAP = TRUE
|
---|
175 | READ_STATUS = TRUE
|
---|
176 | READ_LOCK_CAP = TRUE
|
---|
177 | READ_LOCK_STATUS = TRUE
|
---|
178 |
|
---|
179 | APRIORI DXE {
|
---|
180 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
---|
181 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
---|
182 | INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf
|
---|
183 | INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
---|
184 | }
|
---|
185 |
|
---|
186 | #
|
---|
187 | # DXE Phase modules
|
---|
188 | #
|
---|
189 | INF MdeModulePkg/Core/Dxe/DxeMain.inf
|
---|
190 |
|
---|
191 | INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
|
---|
192 | INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
|
---|
193 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
---|
194 |
|
---|
195 | INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
---|
196 | INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
---|
197 | INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
---|
198 | INF OvmfPkg/8259InterruptControllerDxe/8259.inf
|
---|
199 | INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
---|
200 | INF UefiCpuPkg/CpuDxe/CpuDxe.inf
|
---|
201 | INF OvmfPkg/8254TimerDxe/8254Timer.inf
|
---|
202 | INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
|
---|
203 | INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
|
---|
204 | INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
|
---|
205 | INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
|
---|
206 | INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
|
---|
207 | INF MdeModulePkg/Universal/Metronome/Metronome.inf
|
---|
208 | INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
---|
209 |
|
---|
210 | INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
|
---|
211 | INF OvmfPkg/Virtio10Dxe/Virtio10.inf
|
---|
212 | INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
---|
213 | INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
|
---|
214 | INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
|
---|
215 | INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
|
---|
216 | INF OvmfPkg/XenBusDxe/XenBusDxe.inf
|
---|
217 | INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
|
---|
218 | !if $(PVSCSI_ENABLE) == TRUE
|
---|
219 | INF OvmfPkg/PvScsiDxe/PvScsiDxe.inf
|
---|
220 | !endif
|
---|
221 | !if $(MPT_SCSI_ENABLE) == TRUE
|
---|
222 | INF OvmfPkg/MptScsiDxe/MptScsiDxe.inf
|
---|
223 | !endif
|
---|
224 | !if $(LSI_SCSI_ENABLE) == TRUE
|
---|
225 | INF OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
|
---|
226 | !endif
|
---|
227 |
|
---|
228 | INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
---|
229 | INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
---|
230 | INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
---|
231 | INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
---|
232 | INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
---|
233 | INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
---|
234 | INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
---|
235 | INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
|
---|
236 | INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
|
---|
237 | INF MdeModulePkg/Application/UiApp/UiApp.inf
|
---|
238 | INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
|
---|
239 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
---|
240 | INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
|
---|
241 | INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
---|
242 | INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
---|
243 | INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
|
---|
244 | INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
---|
245 | INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
---|
246 | INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
---|
247 | INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf
|
---|
248 | INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
---|
249 | INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
---|
250 | INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
|
---|
251 | INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
---|
252 | INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
---|
253 | INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
---|
254 | INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
---|
255 |
|
---|
256 | INF OvmfPkg/SioBusDxe/SioBusDxe.inf
|
---|
257 | !if $(SOURCE_DEBUG_ENABLE) == FALSE
|
---|
258 | INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
|
---|
259 | !endif
|
---|
260 | INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
|
---|
261 |
|
---|
262 | INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
---|
263 | INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
|
---|
264 |
|
---|
265 | INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
---|
266 | INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
267 | INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
|
---|
268 | INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
|
---|
269 |
|
---|
270 | INF FatPkg/EnhancedFatDxe/Fat.inf
|
---|
271 | INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
|
---|
272 |
|
---|
273 | !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
|
---|
274 | INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
|
---|
275 | !endif
|
---|
276 | INF OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
|
---|
277 | INF OvmfPkg/AmdSev/Grub/Grub.inf
|
---|
278 | !if $(BUILD_SHELL) == TRUE
|
---|
279 | INF ShellPkg/Application/Shell/Shell.inf
|
---|
280 | !endif
|
---|
281 |
|
---|
282 | INF MdeModulePkg/Logo/LogoDxe.inf
|
---|
283 |
|
---|
284 | #
|
---|
285 | # Usb Support
|
---|
286 | #
|
---|
287 | INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
---|
288 | INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
---|
289 | INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
|
---|
290 | INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
---|
291 | INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
---|
292 | INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
---|
293 |
|
---|
294 | INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
|
---|
295 |
|
---|
296 | INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
|
---|
297 | INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
|
---|
298 | INF OvmfPkg/PlatformDxe/Platform.inf
|
---|
299 | INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf
|
---|
300 | INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
|
---|
301 |
|
---|
302 |
|
---|
303 | #
|
---|
304 | # Variable driver stack (non-SMM)
|
---|
305 | #
|
---|
306 | INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
---|
307 | INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
|
---|
308 | INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
---|
309 | INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
---|
310 |
|
---|
311 | #
|
---|
312 | # TPM support
|
---|
313 | #
|
---|
314 | !if $(TPM_ENABLE) == TRUE
|
---|
315 | INF SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
|
---|
316 | INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
|
---|
317 | !if $(TPM_CONFIG_ENABLE) == TRUE
|
---|
318 | INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
|
---|
319 | !endif
|
---|
320 | !endif
|
---|
321 |
|
---|
322 | ################################################################################
|
---|
323 |
|
---|
324 | [FV.FVMAIN_COMPACT]
|
---|
325 | FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
|
---|
326 | FvAlignment = 16
|
---|
327 | ERASE_POLARITY = 1
|
---|
328 | MEMORY_MAPPED = TRUE
|
---|
329 | STICKY_WRITE = TRUE
|
---|
330 | LOCK_CAP = TRUE
|
---|
331 | LOCK_STATUS = TRUE
|
---|
332 | WRITE_DISABLED_CAP = TRUE
|
---|
333 | WRITE_ENABLED_CAP = TRUE
|
---|
334 | WRITE_STATUS = TRUE
|
---|
335 | WRITE_LOCK_CAP = TRUE
|
---|
336 | WRITE_LOCK_STATUS = TRUE
|
---|
337 | READ_DISABLED_CAP = TRUE
|
---|
338 | READ_ENABLED_CAP = TRUE
|
---|
339 | READ_STATUS = TRUE
|
---|
340 | READ_LOCK_CAP = TRUE
|
---|
341 | READ_LOCK_STATUS = TRUE
|
---|
342 |
|
---|
343 | FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
|
---|
344 | SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
|
---|
345 | #
|
---|
346 | # These firmware volumes will have files placed in them uncompressed,
|
---|
347 | # and then both firmware volumes will be compressed in a single
|
---|
348 | # compression operation in order to achieve better overall compression.
|
---|
349 | #
|
---|
350 | SECTION FV_IMAGE = PEIFV
|
---|
351 | SECTION FV_IMAGE = DXEFV
|
---|
352 | }
|
---|
353 | }
|
---|
354 |
|
---|
355 | !include OvmfPkg/FvmainCompactScratchEnd.fdf.inc
|
---|
356 |
|
---|
357 | ################################################################################
|
---|
358 |
|
---|
359 | [Rule.Common.SEC]
|
---|
360 | FILE SEC = $(NAMED_GUID) {
|
---|
361 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
362 | UI STRING ="$(MODULE_NAME)" Optional
|
---|
363 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
364 | }
|
---|
365 |
|
---|
366 | [Rule.Common.PEI_CORE]
|
---|
367 | FILE PEI_CORE = $(NAMED_GUID) {
|
---|
368 | PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
369 | UI STRING ="$(MODULE_NAME)" Optional
|
---|
370 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
371 | }
|
---|
372 |
|
---|
373 | [Rule.Common.PEIM]
|
---|
374 | FILE PEIM = $(NAMED_GUID) {
|
---|
375 | PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
376 | PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
377 | UI STRING="$(MODULE_NAME)" Optional
|
---|
378 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
379 | }
|
---|
380 |
|
---|
381 | [Rule.Common.DXE_CORE]
|
---|
382 | FILE DXE_CORE = $(NAMED_GUID) {
|
---|
383 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
384 | UI STRING="$(MODULE_NAME)" Optional
|
---|
385 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
386 | }
|
---|
387 |
|
---|
388 | [Rule.Common.DXE_DRIVER]
|
---|
389 | FILE DRIVER = $(NAMED_GUID) {
|
---|
390 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
391 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
392 | UI STRING="$(MODULE_NAME)" Optional
|
---|
393 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
394 | RAW ACPI Optional |.acpi
|
---|
395 | RAW ASL Optional |.aml
|
---|
396 | }
|
---|
397 |
|
---|
398 | [Rule.Common.DXE_RUNTIME_DRIVER]
|
---|
399 | FILE DRIVER = $(NAMED_GUID) {
|
---|
400 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
401 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
402 | UI STRING="$(MODULE_NAME)" Optional
|
---|
403 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
404 | }
|
---|
405 |
|
---|
406 | [Rule.Common.UEFI_DRIVER]
|
---|
407 | FILE DRIVER = $(NAMED_GUID) {
|
---|
408 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
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.UEFI_DRIVER.BINARY]
|
---|
415 | FILE DRIVER = $(NAMED_GUID) {
|
---|
416 | DXE_DEPEX DXE_DEPEX Optional |.depex
|
---|
417 | PE32 PE32 |.efi
|
---|
418 | UI STRING="$(MODULE_NAME)" Optional
|
---|
419 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
420 | }
|
---|
421 |
|
---|
422 | [Rule.Common.UEFI_APPLICATION]
|
---|
423 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
424 | PE32 PE32 $(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.UEFI_APPLICATION.BINARY]
|
---|
430 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
431 | PE32 PE32 |.efi
|
---|
432 | UI STRING="$(MODULE_NAME)" Optional
|
---|
433 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
434 | }
|
---|
435 |
|
---|
436 | [Rule.Common.USER_DEFINED.ACPITABLE]
|
---|
437 | FILE FREEFORM = $(NAMED_GUID) {
|
---|
438 | RAW ACPI |.acpi
|
---|
439 | RAW ASL |.aml
|
---|
440 | }
|
---|
441 |
|
---|
442 | [Rule.Common.SEC.RESET_VECTOR]
|
---|
443 | FILE RAW = $(NAMED_GUID) {
|
---|
444 | RAW BIN Align = 16 |.bin
|
---|
445 | }
|
---|
446 |
|
---|
447 | [Rule.Common.SMM_CORE]
|
---|
448 | FILE SMM_CORE = $(NAMED_GUID) {
|
---|
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.DXE_SMM_DRIVER]
|
---|
455 | FILE SMM = $(NAMED_GUID) {
|
---|
456 | SMM_DEPEX SMM_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 | }
|
---|