1## @file
2#  Status code PEIM which produces Status Code PPI.
3#
4#  Copyright (c) 2006 - 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                      = StatusCodePei
19  MODULE_UNI_FILE                = StatusCodePei.uni
20  FILE_GUID                      = 1EC0F53A-FDE0-4576-8F25-7A1A410F58EB
21  MODULE_TYPE                    = PEIM
22  VERSION_STRING                 = 1.0
23  ENTRY_POINT                    = PeiStatusCodeDriverEntry
24
25#
26# The following information is for reference only and not required by the build tools.
27#
28#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
29#
30
31[Sources]
32  StatusCodePei.c
33  StatusCodePei.h
34  MemoryStausCodeWorker.c
35  SerialStatusCodeWorker.c
36
37
38[Packages]
39  MdePkg/MdePkg.dec
40  MdeModulePkg/MdeModulePkg.dec
41  IntelFrameworkPkg/IntelFrameworkPkg.dec
42  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
43
44[LibraryClasses]
45  PeimEntryPoint
46  OemHookStatusCodeLib
47  PeiServicesLib
48  PcdLib
49  HobLib
50  SerialPortLib
51  ReportStatusCodeLib
52  PrintLib
53  DebugLib
54  BaseLib
55
56
57[Guids]
58  gMemoryStatusCodeRecordGuid                   ## SOMETIMES_CONSUMES ## HOB
59  gEfiStatusCodeDataTypeStringGuid              ## SOMETIMES_CONSUMES ## UNDEFINED # String Data Type
60
61[Ppis]
62  gEfiPeiStatusCodePpiGuid                      ## PRODUCES
63
64
65[FeaturePcd]
66  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseOEM ## CONSUMES
67  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory ## CONSUMES
68  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial ## CONSUMES
69
70
71[Pcd]
72  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory  ## SOMETIMES_CONSUMES
73
74[Depex]
75  TRUE
76
77[UserExtensions.TianoCore."ExtraFiles"]
78  StatusCodePeiExtra.uni
79