1 ## @file 2 # Firmware Performance Pei Module. 3 # 4 # In S3 resume boot mode, it updates S3 Resume Performance Record in ACPI Firmware Performance Data Table. 5 # In normal boot mode, it consumes SecPerformance PPI produced by SEC phase 6 # and build Hob to convey the SEC performance data to DXE phase. 7 # 8 # This module register report status code listener to collect performance data 9 # for S3 Resume Performance Record on S3 resume boot path. 10 # 11 # Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR> 12 # This program and the accompanying materials 13 # are licensed and made available under the terms and conditions of the BSD License 14 # which accompanies this distribution. The full text of the license may be found at 15 # http://opensource.org/licenses/bsd-license.php 16 # 17 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 18 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 19 # 20 ## 21 22 [Defines] 23 INF_VERSION = 0x00010005 24 BASE_NAME = FirmwarePerformancePei 25 MODULE_UNI_FILE = FirmwarePerformancePei.uni 26 FILE_GUID = ADF01BF6-47D6-495d-B95B-687777807214 27 MODULE_TYPE = PEIM 28 VERSION_STRING = 1.0 29 ENTRY_POINT = FirmwarePerformancePeiEntryPoint 30 31 # 32 # The following information is for reference only and not required by the build tools. 33 # 34 # VALID_ARCHITECTURES = IA32 X64 IPF EBC 35 # 36 37 [Sources] 38 FirmwarePerformancePei.c 39 40 [Packages] 41 MdePkg/MdePkg.dec 42 MdeModulePkg/MdeModulePkg.dec 43 44 [LibraryClasses] 45 PeimEntryPoint 46 PeiServicesLib 47 BaseLib 48 DebugLib 49 HobLib 50 TimerLib 51 BaseMemoryLib 52 LockBoxLib 53 PcdLib 54 55 [Ppis] 56 gEfiPeiRscHandlerPpiGuid ## CONSUMES 57 gPeiSecPerformancePpiGuid ## SOMETIMES_CONSUMES 58 59 [Guids] 60 ## SOMETIMES_CONSUMES ## UNDEFINED # RestoreLockBox 61 ## SOMETIMES_PRODUCES ## HOB 62 ## SOMETIMES_CONSUMES ## Variable:L"FirmwarePerformance" 63 gEfiFirmwarePerformanceGuid 64 gFirmwarePerformanceS3PointerGuid ## SOMETIMES_CONSUMES ## UNDEFINED # RestoreLockBox 65 66 [FeaturePcd] 67 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwarePerformanceDataTableS3Support ## CONSUMES 68 69 [Depex] 70 gEfiPeiMasterBootModePpiGuid AND gEfiPeiRscHandlerPpiGuid 71 72 # [BootMode] 73 # S3_RESUME ## SOMETIMES_CONSUMES 74 75 [UserExtensions.TianoCore."ExtraFiles"] 76 FirmwarePerformancePeiExtra.uni 77