2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2009-12-25 07:49:52 +01:00
|
|
|
# Report Status Code Handler PEIM which produces general handlers and hook them
|
|
|
|
# onto the PEI status code router.
|
|
|
|
#
|
2010-04-24 11:33:45 +02:00
|
|
|
# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
|
2009-12-25 07:49:52 +01:00
|
|
|
#
|
2010-04-24 11:33:45 +02:00
|
|
|
# This program and the accompanying materials
|
2009-12-25 07:49:52 +01:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2009-12-25 07:49:52 +01:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = StatusCodeHandlerPei
|
|
|
|
FILE_GUID = 9D225237-FA01-464C-A949-BAABC02D31D0
|
|
|
|
MODULE_TYPE = PEIM
|
|
|
|
ENTRY_POINT = StatusCodeHandlerPeiEntry
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is only for build)
|
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2009-12-25 07:49:52 +01:00
|
|
|
StatusCodeHandlerPei.c
|
|
|
|
StatusCodeHandlerPei.h
|
|
|
|
SerialStatusCodeWorker.c
|
|
|
|
MemoryStausCodeWorker.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
PeimEntryPoint
|
|
|
|
PeiServicesLib
|
|
|
|
PcdLib
|
|
|
|
HobLib
|
|
|
|
SerialPortLib
|
|
|
|
ReportStatusCodeLib
|
|
|
|
PrintLib
|
|
|
|
DebugLib
|
2010-07-30 07:35:19 +02:00
|
|
|
BaseMemoryLib
|
|
|
|
|
2009-12-25 07:49:52 +01:00
|
|
|
[Guids]
|
|
|
|
gMemoryStatusCodeRecordGuid ## SOMETIMES_CONSUMES ## HOB
|
2010-07-30 07:35:19 +02:00
|
|
|
gEfiStatusCodeDataTypeStringGuid ## CONSUMES
|
|
|
|
|
2009-12-25 07:49:52 +01:00
|
|
|
[Ppis]
|
|
|
|
gEfiPeiRscHandlerPpiGuid ## CONSUMES
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[FeaturePcd]
|
2009-12-25 07:49:52 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Pcd]
|
2009-12-25 07:49:52 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|PcdStatusCodeUseMemory
|
|
|
|
|
|
|
|
[Depex]
|
|
|
|
gEfiPeiRscHandlerPpiGuid
|