Add FPDT records into boot performance table for S3 phase Cc: Liming Gao <liming.gao@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
		
			
				
	
	
		
			74 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
## @file
 | 
						|
#  Firmware Performance Pei Module.
 | 
						|
#
 | 
						|
#  In S3 resume boot mode, it updates S3 Resume Performance Record in ACPI Firmware Performance Data Table.
 | 
						|
#
 | 
						|
#  This module register report status code listener to collect performance data
 | 
						|
#  for S3 Resume Performance Record on S3 resume boot path.
 | 
						|
#
 | 
						|
#  Copyright (c) 2011 - 2018, 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                      = FirmwarePerformancePei
 | 
						|
  MODULE_UNI_FILE                = FirmwarePerformancePei.uni
 | 
						|
  FILE_GUID                      = ADF01BF6-47D6-495d-B95B-687777807214
 | 
						|
  MODULE_TYPE                    = PEIM
 | 
						|
  VERSION_STRING                 = 1.0
 | 
						|
  ENTRY_POINT                    = FirmwarePerformancePeiEntryPoint
 | 
						|
 | 
						|
#
 | 
						|
# The following information is for reference only and not required by the build tools.
 | 
						|
#
 | 
						|
#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
 | 
						|
#
 | 
						|
 | 
						|
[Sources]
 | 
						|
  FirmwarePerformancePei.c
 | 
						|
 | 
						|
[Packages]
 | 
						|
  MdePkg/MdePkg.dec
 | 
						|
  MdeModulePkg/MdeModulePkg.dec
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  PeimEntryPoint
 | 
						|
  PeiServicesLib
 | 
						|
  BaseLib
 | 
						|
  DebugLib
 | 
						|
  TimerLib
 | 
						|
  BaseMemoryLib
 | 
						|
  LockBoxLib
 | 
						|
  PcdLib
 | 
						|
  HobLib
 | 
						|
 | 
						|
[Ppis]
 | 
						|
  gEfiPeiRscHandlerPpiGuid                      ## CONSUMES
 | 
						|
  gEfiPeiReadOnlyVariable2PpiGuid               ## CONSUMES
 | 
						|
 | 
						|
[Guids]
 | 
						|
  ## SOMETIMES_CONSUMES   ## UNDEFINED # RestoreLockBox
 | 
						|
  gEfiFirmwarePerformanceGuid
 | 
						|
  gFirmwarePerformanceS3PointerGuid             ## SOMETIMES_CONSUMES ## UNDEFINED # RestoreLockBox
 | 
						|
  gEdkiiFpdtExtendedFirmwarePerformanceGuid     ## SOMETIMES_CONSUMES ## HOB
 | 
						|
 | 
						|
[FeaturePcd]
 | 
						|
  gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwarePerformanceDataTableS3Support   ## CONSUMES
 | 
						|
 | 
						|
[Depex]
 | 
						|
  gEfiPeiMasterBootModePpiGuid AND gEfiPeiRscHandlerPpiGuid
 | 
						|
 | 
						|
# [BootMode]
 | 
						|
# S3_RESUME             ## SOMETIMES_CONSUMES
 | 
						|
 | 
						|
[UserExtensions.TianoCore."ExtraFiles"]
 | 
						|
  FirmwarePerformancePeiExtra.uni
 |