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