ad1a1798 |
1 | #/** @file\r |
2 | # Generic Status code Pei driver\r |
3 | #\r |
4 | # Customized output devices based on feature flags.\r |
5 | # Copyright (c) 2006, Intel Corporation.\r |
6 | #\r |
7 | # All rights reserved. This program and the accompanying materials\r |
8 | # are licensed and made available under the terms and conditions of the BSD License\r |
9 | # which accompanies this distribution. The full text of the license may be found at\r |
10 | # http://opensource.org/licenses/bsd-license.php\r |
11 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
12 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
13 | #\r |
14 | #\r |
15 | #**/\r |
16 | \r |
17 | ################################################################################\r |
18 | #\r |
19 | # Defines Section - statements that will be processed to create a Makefile.\r |
20 | #\r |
21 | ################################################################################\r |
22 | [Defines]\r |
23 | INF_VERSION = 0x00010005\r |
24 | BASE_NAME = PeiStatusCode\r |
25 | FILE_GUID = 1EC0F53A-FDE0-4576-8F25-7A1A410F58EB\r |
26 | MODULE_TYPE = PEIM\r |
27 | VERSION_STRING = 1.0\r |
28 | EDK_RELEASE_VERSION = 0x00020000\r |
29 | EFI_SPECIFICATION_VERSION = 0x00020000\r |
30 | \r |
31 | ENTRY_POINT = PeiStatusCodeDriverEntry\r |
32 | \r |
33 | #\r |
34 | # The following information is for reference only and not required by the build tools.\r |
35 | #\r |
36 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r |
37 | #\r |
38 | \r |
39 | ################################################################################\r |
40 | #\r |
41 | # Sources Section - list of files that are required for the build to succeed.\r |
42 | #\r |
43 | ################################################################################\r |
44 | \r |
45 | [Sources.common]\r |
46 | PeiStatusCode.c\r |
47 | MemoryStausCodeWorker.c\r |
48 | SerialStatusCodeWorker.c\r |
49 | PeiStatusCode.h\r |
50 | CommonHeader.h\r |
51 | \r |
52 | \r |
53 | ################################################################################\r |
54 | #\r |
55 | # Includes Section - list of Include locations that are required for\r |
56 | # this module.\r |
57 | #\r |
58 | ################################################################################\r |
59 | \r |
60 | [Includes]\r |
61 | $(WORKSPACE)/MdePkg/Include/Library\r |
62 | $(WORKSPACE)/IntelFrameworkPkg/Include\r |
63 | $(WORKSPACE)/IntelFrameworkModulePkg/Include\r |
64 | $(WORKSPACE)/IntelFrameworkModulePkg/Include/Library\r |
65 | \r |
66 | ################################################################################\r |
67 | #\r |
68 | # Package Dependency Section - list of Package files that are required for\r |
69 | # this module.\r |
70 | #\r |
71 | ################################################################################\r |
72 | \r |
73 | [Packages]\r |
74 | MdePkg/MdePkg.dec\r |
75 | IntelFrameworkPkg/IntelFrameworkPkg.dec\r |
76 | IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r |
77 | \r |
78 | ################################################################################\r |
79 | #\r |
80 | # Library Class Section - list of Library Classes that are required for\r |
81 | # this module.\r |
82 | #\r |
83 | ################################################################################\r |
84 | \r |
85 | [LibraryClasses]\r |
86 | PeimEntryPoint\r |
87 | OemHookStatusCodeLib\r |
88 | PeiServicesLib\r |
89 | PcdLib\r |
90 | HobLib\r |
91 | SerialPortLib\r |
92 | ReportStatusCodeLib\r |
93 | PrintLib\r |
94 | DebugLib\r |
95 | BaseMemoryLib\r |
96 | BaseLib\r |
97 | \r |
98 | \r |
99 | ################################################################################\r |
100 | #\r |
101 | # Guid C Name Section - list of Guids that this module uses or produces.\r |
102 | #\r |
103 | ################################################################################\r |
104 | \r |
105 | [Guids]\r |
106 | gMemoryStatusCodeRecordGuid # SOMETIMES_CONSUMED\r |
107 | \r |
108 | \r |
109 | ################################################################################\r |
110 | #\r |
111 | # PPI C Name Section - list of PPI and PPI Notify C Names that this module\r |
112 | # uses or produces.\r |
113 | #\r |
114 | ################################################################################\r |
115 | \r |
116 | [Ppis]\r |
117 | gEfiPeiStatusCodePpiGuid # PPI ALWAYS_CONSUMED\r |
118 | \r |
119 | \r |
120 | ################################################################################\r |
121 | #\r |
122 | # Pcd FEATURE_FLAG - list of PCDs that this module is coded for.\r |
123 | #\r |
124 | ################################################################################\r |
125 | \r |
126 | [PcdsFeatureFlag.common]\r |
127 | PcdStatusCodeUseOEM|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r |
128 | PcdStatusCodeUseMemory|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r |
129 | PcdStatusCodeUseSerial|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r |
130 | \r |
131 | \r |
132 | ################################################################################\r |
133 | #\r |
134 | # Pcd DYNAMIC - list of PCDs that this module is coded for.\r |
135 | #\r |
136 | ################################################################################\r |
137 | \r |
138 | [PcdsDynamic.common]\r |
139 | PcdStatusCodeMemorySize|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r |
140 | \r |