• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  Status Code Handler Driver which produces general handlers and hook them onto the SMM status code router.
3#
4#  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
5#  (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6#
7#  This program and the accompanying materials
8#  are licensed and made available under the terms and conditions of the BSD License
9#  which accompanies this distribution. The full text of the license may be found at
10#  http://opensource.org/licenses/bsd-license.php
11#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14#
15##
16
17[Defines]
18  INF_VERSION                    = 0x00010005
19  BASE_NAME                      = StatusCodeHandlerSmm
20  MODULE_UNI_FILE                = StatusCodeHandlerSmm.uni
21  FILE_GUID                      = 79CD78D8-6EDC-4978-BD02-3299C387AB17
22  MODULE_TYPE                    = DXE_SMM_DRIVER
23  PI_SPECIFICATION_VERSION       = 0x0001000A
24  VERSION_STRING                 = 1.0
25  ENTRY_POINT                    = StatusCodeHandlerSmmEntry
26
27#
28# The following information is for reference only and not required by the build tools.
29#
30#  VALID_ARCHITECTURES           = IA32 X64
31#
32
33[Sources]
34  StatusCodeHandlerSmm.c
35  StatusCodeHandlerSmm.h
36  SerialStatusCodeWorker.c
37  MemoryStatusCodeWorker.c
38
39[Packages]
40  MdePkg/MdePkg.dec
41  MdeModulePkg/MdeModulePkg.dec
42
43[LibraryClasses]
44  SerialPortLib
45  SmmServicesTableLib
46  UefiDriverEntryPoint
47  PcdLib
48  PrintLib
49  ReportStatusCodeLib
50  DebugLib
51  MemoryAllocationLib
52  BaseMemoryLib
53
54[Guids]
55  gEfiStatusCodeDataTypeStringGuid              ## SOMETIMES_CONSUMES   ## UNDEFINED
56  gMemoryStatusCodeRecordGuid                   ## SOMETIMES_PRODUCES   ## UNDEFINED # SmmSystemTable
57
58[Protocols]
59  gEfiSmmRscHandlerProtocolGuid                 ## CONSUMES
60
61[FeaturePcd]
62  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory ## CONSUMES
63  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial ## CONSUMES
64
65[Pcd]
66  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize |128| gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory   ## SOMETIMES_CONSUMES
67
68[Depex]
69  gEfiSmmRscHandlerProtocolGuid
70
71[UserExtensions.TianoCore."ExtraFiles"]
72  StatusCodeHandlerSmmExtra.uni
73