1 | ## @file
|
---|
2 | # Open Virtual Machine Firmware: FDF
|
---|
3 | #
|
---|
4 | # Copyright (c) 2006 - 2011, 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 | [FD.OVMF]
|
---|
18 | BaseAddress = 0xFFF00000
|
---|
19 | Size = 0x00100000
|
---|
20 | ErasePolarity = 1
|
---|
21 | BlockSize = 0x1000
|
---|
22 | NumBlocks = 0x100
|
---|
23 |
|
---|
24 | 0x00000000|0x000EC000
|
---|
25 | FV = FVMAIN_COMPACT
|
---|
26 |
|
---|
27 | 0x000EC000|0x14000
|
---|
28 | FV = SECFV
|
---|
29 |
|
---|
30 | ################################################################################
|
---|
31 |
|
---|
32 | [FD.MEMFD]
|
---|
33 | BaseAddress = 0x2000000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvBase
|
---|
34 | Size = 0x600000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvSize
|
---|
35 | ErasePolarity = 1
|
---|
36 | BlockSize = 0x10000
|
---|
37 | NumBlocks = 0x60
|
---|
38 |
|
---|
39 | 0x0|0x600000
|
---|
40 | FV = MAINFV
|
---|
41 |
|
---|
42 | ################################################################################
|
---|
43 |
|
---|
44 | [FV.SECFV]
|
---|
45 | BlockSize = 0x1000
|
---|
46 | FvAlignment = 16
|
---|
47 | ERASE_POLARITY = 1
|
---|
48 | MEMORY_MAPPED = TRUE
|
---|
49 | STICKY_WRITE = TRUE
|
---|
50 | LOCK_CAP = TRUE
|
---|
51 | LOCK_STATUS = TRUE
|
---|
52 | WRITE_DISABLED_CAP = TRUE
|
---|
53 | WRITE_ENABLED_CAP = TRUE
|
---|
54 | WRITE_STATUS = TRUE
|
---|
55 | WRITE_LOCK_CAP = TRUE
|
---|
56 | WRITE_LOCK_STATUS = TRUE
|
---|
57 | READ_DISABLED_CAP = TRUE
|
---|
58 | READ_ENABLED_CAP = TRUE
|
---|
59 | READ_STATUS = TRUE
|
---|
60 | READ_LOCK_CAP = TRUE
|
---|
61 | READ_LOCK_STATUS = TRUE
|
---|
62 |
|
---|
63 | #
|
---|
64 | # SEC Phase modules
|
---|
65 | #
|
---|
66 | # The code in this FV handles the initial firmware startup, and
|
---|
67 | # decompresses the MAINFV which handles the majority of the boot sequence.
|
---|
68 | #
|
---|
69 | INF OvmfPkg/Sec/SecMain.inf
|
---|
70 |
|
---|
71 | INF RuleOverride=RESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
|
---|
72 |
|
---|
73 | ################################################################################
|
---|
74 | [FV.MAINFV]
|
---|
75 | BlockSize = 0x10000
|
---|
76 | FvAlignment = 16
|
---|
77 | ERASE_POLARITY = 1
|
---|
78 | MEMORY_MAPPED = TRUE
|
---|
79 | STICKY_WRITE = TRUE
|
---|
80 | LOCK_CAP = TRUE
|
---|
81 | LOCK_STATUS = TRUE
|
---|
82 | WRITE_DISABLED_CAP = TRUE
|
---|
83 | WRITE_ENABLED_CAP = TRUE
|
---|
84 | WRITE_STATUS = TRUE
|
---|
85 | WRITE_LOCK_CAP = TRUE
|
---|
86 | WRITE_LOCK_STATUS = TRUE
|
---|
87 | READ_DISABLED_CAP = TRUE
|
---|
88 | READ_ENABLED_CAP = TRUE
|
---|
89 | READ_STATUS = TRUE
|
---|
90 | READ_LOCK_CAP = TRUE
|
---|
91 | READ_LOCK_STATUS = TRUE
|
---|
92 |
|
---|
93 | #
|
---|
94 | # Files to be placed in MAIN FV
|
---|
95 | #
|
---|
96 | # This firmware volume will have files placed in it uncompressed,
|
---|
97 | # and then then entire firmware volume will be compressed in a
|
---|
98 | # single compression operation in order to achieve better
|
---|
99 | # overall compression.
|
---|
100 | #
|
---|
101 |
|
---|
102 | APRIORI PEI {
|
---|
103 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
---|
104 | }
|
---|
105 |
|
---|
106 | #
|
---|
107 | # PEI Phase modules
|
---|
108 | #
|
---|
109 | INF MdeModulePkg/Core/Pei/PeiMain.inf
|
---|
110 | INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
|
---|
111 | INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
|
---|
112 | INF OvmfPkg/PlatformPei/PlatformPei.inf
|
---|
113 | INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
---|
114 |
|
---|
115 | FILE FV_IMAGE = A4EF5A93-3F1B-4232-A1C4-F0910E6D1D9C {
|
---|
116 | SECTION COMPRESS PI_NONE {
|
---|
117 | SECTION FV_IMAGE = DXEFV
|
---|
118 | }
|
---|
119 | }
|
---|
120 |
|
---|
121 | ################################################################################
|
---|
122 |
|
---|
123 | [FV.DXEFV]
|
---|
124 | BlockSize = 0x10000
|
---|
125 | FvAlignment = 16
|
---|
126 | ERASE_POLARITY = 1
|
---|
127 | MEMORY_MAPPED = TRUE
|
---|
128 | STICKY_WRITE = TRUE
|
---|
129 | LOCK_CAP = TRUE
|
---|
130 | LOCK_STATUS = TRUE
|
---|
131 | WRITE_DISABLED_CAP = TRUE
|
---|
132 | WRITE_ENABLED_CAP = TRUE
|
---|
133 | WRITE_STATUS = TRUE
|
---|
134 | WRITE_LOCK_CAP = TRUE
|
---|
135 | WRITE_LOCK_STATUS = TRUE
|
---|
136 | READ_DISABLED_CAP = TRUE
|
---|
137 | READ_ENABLED_CAP = TRUE
|
---|
138 | READ_STATUS = TRUE
|
---|
139 | READ_LOCK_CAP = TRUE
|
---|
140 | READ_LOCK_STATUS = TRUE
|
---|
141 |
|
---|
142 | APRIORI DXE {
|
---|
143 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
---|
144 | }
|
---|
145 |
|
---|
146 | #
|
---|
147 | # DXE Phase modules
|
---|
148 | #
|
---|
149 | INF MdeModulePkg/Core/Dxe/DxeMain.inf
|
---|
150 |
|
---|
151 | INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
|
---|
152 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
---|
153 |
|
---|
154 | INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
---|
155 | INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
---|
156 | INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
---|
157 | INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
|
---|
158 | INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
---|
159 | INF UefiCpuPkg/CpuDxe/CpuDxe.inf
|
---|
160 | INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
|
---|
161 | INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
|
---|
162 | INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
|
---|
163 | INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
|
---|
164 | INF MdeModulePkg/Universal/Metronome/Metronome.inf
|
---|
165 | INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
---|
166 |
|
---|
167 | INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
|
---|
168 | INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
|
---|
169 | INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
---|
170 | !ifndef $(VBOX)
|
---|
171 | INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
---|
172 | !else
|
---|
173 | INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
|
---|
174 | !endif
|
---|
175 | INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
---|
176 | INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
---|
177 | INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
---|
178 | INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
---|
179 | INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
---|
180 | INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
---|
181 | INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
---|
182 | INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
---|
183 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
---|
184 | INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
|
---|
185 | INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
---|
186 | INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
---|
187 | INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
---|
188 | INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
---|
189 | INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
---|
190 | !ifndef $(VBOX)
|
---|
191 | INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
---|
192 | !endif
|
---|
193 | INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
|
---|
194 | INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
---|
195 | INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
---|
196 | INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
---|
197 |
|
---|
198 | !ifdef $(VBOX)
|
---|
199 | INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
---|
200 | INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
---|
201 | INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
|
---|
202 | INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
|
---|
203 | INF VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
|
---|
204 | INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
|
---|
205 | INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
|
---|
206 | INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
|
---|
207 | # we need it for VBoxAppleSim
|
---|
208 | INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
|
---|
209 | INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
|
---|
210 | INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
|
---|
211 | !endif
|
---|
212 |
|
---|
213 | INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
|
---|
214 | INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
|
---|
215 | INF IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
|
---|
216 |
|
---|
217 | !ifndef $(SOURCE_DEBUG_ENABLE)
|
---|
218 | INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
|
---|
219 | !endif
|
---|
220 |
|
---|
221 | INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
|
---|
222 | INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
|
---|
223 |
|
---|
224 | INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
---|
225 | INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
|
---|
226 |
|
---|
227 | INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
---|
228 | INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
229 | !ifndef $(VBOX)
|
---|
230 | INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
|
---|
231 | !endif
|
---|
232 |
|
---|
233 | INF RuleOverride = BINARY FatBinPkg/EnhancedFatDxe/Fat.inf
|
---|
234 |
|
---|
235 | !if $(BUILD_NEW_SHELL)
|
---|
236 | INF ShellPkg/Application/Shell/Shell.inf
|
---|
237 | !else
|
---|
238 | !if $(USE_NEW_SHELL)
|
---|
239 | INF RuleOverride = BINARY ShellBinPkg/UefiShell/UefiShell.inf
|
---|
240 | !else
|
---|
241 | INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
|
---|
242 | !endif
|
---|
243 | !endif
|
---|
244 |
|
---|
245 | FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
|
---|
246 | !ifndef $(VBOX)
|
---|
247 | SECTION RAW = MdeModulePkg/Logo/Logo.bmp
|
---|
248 | !else
|
---|
249 | !ifndef $(VBOX_OSE)
|
---|
250 | SECTION RAW = $(VBOX_PATH_ROOT)/src/VBox/Devices/Graphics/BIOS/puel_logo.bmp
|
---|
251 | !else
|
---|
252 | SECTION RAW = $(VBOX_PATH_ROOT)/src/VBox/Devices/Graphics/BIOS/ose_logo2.bmp
|
---|
253 | !endif
|
---|
254 | !endif
|
---|
255 | }
|
---|
256 |
|
---|
257 | #
|
---|
258 | # Network modules
|
---|
259 | #
|
---|
260 | !if $(NETWORK_ENABLE)
|
---|
261 | FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
|
---|
262 | SECTION PE32 = Intel3.5/EFIX64/E3507X2.EFI
|
---|
263 | }
|
---|
264 | INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
|
---|
265 | INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
|
---|
266 | INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
|
---|
267 | INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
|
---|
268 | INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
|
---|
269 | INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
|
---|
270 | INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
|
---|
271 | INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
|
---|
272 | INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
|
---|
273 | INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
|
---|
274 | INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
|
---|
275 | INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
---|
276 | INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
|
---|
277 | !endif
|
---|
278 |
|
---|
279 | #
|
---|
280 | # Usb Support
|
---|
281 | #
|
---|
282 | !ifndef $(VBOX)
|
---|
283 | INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
---|
284 | INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
---|
285 | INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
---|
286 | INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
---|
287 | INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
---|
288 | !endif
|
---|
289 |
|
---|
290 | !ifdef $(CSM_ENABLE)
|
---|
291 | INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
|
---|
292 | INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
|
---|
293 | INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
|
---|
294 | !endif
|
---|
295 |
|
---|
296 | ################################################################################
|
---|
297 |
|
---|
298 | [FV.FVMAIN_COMPACT]
|
---|
299 | FvAlignment = 16
|
---|
300 | ERASE_POLARITY = 1
|
---|
301 | MEMORY_MAPPED = TRUE
|
---|
302 | STICKY_WRITE = TRUE
|
---|
303 | LOCK_CAP = TRUE
|
---|
304 | LOCK_STATUS = TRUE
|
---|
305 | WRITE_DISABLED_CAP = TRUE
|
---|
306 | WRITE_ENABLED_CAP = TRUE
|
---|
307 | WRITE_STATUS = TRUE
|
---|
308 | WRITE_LOCK_CAP = TRUE
|
---|
309 | WRITE_LOCK_STATUS = TRUE
|
---|
310 | READ_DISABLED_CAP = TRUE
|
---|
311 | READ_ENABLED_CAP = TRUE
|
---|
312 | READ_STATUS = TRUE
|
---|
313 | READ_LOCK_CAP = TRUE
|
---|
314 | READ_LOCK_STATUS = TRUE
|
---|
315 |
|
---|
316 | FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
|
---|
317 | SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
|
---|
318 | SECTION FV_IMAGE = MAINFV
|
---|
319 | }
|
---|
320 | }
|
---|
321 |
|
---|
322 | ################################################################################
|
---|
323 |
|
---|
324 | [Rule.Common.SEC]
|
---|
325 | FILE SEC = $(NAMED_GUID) {
|
---|
326 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
327 | UI STRING ="$(MODULE_NAME)" Optional
|
---|
328 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
329 | }
|
---|
330 |
|
---|
331 | [Rule.Common.PEI_CORE]
|
---|
332 | FILE PEI_CORE = $(NAMED_GUID) {
|
---|
333 | PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
334 | UI STRING ="$(MODULE_NAME)" Optional
|
---|
335 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
336 | }
|
---|
337 |
|
---|
338 | [Rule.Common.PEIM]
|
---|
339 | FILE PEIM = $(NAMED_GUID) {
|
---|
340 | PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
341 | PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
342 | UI STRING="$(MODULE_NAME)" Optional
|
---|
343 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
344 | }
|
---|
345 |
|
---|
346 | [Rule.Common.DXE_CORE]
|
---|
347 | FILE DXE_CORE = $(NAMED_GUID) {
|
---|
348 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
349 | UI STRING="$(MODULE_NAME)" Optional
|
---|
350 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
351 | }
|
---|
352 |
|
---|
353 | [Rule.Common.DXE_DRIVER]
|
---|
354 | FILE DRIVER = $(NAMED_GUID) {
|
---|
355 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
356 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
357 | UI STRING="$(MODULE_NAME)" Optional
|
---|
358 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
359 | }
|
---|
360 |
|
---|
361 | [Rule.Common.DXE_RUNTIME_DRIVER]
|
---|
362 | FILE DRIVER = $(NAMED_GUID) {
|
---|
363 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
364 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
365 | UI STRING="$(MODULE_NAME)" Optional
|
---|
366 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
367 | }
|
---|
368 |
|
---|
369 | [Rule.Common.UEFI_DRIVER]
|
---|
370 | FILE DRIVER = $(NAMED_GUID) {
|
---|
371 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
372 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
373 | UI STRING="$(MODULE_NAME)" Optional
|
---|
374 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
375 | }
|
---|
376 |
|
---|
377 | [Rule.Common.UEFI_DRIVER.BINARY]
|
---|
378 | FILE DRIVER = $(NAMED_GUID) {
|
---|
379 | DXE_DEPEX DXE_DEPEX Optional |.depex
|
---|
380 | PE32 PE32 |.efi
|
---|
381 | UI STRING="$(MODULE_NAME)" Optional
|
---|
382 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
383 | }
|
---|
384 |
|
---|
385 | [Rule.Common.UEFI_APPLICATION]
|
---|
386 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
387 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
388 | UI STRING="$(MODULE_NAME)" Optional
|
---|
389 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
390 | }
|
---|
391 |
|
---|
392 | [Rule.Common.UEFI_APPLICATION.BINARY]
|
---|
393 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
394 | PE32 PE32 |.efi
|
---|
395 | UI STRING="$(MODULE_NAME)" Optional
|
---|
396 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
397 | }
|
---|
398 |
|
---|
399 | [Rule.Common.USER_DEFINED.ACPITABLE]
|
---|
400 | FILE FREEFORM = $(NAMED_GUID) {
|
---|
401 | RAW ACPI |.acpi
|
---|
402 | RAW ASL |.aml
|
---|
403 | }
|
---|
404 |
|
---|
405 | [Rule.Common.USER_DEFINED.CSM]
|
---|
406 | FILE FREEFORM = $(NAMED_GUID) {
|
---|
407 | RAW BIN |.bin
|
---|
408 | }
|
---|
409 |
|
---|
410 | [Rule.Common.SEC.RESET_VECTOR]
|
---|
411 | FILE RAW = $(NAMED_GUID) {
|
---|
412 | RAW RAW |.raw
|
---|
413 | }
|
---|
414 |
|
---|
415 | !ifndef $(VBOX)
|
---|
416 | [OptionRom.OvmfVideo]
|
---|
417 | INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
|
---|
418 | PCI_DEVICE_ID = 0x00B8
|
---|
419 | }
|
---|
420 | !endif
|
---|