• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  This module collects performance data for SMM driver boot records and S3 Suspend Performance Record.
3#
4#  This module registers report status code listener to collect performance data
5#  for SMM boot performance records and S3 Suspend Performance Record.
6#
7#  Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>
8#  This program and the accompanying materials
9#  are licensed and made available under the terms and conditions of the BSD License
10#  which accompanies this distribution.  The full text of the license may be found at
11#  http://opensource.org/licenses/bsd-license.php
12#
13#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15#
16##
17
18[Defines]
19  INF_VERSION                    = 0x00010005
20  BASE_NAME                      = FirmwarePerformanceSmm
21  MODULE_UNI_FILE                = FirmwarePerformanceSmm.uni
22  FILE_GUID                      = 044310AB-77FD-402a-AF1A-87D4120E7329
23  MODULE_TYPE                    = DXE_SMM_DRIVER
24  VERSION_STRING                 = 1.0
25  PI_SPECIFICATION_VERSION       = 0x0001000A
26  ENTRY_POINT                    = FirmwarePerformanceSmmEntryPoint
27
28#
29# The following information is for reference only and not required by the build tools.
30#
31#  VALID_ARCHITECTURES           = IA32 X64
32#
33
34[Sources]
35  FirmwarePerformanceSmm.c
36
37[Packages]
38  MdePkg/MdePkg.dec
39  MdeModulePkg/MdeModulePkg.dec
40
41[LibraryClasses]
42  UefiDriverEntryPoint
43  SmmServicesTableLib
44  BaseLib
45  DebugLib
46  TimerLib
47  LockBoxLib
48  PcdLib
49  BaseMemoryLib
50  MemoryAllocationLib
51  UefiBootServicesTableLib
52  SynchronizationLib
53  SmmMemLib
54
55[Protocols]
56  gEfiSmmRscHandlerProtocolGuid                 ## CONSUMES
57
58[Guids]
59  ## SOMETIMES_PRODUCES   ## UNDEFINED # SaveLockBox
60  ## PRODUCES             ## UNDEFINED # SmiHandlerRegister
61  ## SOMETIMES_CONSUMES   ## UNDEFINED # StatusCode Data
62  gEfiFirmwarePerformanceGuid
63
64[Pcd]
65  gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeS3SuspendStart  ## CONSUMES
66  gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeS3SuspendEnd    ## CONSUMES
67
68[Depex]
69  gEfiSmmRscHandlerProtocolGuid
70
71[UserExtensions.TianoCore."ExtraFiles"]
72  FirmwarePerformanceSmmExtra.uni
73