• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  This module installs ACPI Firmware Performance Data Table (FPDT).
3#
4#  This module registers report status code listener to collect performance data
5#  for Firmware Basic Boot Performance Record and other boot performance records,
6#  and install FPDT to ACPI table.
7#
8#  Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>
9#  This program and the accompanying materials
10#  are licensed and made available under the terms and conditions of the BSD License
11#  which accompanies this distribution.  The full text of the license may be found at
12#  http://opensource.org/licenses/bsd-license.php
13#
14#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16#
17##
18
19[Defines]
20  INF_VERSION                    = 0x00010005
21  BASE_NAME                      = FirmwarePerformanceDxe
22  MODULE_UNI_FILE                = FirmwarePerformanceDxe.uni
23  FILE_GUID                      = 00160F8D-2B35-4df2-BBE0-B272A8D631F0
24  MODULE_TYPE                    = DXE_DRIVER
25  VERSION_STRING                 = 1.0
26  ENTRY_POINT                    = FirmwarePerformanceDxeEntryPoint
27
28#
29# The following information is for reference only and not required by the build tools.
30#
31#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
32#
33
34[Sources]
35  FirmwarePerformanceDxe.c
36
37[Packages]
38  MdePkg/MdePkg.dec
39  MdeModulePkg/MdeModulePkg.dec
40
41[LibraryClasses]
42  UefiDriverEntryPoint
43  UefiBootServicesTableLib
44  UefiRuntimeServicesTableLib
45  BaseLib
46  DebugLib
47  TimerLib
48  BaseMemoryLib
49  MemoryAllocationLib
50  PcdLib
51  HobLib
52  LockBoxLib
53  UefiLib
54
55[Protocols]
56  gEfiAcpiTableProtocolGuid                     ## CONSUMES
57  gEfiRscHandlerProtocolGuid                    ## CONSUMES
58  gEfiSmmCommunicationProtocolGuid              ## SOMETIMES_CONSUMES
59  gEfiVariableArchProtocolGuid                  ## CONSUMES
60  gEfiLockBoxProtocolGuid                       ## CONSUMES
61
62[Guids]
63  gEfiEventExitBootServicesGuid                 ## CONSUMES             ## Event
64  gEfiEventReadyToBootGuid                      ## CONSUMES             ## Event
65  gEfiEventLegacyBootGuid                       ## SOMETIMES_CONSUMES   ## Event
66  ## SOMETIMES_CONSUMES   ## HOB
67  ## SOMETIMES_CONSUMES   ## Variable:L"FirmwarePerformance"
68  ## PRODUCES             ## Variable:L"FirmwarePerformance"
69  ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication
70  ## SOMETIMES_CONSUMES ## UNDEFINED # StatusCode Data
71  gEfiFirmwarePerformanceGuid
72  gFirmwarePerformanceS3PointerGuid             ## PRODUCES ## UNDEFINED # SaveLockBox
73  gEdkiiPiSmmCommunicationRegionTableGuid       ## SOMETIMES_CONSUMES    ## SystemTable
74
75[Pcd]
76  gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderLoad    ## CONSUMES
77  gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderStart   ## CONSUMES
78  gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize    ## CONSUMES
79  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId            ## CONSUMES
80  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId       ## CONSUMES
81  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision      ## CONSUMES
82  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId        ## CONSUMES
83  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision  ## CONSUMES
84
85[FeaturePcd]
86  gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwarePerformanceDataTableS3Support   ## CONSUMES
87
88[Depex]
89  gEfiRscHandlerProtocolGuid
90
91[UserExtensions.TianoCore."ExtraFiles"]
92  FirmwarePerformanceDxeExtra.uni
93