]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/PlatformPkgGcc.fdf
ShellPkg/LoadPciRom: Handle memory allocation failure
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformPkgGcc.fdf
1 #/** @file
2 # FDF file of Platform.
3 #
4 # Copyright (c) 2008 - 2016, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials are licensed and made available under
7 # the terms and conditions of the BSD License that accompanies this distribution.
8 # 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 [Defines]
18 DEFINE FLASH_BASE = 0xFFC00000 #The base address of the 4Mb FLASH Device.
19 DEFINE FLASH_SIZE = 0x00400000 #The flash size in bytes of the 4Mb FLASH Device.
20 DEFINE FLASH_BLOCK_SIZE = 0x1000 #The block size in bytes of the 4Mb FLASH Device.
21 DEFINE FLASH_NUM_BLOCKS = 0x400 #The number of blocks in 4Mb FLASH Device.
22 DEFINE FLASH_AREA_BASE_ADDRESS = 0xFF800000
23 DEFINE FLASH_AREA_SIZE = 0x00800000
24
25 DEFINE FLASH_REGION_VLVMICROCODE_OFFSET = 0x00000000
26 DEFINE FLASH_REGION_VLVMICROCODE_SIZE = 0x00040000
27 DEFINE FLASH_REGION_VLVMICROCODE_BASE = 0xFFC00000
28
29 DEFINE FLASH_REGION_VPD_OFFSET = 0x00040000
30 DEFINE FLASH_REGION_VPD_SIZE = 0x0003E000
31
32 DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_WORKING_OFFSET = 0x0007E000
33 DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_WORKING_SIZE = 0x00002000
34
35
36 DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_SPARE_OFFSET = 0x00080000
37 DEFINE FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_SPARE_SIZE = 0x00040000
38
39 !if $(MINNOW2_FSP_BUILD) == TRUE
40 DEFINE FLASH_REGION_FSPBIN_OFFSET = 0x000C0000
41 DEFINE FLASH_REGION_FSPBIN_SIZE = 0x00048000
42 DEFINE FLASH_REGION_FSPBIN_BASE = 0xFFCC0000
43
44 DEFINE FLASH_REGION_AZALIABIN_OFFSET = 0x00108000
45 DEFINE FLASH_REGION_AZALIABIN_SIZE = 0x00008000
46 DEFINE FLASH_REGION_AZALIABIN_BASE = 0xFFD08000
47
48 !endif
49
50 DEFINE FLASH_REGION_FVMAIN_OFFSET = 0x00110000
51 DEFINE FLASH_REGION_FVMAIN_SIZE = 0x00215000
52
53 DEFINE FLASH_REGION_FV_RECOVERY2_OFFSET = 0x00325000
54 DEFINE FLASH_REGION_FV_RECOVERY2_SIZE = 0x0006B000
55
56 DEFINE FLASH_REGION_FV_RECOVERY_OFFSET = 0x00390000
57 DEFINE FLASH_REGION_FV_RECOVERY_SIZE = 0x00070000
58
59 ################################################################################
60 #
61 # FD Section
62 # The [FD] Section is made up of the definition statements and a
63 # description of what goes into the Flash Device Image. Each FD section
64 # defines one flash "device" image. A flash device image may be one of
65 # the following: Removable media bootable image (like a boot floppy
66 # image,) an Option ROM image (that would be "flashed" into an add-in
67 # card,) a System "Flash" image (that would be burned into a system's
68 # flash) or an Update ("Capsule") image that will be used to update and
69 # existing system flash.
70 #
71 ################################################################################
72 [FD.Vlv]
73 BaseAddress = $(FLASH_BASE)|gPlatformModuleTokenSpaceGuid.PcdFlashAreaBaseAddress #The base address of the 3Mb FLASH Device.
74 Size = $(FLASH_SIZE)|gPlatformModuleTokenSpaceGuid.PcdFlashAreaSize #The flash size in bytes of the 3Mb FLASH Device.
75 ErasePolarity = 1
76 BlockSize = $(FLASH_BLOCK_SIZE) #The block size in bytes of the 3Mb FLASH Device.
77 NumBlocks = $(FLASH_NUM_BLOCKS) #The number of blocks in 3Mb FLASH Device.
78
79 #
80 #Flash location override based on actual flash map
81 #
82 SET gPlatformModuleTokenSpaceGuid.PcdFlashAreaBaseAddress = $(FLASH_AREA_BASE_ADDRESS)
83 SET gPlatformModuleTokenSpaceGuid.PcdFlashAreaSize = $(FLASH_AREA_SIZE)
84
85 !if $(MINNOW2_FSP_BUILD) == TRUE
86 # put below PCD value setting into dsc file
87 #SET gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress = $(FLASH_REGION_VLVMICROCODE_BASE)
88 #SET gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize = $(FLASH_REGION_VLVMICROCODE_SIZE)
89 #SET gFspWrapperTokenSpaceGuid.PcdFlashMicroCodeOffset = 0x60
90 #SET gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheAddress = $(FLASH_AREA_BASE_ADDRESS)
91 #SET gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize = $(FLASH_AREA_SIZE)
92 #SET gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase = $(FLASH_REGION_FSPBIN_BASE)
93 #SET gFspWrapperTokenSpaceGuid.PcdFlashFvFspSize = $(FLASH_REGION_FSPBIN_SIZE)
94
95 !endif
96 ################################################################################
97 #
98 # Following are lists of FD Region layout which correspond to the locations of different
99 # images within the flash device.
100 #
101 # Regions must be defined in ascending order and may not overlap.
102 #
103 # A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
104 # the pipe "|" character, followed by the size of the region, also in hex with the leading
105 # "0x" characters. Like:
106 # Offset|Size
107 # PcdOffsetCName|PcdSizeCName
108 # RegionType <FV, DATA, or FILE>
109 # Fv Size can be adjusted; FVMAIN_COMPACT can be reduced to 0x120000, and FV_RECOVERY can be enlarged to 0x80000
110 #
111 ################################################################################
112 # Since the Fce tool don't have gcc version, we can't handle default variable in Linux,
113 # so we hardcode the default value of variable here.
114 # Please note that we MUST update the binary once the default value is changed.
115
116 #
117 # CPU Microcodes
118 #
119
120 $(FLASH_REGION_VLVMICROCODE_OFFSET)|$(FLASH_REGION_VLVMICROCODE_SIZE)
121 gPlatformModuleTokenSpaceGuid.PcdFlashMicroCodeAddress|gPlatformModuleTokenSpaceGuid.PcdFlashMicroCodeSize
122 FV = MICROCODE_FV
123
124 $(FLASH_REGION_VPD_OFFSET)|$(FLASH_REGION_VPD_SIZE)
125 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
126 FILE = $(WORKSPACE)/Vlv2TbltDevicePkg/Stitch/Gcc/NvStorageVariable.bin
127
128 $(FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_WORKING_OFFSET)|$(FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_WORKING_SIZE)
129 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
130 FILE = $(WORKSPACE)/Vlv2TbltDevicePkg/Stitch/Gcc/NvStorageFtwWorking.bin
131
132 $(FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_SPARE_OFFSET)|$(FLASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_SPARE_SIZE)
133 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
134 FILE = $(WORKSPACE)/Vlv2TbltDevicePkg/Stitch/Gcc/NvStorageFtwSpare.bin
135
136 !if $(MINNOW2_FSP_BUILD) == TRUE
137
138 $(FLASH_REGION_FSPBIN_OFFSET)|$(FLASH_REGION_FSPBIN_SIZE)
139 gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|gFspWrapperTokenSpaceGuid.PcdFlashFvFspSize
140 FILE = Vlv2MiscBinariesPkg/FspBinary/FvFsp.bin
141
142
143 $(FLASH_REGION_AZALIABIN_OFFSET)|$(FLASH_REGION_AZALIABIN_SIZE)
144 FILE = Vlv2TbltDevicePkg/FspAzaliaConfigData/AzaliaConfig.bin
145
146 !endif
147
148 #
149 # Main Block
150 #
151 $(FLASH_REGION_FVMAIN_OFFSET)|$(FLASH_REGION_FVMAIN_SIZE)
152 gPlatformModuleTokenSpaceGuid.PcdFlashFvMainBase|gPlatformModuleTokenSpaceGuid.PcdFlashFvMainSize
153 FV = FVMAIN_COMPACT
154
155 #
156 # FV Recovery#2
157 #
158 $(FLASH_REGION_FV_RECOVERY2_OFFSET)|$(FLASH_REGION_FV_RECOVERY2_SIZE)
159 gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Base|gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Size
160 FV = FVRECOVERY2
161
162 #
163 # FV Recovery
164 #
165 $(FLASH_REGION_FV_RECOVERY_OFFSET)|$(FLASH_REGION_FV_RECOVERY_SIZE)
166 gPlatformModuleTokenSpaceGuid.PcdFlashFvRecoveryBase|gPlatformModuleTokenSpaceGuid.PcdFlashFvRecoverySize
167 FV = FVRECOVERY
168
169 ################################################################################
170 #
171 # FV Section
172 #
173 # [FV] section is used to define what components or modules are placed within a flash
174 # device file. This section also defines order the components and modules are positioned
175 # within the image. The [FV] section consists of define statements, set statements and
176 # module statements.
177 #
178 ################################################################################
179 [FV.MICROCODE_FV]
180 BlockSize = $(FLASH_BLOCK_SIZE)
181 FvAlignment = 16
182 ERASE_POLARITY = 1
183 MEMORY_MAPPED = TRUE
184 STICKY_WRITE = TRUE
185 LOCK_CAP = TRUE
186 LOCK_STATUS = FALSE
187 WRITE_DISABLED_CAP = TRUE
188 WRITE_ENABLED_CAP = TRUE
189 WRITE_STATUS = TRUE
190 WRITE_LOCK_CAP = TRUE
191 WRITE_LOCK_STATUS = TRUE
192 READ_DISABLED_CAP = TRUE
193 READ_ENABLED_CAP = TRUE
194 READ_STATUS = TRUE
195 READ_LOCK_CAP = TRUE
196 READ_LOCK_STATUS = TRUE
197
198 FILE RAW = 197DB236-F856-4924-90F8-CDF12FB875F3 {
199 $(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/$(DXE_ARCHITECTURE)/MicrocodeUpdates.bin
200 }
201
202 ################################################################################
203 #
204 # FV Section
205 #
206 # [FV] section is used to define what components or modules are placed within a flash
207 # device file. This section also defines order the components and modules are positioned
208 # within the image. The [FV] section consists of define statements, set statements and
209 # module statements.
210 #
211 ################################################################################
212 [FV.FVRECOVERY2]
213 BlockSize = $(FLASH_BLOCK_SIZE)
214 FvAlignment = 16 #FV alignment and FV attributes setting.
215 ERASE_POLARITY = 1
216 MEMORY_MAPPED = TRUE
217 STICKY_WRITE = TRUE
218 LOCK_CAP = TRUE
219 LOCK_STATUS = TRUE
220 WRITE_DISABLED_CAP = TRUE
221 WRITE_ENABLED_CAP = TRUE
222 WRITE_STATUS = TRUE
223 WRITE_LOCK_CAP = TRUE
224 WRITE_LOCK_STATUS = TRUE
225 READ_DISABLED_CAP = TRUE
226 READ_ENABLED_CAP = TRUE
227 READ_STATUS = TRUE
228 READ_LOCK_CAP = TRUE
229 READ_LOCK_STATUS = TRUE
230 FvNameGuid = B73FE497-B92E-416e-8326-45AD0D270092
231
232
233
234 INF $(PLATFORM_PACKAGE)/PlatformInitPei/PlatformInitPei.inf
235
236 !if $(MINNOW2_FSP_BUILD) == FALSE
237 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSmbusArpDisabled.inf
238 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/VlvInitPeim.inf
239 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchInitPeim.inf
240 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSpiPeim.inf
241 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmAccess.inf
242 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmControl.inf
243 INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
244 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MpS3.inf
245 INF EdkCompatibilityPkg/Compatibility/AcpiVariableHobOnSmramReserveHobThunk/AcpiVariableHobOnSmramReserveHobThunk.inf
246 !endif
247
248 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PiSmmCommunicationPei.inf
249 !if $(TPM_ENABLED) == TRUE
250 INF SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf
251 INF SecurityPkg/Tcg/TcgPei/TcgPei.inf
252 INF SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
253 !endif
254 !if $(FTPM_ENABLE) == TRUE
255 INF SecurityPkg/Tcg/TrEEPei/TrEEPei.inf #use PCD config
256 !endif
257 INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
258
259 !if $(ACPI50_ENABLE) == TRUE
260 INF MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/FirmwarePerformancePei.inf
261 !endif
262 !if $(PERFORMANCE_ENABLE) == TRUE
263 INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
264 !endif
265
266 [FV.FVRECOVERY]
267 BlockSize = $(FLASH_BLOCK_SIZE)
268 FvAlignment = 16 #FV alignment and FV attributes setting.
269 ERASE_POLARITY = 1
270 MEMORY_MAPPED = TRUE
271 STICKY_WRITE = TRUE
272 LOCK_CAP = TRUE
273 LOCK_STATUS = TRUE
274 WRITE_DISABLED_CAP = TRUE
275 WRITE_ENABLED_CAP = TRUE
276 WRITE_STATUS = TRUE
277 WRITE_LOCK_CAP = TRUE
278 WRITE_LOCK_STATUS = TRUE
279 READ_DISABLED_CAP = TRUE
280 READ_ENABLED_CAP = TRUE
281 READ_STATUS = TRUE
282 READ_LOCK_CAP = TRUE
283 READ_LOCK_STATUS = TRUE
284 FvNameGuid = B73FE497-B92E-416e-8326-45AD0D270091
285
286
287 !if $(MINNOW2_FSP_BUILD) == TRUE
288 INF IntelFspWrapperPkg/FspWrapperSecCore/FspWrapperSecCore.inf
289 !else
290 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SecCore.inf
291 !endif
292
293 INF MdeModulePkg/Core/Pei/PeiMain.inf
294 !if $(MINNOW2_FSP_BUILD) == TRUE
295 INF Vlv2TbltDevicePkg/FspSupport/BootModePei/BootModePei.inf
296 INF IntelFspWrapperPkg/FspInitPei/FspInitPei.inf
297 !endif
298 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/CpuPeim.inf
299 INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
300 INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
301
302 INF $(PLATFORM_PACKAGE)/PlatformPei/PlatformPei.inf
303
304 !if $(MINNOW2_FSP_BUILD) == FALSE
305 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SeCUma.inf
306 !endif
307
308 !if $(FTPM_ENABLE) == TRUE
309 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
310 !endif
311
312 !if $(SOURCE_DEBUG_ENABLE) == TRUE
313 INF SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf
314 !endif
315
316
317 !if $(CAPSULE_ENABLE) == TRUE
318 INF MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
319 !if $(DXE_ARCHITECTURE) == "X64"
320 INF MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf
321 !endif
322 !endif
323
324 !if $(MINNOW2_FSP_BUILD) == FALSE
325 !if $(PCIESC_ENABLE) == TRUE
326 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchEarlyInitPeim.inf
327 !endif
328 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MemoryInit.inf
329 !endif
330
331 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
332
333 [FV.FVMAIN]
334 BlockSize = $(FLASH_BLOCK_SIZE)
335 FvAlignment = 16
336 ERASE_POLARITY = 1
337 MEMORY_MAPPED = TRUE
338 STICKY_WRITE = TRUE
339 LOCK_CAP = TRUE
340 LOCK_STATUS = TRUE
341 WRITE_DISABLED_CAP = TRUE
342 WRITE_ENABLED_CAP = TRUE
343 WRITE_STATUS = TRUE
344 WRITE_LOCK_CAP = TRUE
345 WRITE_LOCK_STATUS = TRUE
346 READ_DISABLED_CAP = TRUE
347 READ_ENABLED_CAP = TRUE
348 READ_STATUS = TRUE
349 READ_LOCK_CAP = TRUE
350 READ_LOCK_STATUS = TRUE
351 FvNameGuid = A881D567-6CB0-4eee-8435-2E72D33E45B5
352
353 APRIORI DXE {
354 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
355 INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
356 INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
357 }
358
359 FILE FREEFORM = C3E36D09-8294-4b97-A857-D5288FE33E28 {
360 SECTION RAW = $(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/$(DXE_ARCHITECTURE)/BiosId.bin
361 }
362
363 #
364 # EDK II Related Platform codes
365 #
366
367 !if $(MINNOW2_FSP_BUILD) == TRUE
368 INF IntelFspWrapperPkg/FspNotifyDxe/FspNotifyDxe.inf
369 !endif
370
371 INF MdeModulePkg/Core/Dxe/DxeMain.inf
372 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
373 !if $(ACPI50_ENABLE) == TRUE
374 INF MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf
375 INF MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf
376 !endif
377
378
379 INF IntelFrameworkModulePkg/Universal/CpuIoDxe/CpuIoDxe.inf
380 INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
381 INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
382 INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
383 INF MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
384 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
385 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MpCpu.inf
386 INF $(PLATFORM_PACKAGE)/Metronome/Metronome.inf
387 INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
388 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
389 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
390 INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
391 INF IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
392
393 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
394 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
395 INF $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbSmm.inf
396 INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
397 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiSmm.inf
398 !if $(SECURE_BOOT_ENABLE)
399 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
400 !endif
401
402 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
403
404 INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
405 INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
406 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
407 INF $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbRuntimeDxe.inf
408
409
410 INF $(PLATFORM_PACKAGE)/PlatformSetupDxe/PlatformSetupDxe.inf
411
412 !if $(DATAHUB_ENABLE) == TRUE
413 INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
414 !endif
415 INF IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.inf
416 INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
417
418 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Dptf.inf
419
420 #
421 # EDK II Related Silicon codes
422 #
423 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchS3SupportDxe.inf
424
425 !if $(USE_HPET_TIMER) == TRUE
426 INF PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
427 !else
428 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmartTimer.inf
429 !endif
430 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmControl.inf
431
432 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmbusDxe.inf
433
434 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/IntelPchLegacyInterrupt.inf
435 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchReset.inf
436
437 !if $(MINNOW2_FSP_BUILD) == FALSE
438 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitDxe.inf
439 !endif
440 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmiDispatcher.inf
441 !if $(PCIESC_ENABLE) == TRUE
442 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPcieSmm.inf
443 !endif
444
445 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiRuntime.inf
446 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPolicyInitDxe.inf
447 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchBiosWriteProtect.inf
448 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmAccess.inf
449 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PciHostBridge.inf
450 !if $(MINNOW2_FSP_BUILD) == FALSE
451 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/VlvInitDxe.inf
452 !else
453 INF IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf
454 INF Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf
455 !endif
456 !if $(MINNOW2_FSP_BUILD) == FALSE
457 !if $(SEC_ENABLE) == TRUE
458 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/HeciDrv.inf
459 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SeCPolicyInitDxe.inf
460 !endif
461 !endif
462 !if $(TPM_ENABLED) == TRUE
463 INF SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf
464 INF SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
465 INF RuleOverride = DRIVER_ACPITABLE SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
466 !endif
467 !if $(FTPM_ENABLE) == TRUE
468 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/Tpm2DeviceSeCPei.inf
469 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Tpm2DeviceSeCDxe.inf
470 INF SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
471 INF SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf
472 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/FtpmSmm.inf
473 !endif
474
475 #
476 # EDK II Related Platform codes
477 #
478 INF $(PLATFORM_PACKAGE)/PlatformSmm/PlatformSmm.inf
479 INF $(PLATFORM_PACKAGE)/PlatformInfoDxe/PlatformInfoDxe.inf
480 INF $(PLATFORM_PACKAGE)/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf
481 INF $(PLATFORM_PACKAGE)/PlatformDxe/PlatformDxe.inf
482 INF $(PLATFORM_PACKAGE)/PciPlatform/PciPlatform.inf
483 INF $(PLATFORM_PACKAGE)/SaveMemoryConfig/SaveMemoryConfig.inf
484 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf
485 INF $(PLATFORM_PACKAGE)/PpmPolicy/PpmPolicy.inf
486 INF $(PLATFORM_PACKAGE)/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.inf
487 !if $(GOP_DRIVER_ENABLE) == TRUE
488 INF $(PLATFORM_PACKAGE)/PlatformGopPolicy/PlatformGopPolicy.inf
489 FILE DRIVER = FF0C8745-3270-4439-B74F-3E45F8C77064 {
490 SECTION DXE_DEPEX_EXP = {gPlatformGOPPolicyGuid}
491 SECTION PE32 = Vlv2MiscBinariesPkg/GOP/7.2.1011/RELEASE_VS2008x86/$(DXE_ARCHITECTURE)/IntelGopDriver.efi
492 SECTION UI = "IntelGopDriver"
493 }
494 !endif
495
496 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PnpDxe.inf
497 #
498 # SMM
499 #
500 INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
501 INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
502 INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
503
504 INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
505 INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
506 INF UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
507 INF $(PLATFORM_PACKAGE)/SmmSwDispatch2OnSmmSwDispatchThunk/SmmSwDispatch2OnSmmSwDispatchThunk.inf
508 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PowerManagement2.inf
509 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/DigitalThermalSensor.inf
510 #
511 # ACPI
512 #
513 INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
514 INF $(PLATFORM_PACKAGE)/BootScriptSaveDxe/BootScriptSaveDxe.inf
515 INF IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/AcpiSupportDxe.inf
516 INF RuleOverride = ACPITABLE2 Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/PowerManagementAcpiTables.inf
517
518 INF RuleOverride = ACPITABLE $(PLATFORM_RC_PACKAGE)/AcpiTablesPCAT/AcpiTables.inf
519
520 INF $(PLATFORM_PACKAGE)/AcpiPlatform/AcpiPlatform.inf
521
522 #
523 # PCI
524 #
525 INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
526
527 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/ISPDxe.inf
528
529
530 #
531 # ISA
532 #
533 INF $(PLATFORM_PACKAGE)/Wpce791/Wpce791.inf
534 INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
535 INF IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
536 !if $(SOURCE_DEBUG_ENABLE) != TRUE
537 INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
538 !endif
539 #INF IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
540 #INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
541
542 #
543 # SDIO
544 #
545 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcHost.inf
546 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcMediaDevice.inf
547 #
548 # IDE/SCSI/AHCI
549 #
550 INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
551
552 INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
553
554 INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
555 !if $(SATA_ENABLE) == TRUE
556 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf
557 #
558
559 #
560 INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
561 INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
562 !if $(SCSI_ENABLE) == TRUE
563 INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
564 INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
565 !endif
566 #
567 !endif
568 # Console
569 #
570 INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
571 INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
572 INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
573 INF IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
574 INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
575 INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
576 INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
577 INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
578 #
579 # USB
580 #
581 !if $(USB_ENABLE) == TRUE
582 INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
583 INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
584 INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
585 INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
586 INF MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
587 INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
588 INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
589 !endif
590
591 #
592 # ECP
593 #
594 INF EdkCompatibilityPkg/Compatibility/LegacyRegion2OnLegacyRegionThunk/LegacyRegion2OnLegacyRegionThunk.inf
595 INF EdkCompatibilityPkg/Compatibility/SmmBaseOnSmmBase2Thunk/SmmBaseOnSmmBase2Thunk.inf
596 INF EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.inf
597 INF EdkCompatibilityPkg/Compatibility/SmmAccess2OnSmmAccessThunk/SmmAccess2OnSmmAccessThunk.inf
598 INF EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/SmmControl2OnSmmControlThunk.inf
599 INF EdkCompatibilityPkg/Compatibility/FvOnFv2Thunk/FvOnFv2Thunk.inf
600 #
601 # SMBIOS
602 #
603 INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
604 INF $(PLATFORM_PACKAGE)/SmBiosMiscDxe/SmBiosMiscDxe.inf
605
606 INF RuleOverride = BINARY $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmbiosMemory.inf
607
608 #
609 # Legacy Modules
610 #
611 INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
612
613 #
614 # FAT file system
615 #
616 INF FatPkg/EnhancedFatDxe/Fat.inf
617
618 #
619 # UEFI Shell
620 #
621 FILE APPLICATION = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile) {
622 # SECTION PE32 = EdkShellBinPkg/FullShell/$(EDK_DXE_ARCHITECTURE)/Shell_Full.efi
623 SECTION PE32 = EdkShellBinPkg/MinimumShell/$(EDK_DXE_ARCHITECTURE)/Shell.efi
624 }
625
626
627
628 !if $(GOP_DRIVER_ENABLE) == TRUE
629 FILE FREEFORM = 878AC2CC-5343-46F2-B563-51F89DAF56BA {
630 SECTION RAW = Vlv2MiscBinariesPkg/GOP/7.2.1011/VBT/MNW2/Vbt.bin
631 SECTION UI = "IntelGopVbt"
632 }
633 !endif
634
635 #
636 # Network Modules
637 #
638 !if $(NETWORK_ENABLE) == TRUE
639 FILE DRIVER = 22DE1691-D65D-456a-993E-A253DD1F308C {
640 SECTION PE32 = Vlv2MiscBinariesPkg/UNDI/RtkUndiDxe/$(DXE_ARCHITECTURE)/RtkUndiDxe.efi
641 SECTION UI = "UNDI"
642 }
643 INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
644 INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
645 INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
646 INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
647 INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
648 INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
649 INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
650 INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
651 !if $(NETWORK_IP6_ENABLE) == TRUE
652 INF NetworkPkg/Ip6Dxe/Ip6Dxe.inf
653 INF NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
654 INF NetworkPkg/IpSecDxe/IpSecDxe.inf
655 INF NetworkPkg/Udp6Dxe/Udp6Dxe.inf
656 INF NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
657 !endif
658 !if $(NETWORK_IP6_ENABLE) == TRUE
659 INF NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
660 INF NetworkPkg/TcpDxe/TcpDxe.inf
661 !else
662 INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
663 INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
664 !endif
665 !if $(NETWORK_VLAN_ENABLE) == TRUE
666 INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
667 !endif
668 !if $(NETWORK_ISCSI_ENABLE) == TRUE
669 !if $(NETWORK_IP6_ENABLE) == TRUE
670 INF NetworkPkg/IScsiDxe/IScsiDxe.inf
671 !else
672 INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
673 !endif
674 !endif
675 !endif
676
677 [FV.FVMAIN_COMPACT]
678 BlockSize = $(FLASH_BLOCK_SIZE)
679 FvAlignment = 16
680 ERASE_POLARITY = 1
681 MEMORY_MAPPED = TRUE
682 STICKY_WRITE = TRUE
683 LOCK_CAP = TRUE
684 LOCK_STATUS = TRUE
685 WRITE_DISABLED_CAP = TRUE
686 WRITE_ENABLED_CAP = TRUE
687 WRITE_STATUS = TRUE
688 WRITE_LOCK_CAP = TRUE
689 WRITE_LOCK_STATUS = TRUE
690 READ_DISABLED_CAP = TRUE
691 READ_ENABLED_CAP = TRUE
692 READ_STATUS = TRUE
693 READ_LOCK_CAP = TRUE
694 READ_LOCK_STATUS = TRUE
695
696
697
698 FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
699 !if $(LZMA_ENABLE) == TRUE
700 # LZMA Compress
701 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
702 SECTION FV_IMAGE = FVMAIN
703 }
704 !else
705 !if $(DXE_COMPRESS_ENABLE) == TRUE
706 # Tiano Compress
707 SECTION GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
708 SECTION FV_IMAGE = FVMAIN
709 }
710 !else
711 # No Compress
712 SECTION COMPRESS PI_NONE {
713 SECTION FV_IMAGE = FVMAIN
714 }
715 !endif
716 !endif
717 }
718
719 [FV.SETUP_DATA]
720 BlockSize = $(FLASH_BLOCK_SIZE)
721 #NumBlocks = 0x10
722 FvAlignment = 16
723 ERASE_POLARITY = 1
724 MEMORY_MAPPED = TRUE
725 STICKY_WRITE = TRUE
726 LOCK_CAP = TRUE
727 LOCK_STATUS = TRUE
728 WRITE_DISABLED_CAP = TRUE
729 WRITE_ENABLED_CAP = TRUE
730 WRITE_STATUS = TRUE
731 WRITE_LOCK_CAP = TRUE
732 WRITE_LOCK_STATUS = TRUE
733 READ_DISABLED_CAP = TRUE
734 READ_ENABLED_CAP = TRUE
735 READ_STATUS = TRUE
736 READ_LOCK_CAP = TRUE
737 READ_LOCK_STATUS = TRUE
738
739
740 [FV.Update_Data]
741 BlockSize = $(FLASH_BLOCK_SIZE)
742 FvAlignment = 16
743 ERASE_POLARITY = 1
744 MEMORY_MAPPED = TRUE
745 STICKY_WRITE = TRUE
746 LOCK_CAP = TRUE
747 LOCK_STATUS = TRUE
748 WRITE_DISABLED_CAP = TRUE
749 WRITE_ENABLED_CAP = TRUE
750 WRITE_STATUS = TRUE
751 WRITE_LOCK_CAP = TRUE
752 WRITE_LOCK_STATUS = TRUE
753 READ_DISABLED_CAP = TRUE
754 READ_ENABLED_CAP = TRUE
755 READ_STATUS = TRUE
756 READ_LOCK_CAP = TRUE
757 READ_LOCK_STATUS = TRUE
758
759 FILE RAW = 88888888-8888-8888-8888-888888888888 {
760 FD = Vlv
761 }
762
763 [FV.BiosUpdateCargo]
764 BlockSize = $(FLASH_BLOCK_SIZE)
765 FvAlignment = 16
766 ERASE_POLARITY = 1
767 MEMORY_MAPPED = TRUE
768 STICKY_WRITE = TRUE
769 LOCK_CAP = TRUE
770 LOCK_STATUS = TRUE
771 WRITE_DISABLED_CAP = TRUE
772 WRITE_ENABLED_CAP = TRUE
773 WRITE_STATUS = TRUE
774 WRITE_LOCK_CAP = TRUE
775 WRITE_LOCK_STATUS = TRUE
776 READ_DISABLED_CAP = TRUE
777 READ_ENABLED_CAP = TRUE
778 READ_STATUS = TRUE
779 READ_LOCK_CAP = TRUE
780 READ_LOCK_STATUS = TRUE
781
782
783
784 [FV.BiosUpdate]
785 BlockSize = $(FLASH_BLOCK_SIZE)
786 FvAlignment = 16
787 ERASE_POLARITY = 1
788 MEMORY_MAPPED = TRUE
789 STICKY_WRITE = TRUE
790 LOCK_CAP = TRUE
791 LOCK_STATUS = TRUE
792 WRITE_DISABLED_CAP = TRUE
793 WRITE_ENABLED_CAP = TRUE
794 WRITE_STATUS = TRUE
795 WRITE_LOCK_CAP = TRUE
796 WRITE_LOCK_STATUS = TRUE
797 READ_DISABLED_CAP = TRUE
798 READ_ENABLED_CAP = TRUE
799 READ_STATUS = TRUE
800 READ_LOCK_CAP = TRUE
801 READ_LOCK_STATUS = TRUE
802
803 [Capsule.Capsule_Boot]
804 #
805 # gEfiCapsuleGuid supported by platform
806 # { 0x3B6686BD, 0x0D76, 0x4030, { 0xB7, 0x0E, 0xB5, 0x51, 0x9E, 0x2F, 0xC5, 0xA0 }}
807 #
808 CAPSULE_GUID = 3B6686BD-0D76-4030-B70E-B5519E2FC5A0
809 CAPSULE_FLAGS = PersistAcrossReset
810 CAPSULE_HEADER_SIZE = 0x20
811
812 FV = BiosUpdate
813
814 [Capsule.Capsule_Reset]
815 #
816 # gEfiCapsuleGuid supported by platform
817 # { 0x3B6686BD, 0x0D76, 0x4030, { 0xB7, 0x0E, 0xB5, 0x51, 0x9E, 0x2F, 0xC5, 0xA0 }}
818 #
819 CAPSULE_GUID = 3B6686BD-0D76-4030-B70E-B5519E2FC5A0
820 CAPSULE_FLAGS = PersistAcrossReset
821 CAPSULE_HEADER_SIZE = 0x20
822
823 FV = BiosUpdate
824
825 ################################################################################
826 #
827 # Rules are use with the [FV] section's module INF type to define
828 # how an FFS file is created for a given INF file. The following Rule are the default
829 # rules for the different module type. User can add the customized rules to define the
830 # content of the FFS file.
831 #
832 ################################################################################
833 [Rule.Common.SEC]
834 FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
835 PE32 PE32 Align = 8 $(INF_OUTPUT)/$(MODULE_NAME).efi
836 RAW BIN Align = 16 |.com
837 }
838
839 [Rule.Common.SEC.BINARY]
840 FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
841 PE32 PE32 Align = 8 |.efi
842 RAW BIN Align = 16 |.com
843 }
844
845 [Rule.Common.PEI_CORE]
846 FILE PEI_CORE = $(NAMED_GUID) {
847 PE32 PE32 Align = Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
848 UI STRING="$(MODULE_NAME)" Optional
849 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
850 }
851
852 [Rule.Common.PEIM]
853 FILE PEIM = $(NAMED_GUID) {
854 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
855 PE32 PE32 Align = Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
856 UI STRING="$(MODULE_NAME)" Optional
857 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
858 }
859
860 [Rule.Common.PEIM.BINARY]
861 FILE PEIM = $(NAMED_GUID) {
862 PEI_DEPEX PEI_DEPEX Optional |.depex
863 PE32 PE32 Align = Auto |.efi
864 UI STRING="$(MODULE_NAME)" Optional
865 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
866 }
867
868 [Rule.Common.PEIM.BIOSID]
869 FILE PEIM = $(NAMED_GUID) {
870 RAW BIN BiosId.bin
871 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
872 PE32 PE32 Align = Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
873 UI STRING="$(MODULE_NAME)" Optional
874 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
875 }
876
877 [Rule.Common.USER_DEFINED.APINIT]
878 FILE RAW = $(NAMED_GUID) Fixed Align=4K {
879 RAW SEC_BIN |.com
880 }
881 #cjia 2011-07-21
882 [Rule.Common.USER_DEFINED.LEGACY16]
883 FILE FREEFORM = $(NAMED_GUID) {
884 UI STRING="$(MODULE_NAME)" Optional
885 RAW BIN |.bin
886 }
887 #cjia
888
889 [Rule.Common.USER_DEFINED.ASM16]
890 FILE FREEFORM = $(NAMED_GUID) {
891 UI STRING="$(MODULE_NAME)" Optional
892 RAW BIN |.com
893 }
894
895 [Rule.Common.DXE_CORE]
896 FILE DXE_CORE = $(NAMED_GUID) {
897 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
898 UI STRING="$(MODULE_NAME)" Optional
899 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
900 }
901
902 [Rule.Common.UEFI_DRIVER]
903 FILE DRIVER = $(NAMED_GUID) {
904 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
905 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
906 UI STRING="$(MODULE_NAME)" Optional
907 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
908 }
909
910 [Rule.Common.UEFI_DRIVER.BINARY]
911 FILE DRIVER = $(NAMED_GUID) {
912 DXE_DEPEX DXE_DEPEX Optional |.depex
913 PE32 PE32 |.efi
914 UI STRING="$(MODULE_NAME)" Optional
915 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
916 }
917
918 [Rule.Common.UEFI_DRIVER.NATIVE_BINARY]
919 FILE DRIVER = $(NAMED_GUID) {
920 DXE_DEPEX DXE_DEPEX Optional $(WORKSPACE)/$(PLATFORM_PACKAGE)/IntelGopDepex/IntelGopDriver.depex
921 PE32 PE32 |.efi
922 UI STRING="$(MODULE_NAME)" Optional
923 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
924 }
925
926 [Rule.Common.DXE_DRIVER]
927 FILE DRIVER = $(NAMED_GUID) {
928 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
929 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
930 UI STRING="$(MODULE_NAME)" Optional
931 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
932 }
933
934 [Rule.Common.DXE_DRIVER.BINARY]
935 FILE DRIVER = $(NAMED_GUID) {
936 DXE_DEPEX DXE_DEPEX Optional |.depex
937 PE32 PE32 |.efi
938 UI STRING="$(MODULE_NAME)" Optional
939 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
940 }
941
942 [Rule.Common.DXE_DRIVER.DRIVER_ACPITABLE]
943 FILE DRIVER = $(NAMED_GUID) {
944 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
945 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
946 UI STRING="$(MODULE_NAME)" Optional
947 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
948 RAW ACPI Optional |.acpi
949 RAW ASL Optional |.aml
950 }
951
952 [Rule.Common.DXE_RUNTIME_DRIVER]
953 FILE DRIVER = $(NAMED_GUID) {
954 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
955 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
956 UI STRING="$(MODULE_NAME)" Optional
957 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
958 }
959
960 [Rule.Common.DXE_RUNTIME_DRIVER.BINARY]
961 FILE DRIVER = $(NAMED_GUID) {
962 DXE_DEPEX DXE_DEPEX Optional |.depex
963 PE32 PE32 |.efi
964 UI STRING="$(MODULE_NAME)" Optional
965 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
966 }
967
968 [Rule.Common.DXE_SMM_DRIVER]
969 FILE SMM = $(NAMED_GUID) {
970 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
971 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
972 UI STRING="$(MODULE_NAME)" Optional
973 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
974 }
975
976 [Rule.Common.DXE_SMM_DRIVER.BINARY]
977 FILE SMM = $(NAMED_GUID) {
978 SMM_DEPEX SMM_DEPEX |.depex
979 PE32 PE32 |.efi
980 RAW BIN Optional |.aml
981 UI STRING="$(MODULE_NAME)" Optional
982 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
983 }
984
985 [Rule.Common.DXE_SMM_DRIVER.DRIVER_ACPITABLE]
986 FILE SMM = $(NAMED_GUID) {
987 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
988 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
989 UI STRING="$(MODULE_NAME)" Optional
990 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
991 RAW ACPI Optional |.acpi
992 RAW ASL Optional |.aml
993 }
994
995 [Rule.Common.SMM_CORE]
996 FILE SMM_CORE = $(NAMED_GUID) {
997 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
998 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
999 UI STRING="$(MODULE_NAME)" Optional
1000 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
1001 }
1002
1003 [Rule.Common.SMM_CORE.BINARY]
1004 FILE SMM_CORE = $(NAMED_GUID) {
1005 DXE_DEPEX DXE_DEPEX Optional |.depex
1006 PE32 PE32 |.efi
1007 UI STRING="$(MODULE_NAME)" Optional
1008 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
1009 }
1010
1011 [Rule.Common.UEFI_APPLICATION]
1012 FILE APPLICATION = $(NAMED_GUID) {
1013 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
1014 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
1015 UI STRING="$(MODULE_NAME)" Optional
1016 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
1017 }
1018
1019 [Rule.Common.UEFI_APPLICATION.UI]
1020 FILE APPLICATION = $(NAMED_GUID) {
1021 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
1022 UI STRING="Enter Setup"
1023 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
1024 }
1025
1026 [Rule.Common.USER_DEFINED]
1027 FILE FREEFORM = $(NAMED_GUID) {
1028 UI STRING="$(MODULE_NAME)" Optional
1029 RAW BIN |.bin
1030 }
1031
1032 [Rule.Common.USER_DEFINED.ACPITABLE]
1033 FILE FREEFORM = $(NAMED_GUID) {
1034 RAW ACPI Optional |.acpi
1035 RAW ASL Optional |.aml
1036 }
1037
1038 [Rule.Common.USER_DEFINED.ACPITABLE2]
1039 FILE FREEFORM = $(NAMED_GUID) {
1040 RAW ASL Optional |.aml
1041 }
1042
1043 [Rule.Common.ACPITABLE]
1044 FILE FREEFORM = $(NAMED_GUID) {
1045 RAW ACPI Optional |.acpi
1046 RAW ASL Optional |.aml
1047 }
1048