• 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#
6#  This program and the accompanying materials
7#  are licensed and made available under the terms and conditions of the BSD License
8#  which accompanies this distribution. The full text of the license may be found at
9#  http://opensource.org/licenses/bsd-license.php
10#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12#
13#
14##
15
16[Defines]
17  INF_VERSION                    = 0x00010005
18  BASE_NAME                      = StatusCodeHandlerSmm
19  MODULE_UNI_FILE                = StatusCodeHandlerSmm.uni
20  FILE_GUID                      = 79CD78D8-6EDC-4978-BD02-3299C387AB17
21  MODULE_TYPE                    = DXE_SMM_DRIVER
22  PI_SPECIFICATION_VERSION       = 0x0001000A
23  VERSION_STRING                 = 1.0
24  ENTRY_POINT                    = StatusCodeHandlerSmmEntry
25
26#
27# The following information is for reference only and not required by the build tools.
28#
29#  VALID_ARCHITECTURES           = IA32 X64
30#
31
32[Sources]
33  StatusCodeHandlerSmm.c
34  StatusCodeHandlerSmm.h
35  SerialStatusCodeWorker.c
36  MemoryStatusCodeWorker.c
37
38[Packages]
39  MdePkg/MdePkg.dec
40  MdeModulePkg/MdeModulePkg.dec
41
42[LibraryClasses]
43  SerialPortLib
44  SmmServicesTableLib
45  UefiDriverEntryPoint
46  PcdLib
47  PrintLib
48  ReportStatusCodeLib
49  DebugLib
50  MemoryAllocationLib
51  BaseMemoryLib
52
53[Guids]
54  gEfiStatusCodeDataTypeStringGuid              ## SOMETIMES_CONSUMES   ## UNDEFINED
55
56[Protocols]
57  gEfiSmmRscHandlerProtocolGuid                 ## CONSUMES
58
59[FeaturePcd]
60  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory ## CONSUMES
61  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial ## CONSUMES
62
63[Pcd]
64  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize |128| gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory   ## SOMETIMES_CONSUMES
65
66[Depex]
67  gEfiSmmRscHandlerProtocolGuid
68
69[UserExtensions.TianoCore."ExtraFiles"]
70  StatusCodeHandlerSmmExtra.uni
71