1 | ## @file
|
---|
2 | # Open Virtual Machine Firmware: FDF
|
---|
3 | #
|
---|
4 | # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
---|
5 | #
|
---|
6 | # This program and the accompanying materials
|
---|
7 | # are licensed and made available under the terms and conditions of the BSD License
|
---|
8 | # which accompanies this distribution. The full text of the license may be found at
|
---|
9 | # http://opensource.org/licenses/bsd-license.php
|
---|
10 | #
|
---|
11 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
12 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
13 | #
|
---|
14 | ##
|
---|
15 |
|
---|
16 | ################################################################################
|
---|
17 |
|
---|
18 | #
|
---|
19 | # Default flash size for DEBUG build is 2MB. For RELEASE it is 1MB.
|
---|
20 | #
|
---|
21 | # Defining FD_SIZE_1MB or FD_SIZE_2MB on the build command line can
|
---|
22 | # override this.
|
---|
23 | #
|
---|
24 | [Defines]
|
---|
25 | !if $(TARGET) == RELEASE
|
---|
26 | !ifndef $(FD_SIZE_2MB)
|
---|
27 | DEFINE FD_SIZE_1MB=
|
---|
28 | !endif
|
---|
29 | !endif
|
---|
30 |
|
---|
31 | !include OvmfPkg.fdf.inc
|
---|
32 |
|
---|
33 | #
|
---|
34 | # Build the variable store and the firmware code as one unified flash device
|
---|
35 | # image.
|
---|
36 | #
|
---|
37 | [FD.OVMF]
|
---|
38 | BaseAddress = $(FW_BASE_ADDRESS)
|
---|
39 | Size = $(FW_SIZE)
|
---|
40 | ErasePolarity = 1
|
---|
41 | BlockSize = $(BLOCK_SIZE)
|
---|
42 | NumBlocks = $(FW_BLOCKS)
|
---|
43 |
|
---|
44 | !include VarStore.fdf.inc
|
---|
45 |
|
---|
46 | $(VARS_SIZE)|$(FVMAIN_SIZE)
|
---|
47 | FV = FVMAIN_COMPACT
|
---|
48 |
|
---|
49 | $(SECFV_OFFSET)|$(SECFV_SIZE)
|
---|
50 | FV = SECFV
|
---|
51 |
|
---|
52 | #
|
---|
53 | # Build the variable store and the firmware code as separate flash device
|
---|
54 | # images.
|
---|
55 | #
|
---|
56 | [FD.OVMF_VARS]
|
---|
57 | BaseAddress = $(FW_BASE_ADDRESS)
|
---|
58 | Size = $(VARS_SIZE)
|
---|
59 | ErasePolarity = 1
|
---|
60 | BlockSize = $(BLOCK_SIZE)
|
---|
61 | NumBlocks = $(VARS_BLOCKS)
|
---|
62 |
|
---|
63 | !include VarStore.fdf.inc
|
---|
64 |
|
---|
65 | [FD.OVMF_CODE]
|
---|
66 | BaseAddress = $(CODE_BASE_ADDRESS)
|
---|
67 | Size = $(CODE_SIZE)
|
---|
68 | ErasePolarity = 1
|
---|
69 | BlockSize = $(BLOCK_SIZE)
|
---|
70 | NumBlocks = $(CODE_BLOCKS)
|
---|
71 |
|
---|
72 | 0x00000000|$(FVMAIN_SIZE)
|
---|
73 | FV = FVMAIN_COMPACT
|
---|
74 |
|
---|
75 | $(FVMAIN_SIZE)|$(SECFV_SIZE)
|
---|
76 | FV = SECFV
|
---|
77 |
|
---|
78 | ################################################################################
|
---|
79 |
|
---|
80 | [FD.MEMFD]
|
---|
81 | BaseAddress = 0x800000
|
---|
82 | Size = 0x900000
|
---|
83 | ErasePolarity = 1
|
---|
84 | BlockSize = 0x10000
|
---|
85 | NumBlocks = 0x90
|
---|
86 |
|
---|
87 | 0x000000|0x006000
|
---|
88 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
|
---|
89 |
|
---|
90 | 0x006000|0x001000
|
---|
91 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize
|
---|
92 |
|
---|
93 | 0x007000|0x001000
|
---|
94 | gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
|
---|
95 |
|
---|
96 | 0x010000|0x008000
|
---|
97 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
|
---|
98 |
|
---|
99 | 0x018000|0x008000
|
---|
100 | gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase|gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize
|
---|
101 |
|
---|
102 | 0x020000|0x0E0000
|
---|
103 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
|
---|
104 | FV = PEIFV
|
---|
105 |
|
---|
106 | 0x100000|0x800000
|
---|
107 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
|
---|
108 | FV = DXEFV
|
---|
109 |
|
---|
110 | ################################################################################
|
---|
111 |
|
---|
112 | [FV.SECFV]
|
---|
113 | BlockSize = 0x1000
|
---|
114 | FvAlignment = 16
|
---|
115 | ERASE_POLARITY = 1
|
---|
116 | MEMORY_MAPPED = TRUE
|
---|
117 | STICKY_WRITE = TRUE
|
---|
118 | LOCK_CAP = TRUE
|
---|
119 | LOCK_STATUS = TRUE
|
---|
120 | WRITE_DISABLED_CAP = TRUE
|
---|
121 | WRITE_ENABLED_CAP = TRUE
|
---|
122 | WRITE_STATUS = TRUE
|
---|
123 | WRITE_LOCK_CAP = TRUE
|
---|
124 | WRITE_LOCK_STATUS = TRUE
|
---|
125 | READ_DISABLED_CAP = TRUE
|
---|
126 | READ_ENABLED_CAP = TRUE
|
---|
127 | READ_STATUS = TRUE
|
---|
128 | READ_LOCK_CAP = TRUE
|
---|
129 | READ_LOCK_STATUS = TRUE
|
---|
130 |
|
---|
131 | #
|
---|
132 | # SEC Phase modules
|
---|
133 | #
|
---|
134 | # The code in this FV handles the initial firmware startup, and
|
---|
135 | # decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
|
---|
136 | #
|
---|
137 | INF OvmfPkg/Sec/SecMain.inf
|
---|
138 |
|
---|
139 | INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
|
---|
140 |
|
---|
141 | ################################################################################
|
---|
142 | [FV.PEIFV]
|
---|
143 | BlockSize = 0x10000
|
---|
144 | FvAlignment = 16
|
---|
145 | ERASE_POLARITY = 1
|
---|
146 | MEMORY_MAPPED = TRUE
|
---|
147 | STICKY_WRITE = TRUE
|
---|
148 | LOCK_CAP = TRUE
|
---|
149 | LOCK_STATUS = TRUE
|
---|
150 | WRITE_DISABLED_CAP = TRUE
|
---|
151 | WRITE_ENABLED_CAP = TRUE
|
---|
152 | WRITE_STATUS = TRUE
|
---|
153 | WRITE_LOCK_CAP = TRUE
|
---|
154 | WRITE_LOCK_STATUS = TRUE
|
---|
155 | READ_DISABLED_CAP = TRUE
|
---|
156 | READ_ENABLED_CAP = TRUE
|
---|
157 | READ_STATUS = TRUE
|
---|
158 | READ_LOCK_CAP = TRUE
|
---|
159 | READ_LOCK_STATUS = TRUE
|
---|
160 |
|
---|
161 | APRIORI PEI {
|
---|
162 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
---|
163 | }
|
---|
164 |
|
---|
165 | #
|
---|
166 | # PEI Phase modules
|
---|
167 | #
|
---|
168 | INF MdeModulePkg/Core/Pei/PeiMain.inf
|
---|
169 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
---|
170 | INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
|
---|
171 | INF OvmfPkg/PlatformPei/PlatformPei.inf
|
---|
172 | INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
---|
173 | INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
|
---|
174 |
|
---|
175 | ################################################################################
|
---|
176 |
|
---|
177 | [FV.DXEFV]
|
---|
178 | BlockSize = 0x10000
|
---|
179 | FvAlignment = 16
|
---|
180 | ERASE_POLARITY = 1
|
---|
181 | MEMORY_MAPPED = TRUE
|
---|
182 | STICKY_WRITE = TRUE
|
---|
183 | LOCK_CAP = TRUE
|
---|
184 | LOCK_STATUS = TRUE
|
---|
185 | WRITE_DISABLED_CAP = TRUE
|
---|
186 | WRITE_ENABLED_CAP = TRUE
|
---|
187 | WRITE_STATUS = TRUE
|
---|
188 | WRITE_LOCK_CAP = TRUE
|
---|
189 | WRITE_LOCK_STATUS = TRUE
|
---|
190 | READ_DISABLED_CAP = TRUE
|
---|
191 | READ_ENABLED_CAP = TRUE
|
---|
192 | READ_STATUS = TRUE
|
---|
193 | READ_LOCK_CAP = TRUE
|
---|
194 | READ_LOCK_STATUS = TRUE
|
---|
195 |
|
---|
196 | APRIORI DXE {
|
---|
197 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
---|
198 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
---|
199 | INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
---|
200 | }
|
---|
201 |
|
---|
202 | #
|
---|
203 | # DXE Phase modules
|
---|
204 | #
|
---|
205 | INF MdeModulePkg/Core/Dxe/DxeMain.inf
|
---|
206 |
|
---|
207 | INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
|
---|
208 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
---|
209 |
|
---|
210 | INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
---|
211 | INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
---|
212 | INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
---|
213 | INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
|
---|
214 | INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
---|
215 | INF UefiCpuPkg/CpuDxe/CpuDxe.inf
|
---|
216 | INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
|
---|
217 | INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
|
---|
218 | INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
|
---|
219 | INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
|
---|
220 | INF MdeModulePkg/Universal/Metronome/Metronome.inf
|
---|
221 | INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
---|
222 |
|
---|
223 | INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
|
---|
224 | !ifndef $(VBOX)
|
---|
225 | INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
|
---|
226 | INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
---|
227 | INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
|
---|
228 | INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
---|
229 | !endif
|
---|
230 | INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
|
---|
231 | !ifndef $(VBOX)
|
---|
232 | INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
---|
233 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
---|
234 | INF SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
|
---|
235 | INF OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
|
---|
236 | !else
|
---|
237 | INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
---|
238 | !endif
|
---|
239 | !else
|
---|
240 | INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
|
---|
241 | !endif
|
---|
242 | INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
---|
243 | INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
---|
244 | INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
---|
245 | INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
---|
246 | INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
---|
247 | INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
---|
248 | INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
---|
249 | INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
---|
250 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
---|
251 | INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
|
---|
252 | INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
---|
253 | INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
---|
254 | INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
---|
255 | INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
---|
256 | INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
---|
257 | !ifndef $(VBOX)
|
---|
258 | INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
---|
259 | !endif
|
---|
260 | INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
|
---|
261 | INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
---|
262 | INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
---|
263 | INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
---|
264 | INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
---|
265 |
|
---|
266 | !ifdef $(VBOX)
|
---|
267 | INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
---|
268 | INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
---|
269 | INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
|
---|
270 | INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
|
---|
271 | INF VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
|
---|
272 | INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
|
---|
273 | INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
|
---|
274 | INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
|
---|
275 | # we need it for VBoxAppleSim
|
---|
276 | INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
|
---|
277 | INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
|
---|
278 | INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
|
---|
279 | !endif
|
---|
280 |
|
---|
281 | INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
|
---|
282 | INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
|
---|
283 | INF IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
|
---|
284 |
|
---|
285 | !ifndef $(SOURCE_DEBUG_ENABLE)
|
---|
286 | INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
|
---|
287 | !endif
|
---|
288 |
|
---|
289 | INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
|
---|
290 | INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
|
---|
291 |
|
---|
292 | INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
---|
293 | INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
|
---|
294 |
|
---|
295 | !ifndef $(VBOX)
|
---|
296 | INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
297 | INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
|
---|
298 | INF OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
|
---|
299 | INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
|
---|
300 | INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
|
---|
301 | !else
|
---|
302 | INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
---|
303 | INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
304 | !endif
|
---|
305 |
|
---|
306 | INF RuleOverride = BINARY FatBinPkg/EnhancedFatDxe/Fat.inf
|
---|
307 |
|
---|
308 | !ifndef $(USE_OLD_SHELL)
|
---|
309 | INF ShellPkg/Application/Shell/Shell.inf
|
---|
310 | !else
|
---|
311 | INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
|
---|
312 | !endif
|
---|
313 |
|
---|
314 | FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
|
---|
315 | !ifndef $(VBOX)
|
---|
316 | SECTION RAW = MdeModulePkg/Logo/Logo.bmp
|
---|
317 | !else
|
---|
318 | !ifndef $(VBOX_OSE)
|
---|
319 | SECTION RAW = $(VBOX_PATH_ROOT)/src/VBox/Devices/Graphics/BIOS/puel_logo.bmp
|
---|
320 | !else
|
---|
321 | SECTION RAW = $(VBOX_PATH_ROOT)/src/VBox/Devices/Graphics/BIOS/ose_logo2.bmp
|
---|
322 | !endif
|
---|
323 | !endif
|
---|
324 | }
|
---|
325 |
|
---|
326 | #
|
---|
327 | # Network modules
|
---|
328 | #
|
---|
329 | !ifndef $(VBOX)
|
---|
330 | !if $(E1000_ENABLE)
|
---|
331 | FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
|
---|
332 | SECTION PE32 = Intel3.5/EFIX64/E3507X2.EFI
|
---|
333 | }
|
---|
334 | !endif
|
---|
335 | INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
|
---|
336 | INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
|
---|
337 | INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
|
---|
338 | INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
|
---|
339 | INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
|
---|
340 | INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
|
---|
341 | INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
|
---|
342 | INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
|
---|
343 | INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
|
---|
344 | INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
|
---|
345 | INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
|
---|
346 | INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
---|
347 | INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
|
---|
348 | INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
|
---|
349 | !endif
|
---|
350 |
|
---|
351 | #
|
---|
352 | # Usb Support
|
---|
353 | #
|
---|
354 | !ifndef $(VBOX)
|
---|
355 | INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
---|
356 | INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
---|
357 | INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
---|
358 | INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
---|
359 | INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
---|
360 | !endif
|
---|
361 |
|
---|
362 | !ifdef $(CSM_ENABLE)
|
---|
363 | INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
|
---|
364 | INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
|
---|
365 | INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
|
---|
366 | !endif
|
---|
367 |
|
---|
368 | !ifndef $(VBOX)
|
---|
369 | INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
|
---|
370 | !endif
|
---|
371 | INF OvmfPkg/PlatformDxe/Platform.inf
|
---|
372 |
|
---|
373 | ################################################################################
|
---|
374 |
|
---|
375 | [FV.FVMAIN_COMPACT]
|
---|
376 | FvAlignment = 16
|
---|
377 | ERASE_POLARITY = 1
|
---|
378 | MEMORY_MAPPED = TRUE
|
---|
379 | STICKY_WRITE = TRUE
|
---|
380 | LOCK_CAP = TRUE
|
---|
381 | LOCK_STATUS = TRUE
|
---|
382 | WRITE_DISABLED_CAP = TRUE
|
---|
383 | WRITE_ENABLED_CAP = TRUE
|
---|
384 | WRITE_STATUS = TRUE
|
---|
385 | WRITE_LOCK_CAP = TRUE
|
---|
386 | WRITE_LOCK_STATUS = TRUE
|
---|
387 | READ_DISABLED_CAP = TRUE
|
---|
388 | READ_ENABLED_CAP = TRUE
|
---|
389 | READ_STATUS = TRUE
|
---|
390 | READ_LOCK_CAP = TRUE
|
---|
391 | READ_LOCK_STATUS = TRUE
|
---|
392 |
|
---|
393 | FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
|
---|
394 | SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
|
---|
395 | #
|
---|
396 | # These firmware volumes will have files placed in them uncompressed,
|
---|
397 | # and then both firmware volumes will be compressed in a single
|
---|
398 | # compression operation in order to achieve better overall compression.
|
---|
399 | #
|
---|
400 | SECTION FV_IMAGE = PEIFV
|
---|
401 | SECTION FV_IMAGE = DXEFV
|
---|
402 | }
|
---|
403 | }
|
---|
404 |
|
---|
405 | ################################################################################
|
---|
406 |
|
---|
407 | [Rule.Common.SEC]
|
---|
408 | FILE SEC = $(NAMED_GUID) {
|
---|
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.PEI_CORE]
|
---|
415 | FILE PEI_CORE = $(NAMED_GUID) {
|
---|
416 | PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
417 | UI STRING ="$(MODULE_NAME)" Optional
|
---|
418 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
419 | }
|
---|
420 |
|
---|
421 | [Rule.Common.PEIM]
|
---|
422 | FILE PEIM = $(NAMED_GUID) {
|
---|
423 | PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
424 | PE32 PE32 Align=32 $(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.DXE_CORE]
|
---|
430 | FILE DXE_CORE = $(NAMED_GUID) {
|
---|
431 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
432 | UI STRING="$(MODULE_NAME)" Optional
|
---|
433 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
434 | }
|
---|
435 |
|
---|
436 | [Rule.Common.DXE_DRIVER]
|
---|
437 | FILE DRIVER = $(NAMED_GUID) {
|
---|
438 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
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.DXE_RUNTIME_DRIVER]
|
---|
445 | FILE DRIVER = $(NAMED_GUID) {
|
---|
446 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
447 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
448 | UI STRING="$(MODULE_NAME)" Optional
|
---|
449 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
450 | }
|
---|
451 |
|
---|
452 | [Rule.Common.UEFI_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.BINARY]
|
---|
461 | FILE DRIVER = $(NAMED_GUID) {
|
---|
462 | DXE_DEPEX DXE_DEPEX Optional |.depex
|
---|
463 | PE32 PE32 |.efi
|
---|
464 | UI STRING="$(MODULE_NAME)" Optional
|
---|
465 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
466 | }
|
---|
467 |
|
---|
468 | [Rule.Common.UEFI_APPLICATION]
|
---|
469 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
470 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
471 | UI STRING="$(MODULE_NAME)" Optional
|
---|
472 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
473 | }
|
---|
474 |
|
---|
475 | [Rule.Common.UEFI_APPLICATION.BINARY]
|
---|
476 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
477 | PE32 PE32 |.efi
|
---|
478 | UI STRING="$(MODULE_NAME)" Optional
|
---|
479 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
480 | }
|
---|
481 |
|
---|
482 | [Rule.Common.USER_DEFINED.ACPITABLE]
|
---|
483 | FILE FREEFORM = $(NAMED_GUID) {
|
---|
484 | RAW ACPI |.acpi
|
---|
485 | RAW ASL |.aml
|
---|
486 | }
|
---|
487 |
|
---|
488 | [Rule.Common.USER_DEFINED.CSM]
|
---|
489 | FILE FREEFORM = $(NAMED_GUID) {
|
---|
490 | RAW BIN |.bin
|
---|
491 | }
|
---|
492 |
|
---|
493 | [Rule.Common.SEC.RESET_VECTOR]
|
---|
494 | FILE RAW = $(NAMED_GUID) {
|
---|
495 | RAW BIN Align = 16 |.bin
|
---|
496 | }
|
---|