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 | INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
|
---|
225 | INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
---|
226 | INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
|
---|
227 | INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
---|
228 | INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
|
---|
229 | INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
---|
230 |
|
---|
231 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
---|
232 | INF SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
|
---|
233 | INF OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
|
---|
234 | !else
|
---|
235 | INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
|
---|
236 | !endif
|
---|
237 |
|
---|
238 | INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
---|
239 | INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
---|
240 | INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
---|
241 | INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
---|
242 | INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
---|
243 | INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
---|
244 | INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
---|
245 | INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
---|
246 | INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
---|
247 | INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
|
---|
248 | INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
---|
249 | INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.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 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
|
---|
254 | INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
|
---|
255 | INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
---|
256 | INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
---|
257 | INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
---|
258 | INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
---|
259 |
|
---|
260 | INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
|
---|
261 | INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
|
---|
262 |
|
---|
263 | !ifndef $(SOURCE_DEBUG_ENABLE)
|
---|
264 | INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
|
---|
265 | !endif
|
---|
266 |
|
---|
267 | INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
|
---|
268 | INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
|
---|
269 |
|
---|
270 | INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
---|
271 | INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
|
---|
272 |
|
---|
273 | INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
---|
274 | INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
275 | INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
|
---|
276 | INF OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
|
---|
277 | INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
|
---|
278 | INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
|
---|
279 |
|
---|
280 | INF RuleOverride = BINARY USE = X64 FatBinPkg/EnhancedFatDxe/Fat.inf
|
---|
281 |
|
---|
282 | !ifndef $(USE_OLD_SHELL)
|
---|
283 | INF ShellPkg/Application/Shell/Shell.inf
|
---|
284 | !else
|
---|
285 | INF RuleOverride = BINARY USE = X64 EdkShellBinPkg/FullShell/FullShell.inf
|
---|
286 | !endif
|
---|
287 |
|
---|
288 | FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
|
---|
289 | SECTION RAW = MdeModulePkg/Logo/Logo.bmp
|
---|
290 | }
|
---|
291 |
|
---|
292 | #
|
---|
293 | # Network modules
|
---|
294 | #
|
---|
295 | !if $(E1000_ENABLE)
|
---|
296 | FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
|
---|
297 | SECTION PE32 = Intel3.5/EFIX64/E3507X2.EFI
|
---|
298 | }
|
---|
299 | !endif
|
---|
300 | INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
|
---|
301 | INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
|
---|
302 | INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
|
---|
303 | INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
|
---|
304 | INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
|
---|
305 | INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
|
---|
306 | INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
|
---|
307 | INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
|
---|
308 | INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
|
---|
309 | INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
|
---|
310 | INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
|
---|
311 | INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
---|
312 | INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
|
---|
313 | INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
|
---|
314 |
|
---|
315 | #
|
---|
316 | # Usb Support
|
---|
317 | #
|
---|
318 | INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
---|
319 | INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
---|
320 | INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
---|
321 | INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
---|
322 | INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
---|
323 |
|
---|
324 | !ifdef $(CSM_ENABLE)
|
---|
325 | INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
|
---|
326 | INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
|
---|
327 | INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
|
---|
328 | !endif
|
---|
329 |
|
---|
330 | INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
|
---|
331 | INF OvmfPkg/PlatformDxe/Platform.inf
|
---|
332 |
|
---|
333 | ################################################################################
|
---|
334 |
|
---|
335 | [FV.FVMAIN_COMPACT]
|
---|
336 | FvAlignment = 16
|
---|
337 | ERASE_POLARITY = 1
|
---|
338 | MEMORY_MAPPED = TRUE
|
---|
339 | STICKY_WRITE = TRUE
|
---|
340 | LOCK_CAP = TRUE
|
---|
341 | LOCK_STATUS = TRUE
|
---|
342 | WRITE_DISABLED_CAP = TRUE
|
---|
343 | WRITE_ENABLED_CAP = TRUE
|
---|
344 | WRITE_STATUS = TRUE
|
---|
345 | WRITE_LOCK_CAP = TRUE
|
---|
346 | WRITE_LOCK_STATUS = TRUE
|
---|
347 | READ_DISABLED_CAP = TRUE
|
---|
348 | READ_ENABLED_CAP = TRUE
|
---|
349 | READ_STATUS = TRUE
|
---|
350 | READ_LOCK_CAP = TRUE
|
---|
351 | READ_LOCK_STATUS = TRUE
|
---|
352 |
|
---|
353 | FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
|
---|
354 | SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
|
---|
355 | #
|
---|
356 | # These firmware volumes will have files placed in them uncompressed,
|
---|
357 | # and then both firmware volumes will be compressed in a single
|
---|
358 | # compression operation in order to achieve better overall compression.
|
---|
359 | #
|
---|
360 | SECTION FV_IMAGE = PEIFV
|
---|
361 | SECTION FV_IMAGE = DXEFV
|
---|
362 | }
|
---|
363 | }
|
---|
364 |
|
---|
365 | ################################################################################
|
---|
366 |
|
---|
367 | [Rule.Common.SEC]
|
---|
368 | FILE SEC = $(NAMED_GUID) {
|
---|
369 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
370 | UI STRING ="$(MODULE_NAME)" Optional
|
---|
371 | VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
372 | }
|
---|
373 |
|
---|
374 | [Rule.Common.PEI_CORE]
|
---|
375 | FILE PEI_CORE = $(NAMED_GUID) {
|
---|
376 | PE32 PE32 Align=32 $(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.PEIM]
|
---|
382 | FILE PEIM = $(NAMED_GUID) {
|
---|
383 | PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
384 | PE32 PE32 Align=32 $(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.DXE_CORE]
|
---|
390 | FILE DXE_CORE = $(NAMED_GUID) {
|
---|
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 | }
|
---|
395 |
|
---|
396 | [Rule.Common.DXE_DRIVER]
|
---|
397 | FILE DRIVER = $(NAMED_GUID) {
|
---|
398 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
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.DXE_RUNTIME_DRIVER]
|
---|
405 | FILE DRIVER = $(NAMED_GUID) {
|
---|
406 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
407 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
408 | UI STRING="$(MODULE_NAME)" Optional
|
---|
409 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
410 | }
|
---|
411 |
|
---|
412 | [Rule.Common.UEFI_DRIVER]
|
---|
413 | FILE DRIVER = $(NAMED_GUID) {
|
---|
414 | DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
|
---|
415 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
416 | UI STRING="$(MODULE_NAME)" Optional
|
---|
417 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
418 | }
|
---|
419 |
|
---|
420 | [Rule.Common.UEFI_DRIVER.BINARY]
|
---|
421 | FILE DRIVER = $(NAMED_GUID) {
|
---|
422 | DXE_DEPEX DXE_DEPEX Optional |.depex
|
---|
423 | PE32 PE32 |.efi
|
---|
424 | UI STRING="$(MODULE_NAME)" Optional
|
---|
425 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
426 | }
|
---|
427 |
|
---|
428 | [Rule.Common.UEFI_APPLICATION]
|
---|
429 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
430 | PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
|
---|
431 | UI STRING="$(MODULE_NAME)" Optional
|
---|
432 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
433 | }
|
---|
434 |
|
---|
435 | [Rule.Common.UEFI_APPLICATION.BINARY]
|
---|
436 | FILE APPLICATION = $(NAMED_GUID) {
|
---|
437 | PE32 PE32 |.efi
|
---|
438 | UI STRING="$(MODULE_NAME)" Optional
|
---|
439 | VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
|
---|
440 | }
|
---|
441 |
|
---|
442 | [Rule.Common.USER_DEFINED.ACPITABLE]
|
---|
443 | FILE FREEFORM = $(NAMED_GUID) {
|
---|
444 | RAW ACPI |.acpi
|
---|
445 | RAW ASL |.aml
|
---|
446 | }
|
---|
447 |
|
---|
448 | [Rule.Common.USER_DEFINED.CSM]
|
---|
449 | FILE FREEFORM = $(NAMED_GUID) {
|
---|
450 | RAW BIN |.bin
|
---|
451 | }
|
---|
452 |
|
---|
453 | [Rule.Common.SEC.RESET_VECTOR]
|
---|
454 | FILE RAW = $(NAMED_GUID) {
|
---|
455 | RAW BIN Align = 16 |.bin
|
---|
456 | }
|
---|