PciEnumerationComplete might be signaled to FSP in Coreboot. So FSP wrapper driver don't need send it again. Add a PCD to control if a FSP API could be skipped from FspWrapperNotifyDxe driver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Dong <guo.dong@intel.com> Reviewed-by: Maurice Ma <maurice.ma@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
		
			
				
	
	
		
			69 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			69 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| # FSP DXE Module
 | |
| #
 | |
| # This driver will register two callbacks to call fsp's notifies.
 | |
| #
 | |
| #  Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
 | |
| #
 | |
| #  This program and the accompanying materials
 | |
| #  are licensed and made available under the terms and conditions of the BSD License
 | |
| #  which accompanies this distribution. The full text of the license may be found at
 | |
| #  http://opensource.org/licenses/bsd-license.php.
 | |
| #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 | |
| #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 | |
| #
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x00010005
 | |
|   BASE_NAME                      = FspWrapperNotifyDxe
 | |
|   FILE_GUID                      = AD61999A-507E-47E6-BA28-79CC609FA1A4
 | |
|   MODULE_TYPE                    = DXE_DRIVER
 | |
|   VERSION_STRING                 = 1.0
 | |
|   ENTRY_POINT                    = FspWrapperNotifyDxeEntryPoint
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   FspWrapperNotifyDxe.c
 | |
|   LoadBelow4G.c
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   IntelFsp2Pkg/IntelFsp2Pkg.dec
 | |
|   IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   UefiDriverEntryPoint
 | |
|   UefiBootServicesTableLib
 | |
|   DebugLib
 | |
|   BaseMemoryLib
 | |
|   UefiLib
 | |
|   FspWrapperApiLib
 | |
|   PeCoffLib
 | |
|   CacheMaintenanceLib
 | |
|   DxeServicesLib
 | |
|   PerformanceLib
 | |
|   HobLib
 | |
|   FspWrapperPlatformLib
 | |
| 
 | |
| [Protocols]
 | |
|   gEfiPciEnumerationCompleteProtocolGuid            ## CONSUMES
 | |
|   gAddPerfRecordProtocolGuid                        ## CONSUMES
 | |
| 
 | |
| [Guids]
 | |
|   gFspApiPerformanceGuid                            ## CONSUMES ## GUID
 | |
|   gEfiEventExitBootServicesGuid                     ## CONSUMES ## Event
 | |
|   gFspHobGuid                                       ## CONSUMES ## HOB
 | |
| 
 | |
| [Pcd]
 | |
|   gIntelFsp2WrapperTokenSpaceGuid.PcdFspsBaseAddress  ## CONSUMES
 | |
|   gIntelFsp2WrapperTokenSpaceGuid.PcdSkipFspApi       ## CONSUMES
 | |
| 
 | |
| [Depex]
 | |
|   TRUE
 |