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 | !ifndef $(VBOX)
|
---|
113 | INF OvmfPkg/PlatformPei/PlatformPei.inf
|
---|
114 | !else
|
---|
115 | INF VBoxPkg/PlatformPei/PlatformPei.inf
|
---|
116 | !endif
|
---|
117 | INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
---|
118 |
|
---|
119 | FILE FV_IMAGE = A4EF5A93-3F1B-4232-A1C4-F0910E6D1D9C {
|
---|
120 | SECTION COMPRESS PI_NONE {
|
---|
121 | SECTION FV_IMAGE = DXEFV
|
---|
122 | }
|
---|
123 | }
|
---|
124 |
|
---|
125 | ################################################################################
|
---|
126 |
|
---|
127 | [FV.DXEFV]
|
---|
128 | BlockSize = 0x10000
|
---|
129 | FvAlignment = 16
|
---|
130 | ERASE_POLARITY = 1
|
---|
131 | MEMORY_MAPPED = TRUE
|
---|
132 | STICKY_WRITE = TRUE
|
---|
133 | LOCK_CAP = TRUE
|
---|
134 | LOCK_STATUS = TRUE
|
---|
135 | WRITE_DISABLED_CAP = TRUE
|
---|
136 | WRITE_ENABLED_CAP = TRUE
|
---|
137 | WRITE_STATUS = TRUE
|
---|
138 | WRITE_LOCK_CAP = TRUE
|
---|
139 | WRITE_LOCK_STATUS = TRUE
|
---|
140 | READ_DISABLED_CAP = TRUE
|
---|
141 | READ_ENABLED_CAP = TRUE
|
---|
142 | READ_STATUS = TRUE
|
---|
143 | READ_LOCK_CAP = TRUE
|
---|
144 | READ_LOCK_STATUS = TRUE
|
---|
145 |
|
---|
146 | APRIORI DXE {
|
---|
147 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
---|
148 | }
|
---|
149 |
|
---|
150 | #
|
---|
151 | # DXE Phase modules
|
---|
152 | #
|
---|
153 | INF MdeModulePkg/Core/Dxe/DxeMain.inf
|
---|
154 |
|
---|
155 | INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
|
---|
156 | INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
---|
157 |
|
---|
158 | INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
---|
159 | INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
---|
160 | INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
---|
161 | INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
|
---|
162 | INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
---|
163 | INF UefiCpuPkg/CpuDxe/CpuDxe.inf
|
---|
164 | INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
|
---|
165 | INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
|
---|
166 | INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
|
---|
167 | INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
|
---|
168 | INF MdeModulePkg/Universal/Metronome/Metronome.inf
|
---|
169 | INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
---|
170 |
|
---|
171 | INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
|
---|
172 | INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
|
---|
173 | INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
---|
174 | !ifndef $(VBOX)
|
---|
175 | INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
---|
176 | !else
|
---|
177 | INF VBoxPkg/VBoxVariable/VBoxVariableRuntimeDxe.inf
|
---|
178 | !endif
|
---|
179 | INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
---|
180 | INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
---|
181 | INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
---|
182 | INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
---|
183 | INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
---|
184 | INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
---|
185 | INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
---|
186 | INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
---|
187 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
---|
188 | INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
|
---|
189 | INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
---|
190 | !ifndef $(VBOX)
|
---|
191 | INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
---|
192 | !else
|
---|
193 | INF VBoxPkg/PartitionDxe/PartitionDxe.inf
|
---|
194 | !endif
|
---|
195 | INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
---|
196 | INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
---|
197 | INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
---|
198 | !ifndef $(VBOX)
|
---|
199 | INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
---|
200 | !endif
|
---|
201 | INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
|
---|
202 | INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
---|
203 | INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
---|
204 | INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
---|
205 |
|
---|
206 | !ifdef $(VBOX)
|
---|
207 | INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
---|
208 | INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
---|
209 | # Replaced by BDS platform specific functionality.
|
---|
210 | #INF VBoxPkg/VBoxConsoleDxe/VBoxConsoleDxe.inf
|
---|
211 | INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
|
---|
212 | INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
|
---|
213 | INF VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
|
---|
214 | INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
|
---|
215 | INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
|
---|
216 | INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
|
---|
217 | # we need it for VBoxAppleSim
|
---|
218 | INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
|
---|
219 | INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
|
---|
220 | INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
|
---|
221 | !endif
|
---|
222 |
|
---|
223 | INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
|
---|
224 | INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
|
---|
225 | INF IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
|
---|
226 |
|
---|
227 | !ifndef $(SOURCE_DEBUG_ENABLE)
|
---|
228 | INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
|
---|
229 | !endif
|
---|
230 |
|
---|
231 | INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
|
---|
232 | INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
|
---|
233 |
|
---|
234 | INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
---|
235 | INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
|
---|
236 |
|
---|
237 | INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
---|
238 | !ifndef $(VBOX)
|
---|
239 | INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
240 | INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
|
---|
241 | !else
|
---|
242 | INF VBoxPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
243 | !endif
|
---|
244 |
|
---|
245 | INF RuleOverride = BINARY FatBinPkg/EnhancedFatDxe/Fat.inf
|
---|
246 |
|
---|
247 | !if $(BUILD_NEW_SHELL)
|
---|
248 | INF ShellPkg/Application/Shell/Shell.inf
|
---|
249 | !else
|
---|
250 | !if $(USE_NEW_SHELL)
|
---|
251 | INF RuleOverride = BINARY ShellBinPkg/UefiShell/UefiShell.inf
|
---|
252 | !else
|
---|
253 | INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
|
---|
254 | !endif
|
---|
255 | !endif
|
---|
256 |
|
---|
257 | FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
|
---|
258 | !ifndef $(VBOX)
|
---|
259 | SECTION RAW = MdeModulePkg/Logo/Logo.bmp
|
---|
260 | !else
|
---|
261 | !ifndef $(VBOX_OSE)
|
---|
262 | SECTION RAW = $(VBOX_PATH_ROOT)/src/VBox/Devices/Graphics/BIOS/puel_logo.bmp
|
---|
263 | !else
|
---|
264 | SECTION RAW = $(VBOX_PATH_ROOT)/src/VBox/Devices/Graphics/BIOS/ose_logo2.bmp
|
---|
265 | !endif
|
---|
266 | !endif
|
---|
267 | }
|
---|
268 |
|
---|
269 | #
|
---|
270 | # Network modules
|
---|
271 | #
|
---|
272 | !if $(NETWORK_ENABLE)
|
---|
273 | FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
|
---|
274 | SECTION PE32 = Intel3.5/EFIX64/E3507X2.EFI
|
---|
275 | }
|
---|
276 | INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
|
---|
277 | INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
|
---|
278 | INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
|
---|
279 | INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
|
---|
280 | INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
|
---|
281 | INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
|
---|
282 | INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
|
---|
283 | INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
|
---|
284 | INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
|
---|
285 | INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
|
---|
286 | INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
|
---|
287 | INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
---|
288 | INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
|
---|
289 | !endif
|
---|
290 |
|
---|
291 | #
|
---|
292 | # Usb Support
|
---|
293 | #
|
---|
294 | !ifndef $(VBOX)
|
---|
295 | INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
---|
296 | INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
---|
297 | INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
---|
298 | INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
---|
299 | INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
---|
300 | !endif
|
---|
301 |
|
---|
302 | !ifdef $(CSM_ENABLE)
|
---|
303 | INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
|
---|
304 | INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
|
---|
305 | INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
|
---|
306 | !endif
|
---|
307 |
|
---|
308 | ################################################################################
|
---|
309 |
|
---|
310 | [FV.FVMAIN_COMPACT]
|
---|
311 | FvAlignment = 16
|
---|
312 | ERASE_POLARITY = 1
|
---|
313 | MEMORY_MAPPED = TRUE
|
---|
314 | STICKY_WRITE = TRUE
|
---|
315 | LOCK_CAP = TRUE
|
---|
316 | LOCK_STATUS = TRUE
|
---|
317 | WRITE_DISABLED_CAP = TRUE
|
---|
318 | WRITE_ENABLED_CAP = TRUE
|
---|
319 | WRITE_STATUS = TRUE
|
---|
320 | WRITE_LOCK_CAP = TRUE
|
---|
321 | WRITE_LOCK_STATUS = TRUE
|
---|
322 | READ_DISABLED_CAP = TRUE
|
---|
323 | READ_ENABLED_CAP = TRUE
|
---|
324 | READ_STATUS = TRUE
|
---|
325 | READ_LOCK_CAP = TRUE
|
---|
326 | READ_LOCK_STATUS = TRUE
|
---|
327 |
|
---|
328 | FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
|
---|
329 | SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
|
---|
330 | SECTION FV_IMAGE = MAINFV
|
---|
331 | }
|
---|
332 | }
|
---|
333 |
|
---|
334 | ################################################################################
|
---|
335 |
|
---|
336 | [Rule.Common.SEC]
|
---|
337 | FILE SEC = $(NAMED_GUID) {
|
---|
338 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
339 | UI STRING ="$(MODULE_NAME)" Optional
|
---|
340 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
341 | }
|
---|
342 |
|
---|
343 | [Rule.Common.PEI_CORE]
|
---|
344 | FILE PEI_CORE = $(NAMED_GUID) {
|
---|
345 | PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
346 | UI STRING ="$(MODULE_NAME)" Optional
|
---|
347 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
348 | }
|
---|
349 |
|
---|
350 | [Rule.Common.PEIM]
|
---|
351 | FILE PEIM = $(NAMED_GUID) {
|
---|
352 | PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
353 | PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
354 | UI STRING="$(MODULE_NAME)" Optional
|
---|
355 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
356 | }
|
---|
357 |
|
---|
358 | [Rule.Common.DXE_CORE]
|
---|
359 | FILE DXE_CORE = $(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.DXE_DRIVER]
|
---|
366 | FILE DRIVER = $(NAMED_GUID) {
|
---|
367 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
368 | PE32 PE32 $(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.DXE_RUNTIME_DRIVER]
|
---|
374 | FILE DRIVER = $(NAMED_GUID) {
|
---|
375 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
376 | PE32 PE32 $(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.UEFI_DRIVER]
|
---|
382 | FILE DRIVER = $(NAMED_GUID) {
|
---|
383 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
384 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
385 | UI STRING="$(MODULE_NAME)" Optional
|
---|
386 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
387 | }
|
---|
388 |
|
---|
389 | [Rule.Common.UEFI_DRIVER.BINARY]
|
---|
390 | FILE DRIVER = $(NAMED_GUID) {
|
---|
391 | DXE_DEPEX DXE_DEPEX Optional |.depex
|
---|
392 | PE32 PE32 |.efi
|
---|
393 | UI STRING="$(MODULE_NAME)" Optional
|
---|
394 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
395 | }
|
---|
396 |
|
---|
397 | [Rule.Common.UEFI_APPLICATION]
|
---|
398 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
399 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
400 | UI STRING="$(MODULE_NAME)" Optional
|
---|
401 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
402 | }
|
---|
403 |
|
---|
404 | [Rule.Common.UEFI_APPLICATION.BINARY]
|
---|
405 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
406 | PE32 PE32 |.efi
|
---|
407 | UI STRING="$(MODULE_NAME)" Optional
|
---|
408 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
409 | }
|
---|
410 |
|
---|
411 | [Rule.Common.USER_DEFINED.ACPITABLE]
|
---|
412 | FILE FREEFORM = $(NAMED_GUID) {
|
---|
413 | RAW ACPI |.acpi
|
---|
414 | RAW ASL |.aml
|
---|
415 | }
|
---|
416 |
|
---|
417 | [Rule.Common.USER_DEFINED.CSM]
|
---|
418 | FILE FREEFORM = $(NAMED_GUID) {
|
---|
419 | RAW BIN |.bin
|
---|
420 | }
|
---|
421 |
|
---|
422 | [Rule.Common.SEC.RESET_VECTOR]
|
---|
423 | FILE RAW = $(NAMED_GUID) {
|
---|
424 | RAW RAW |.raw
|
---|
425 | }
|
---|
426 |
|
---|
427 | !ifndef $(VBOX)
|
---|
428 | [OptionRom.OvmfVideo]
|
---|
429 | INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
|
---|
430 | PCI_DEVICE_ID = 0x00B8
|
---|
431 | }
|
---|
432 | !endif
|
---|