]>
Commit | Line | Data |
---|---|---|
ad1a1798 | 1 | #/** @file\r |
2 | # DXE status code driver.\r | |
3 | #\r | |
4 | # Status Code Architectural Protocol implementation as defined in Tiano\r | |
5 | # Architecture Specification. This driver has limited functionality\r | |
6 | # at runtime and will not log to Data Hub at runtime.\r | |
7 | # Copyright (c) 2006, Intel Corporation.\r | |
8 | #\r | |
9 | # All rights reserved. This program and the accompanying materials\r | |
10 | # are licensed and made available under the terms and conditions of the BSD License\r | |
11 | # which accompanies this distribution. The full text of the license may be found at\r | |
12 | # http://opensource.org/licenses/bsd-license.php\r | |
13 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
14 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
15 | #\r | |
16 | #\r | |
17 | #**/\r | |
18 | \r | |
19 | ################################################################################\r | |
20 | #\r | |
21 | # Defines Section - statements that will be processed to create a Makefile.\r | |
22 | #\r | |
23 | ################################################################################\r | |
24 | [Defines]\r | |
25 | INF_VERSION = 0x00010005\r | |
26 | BASE_NAME = DxeStatusCode\r | |
27 | FILE_GUID = FEDE0A1B-BCA2-4A9F-BB2B-D9FD7DEC2E9F\r | |
28 | MODULE_TYPE = DXE_RUNTIME_DRIVER\r | |
29 | VERSION_STRING = 1.0\r | |
30 | EDK_RELEASE_VERSION = 0x00020000\r | |
31 | EFI_SPECIFICATION_VERSION = 0x00020000\r | |
32 | \r | |
33 | ENTRY_POINT = InitializeDxeStatusCode\r | |
34 | \r | |
35 | #\r | |
36 | # The following information is for reference only and not required by the build tools.\r | |
37 | #\r | |
38 | # VALID_ARCHITECTURES = IA32 X64 EBC\r | |
39 | #\r | |
40 | # VIRTUAL_ADDRESS_MAP_CALLBACK = VirtualAddressChangeCallBack\r | |
41 | #\r | |
42 | \r | |
43 | ################################################################################\r | |
44 | #\r | |
45 | # Sources Section - list of files that are required for the build to succeed.\r | |
46 | #\r | |
47 | ################################################################################\r | |
48 | \r | |
49 | [Sources.common]\r | |
50 | SerialStatusCodeWorker.c\r | |
51 | RtMemoryStatusCodeWorker.c\r | |
52 | DataHubStatusCodeWorker.c\r | |
53 | DxeStatusCode.c\r | |
54 | DxeStatusCode.h\r | |
55 | CommonHeader.h\r | |
56 | EntryPoint.c\r | |
57 | \r | |
58 | [Sources.Ia32]\r | |
59 | Common/StatusCode.dxs\r | |
60 | Common/DxeStatusCodeCommon.c\r | |
61 | \r | |
62 | [Sources.X64]\r | |
63 | Common/StatusCode.dxs\r | |
64 | Common/DxeStatusCodeCommon.c\r | |
65 | \r | |
66 | [Sources.EBC]\r | |
67 | Common/StatusCode.dxs\r | |
68 | Common/DxeStatusCodeCommon.c\r | |
69 | \r | |
70 | \r | |
ad1a1798 | 71 | \r |
72 | ################################################################################\r | |
73 | #\r | |
74 | # Package Dependency Section - list of Package files that are required for\r | |
75 | # this module.\r | |
76 | #\r | |
77 | ################################################################################\r | |
78 | \r | |
79 | [Packages]\r | |
80 | MdePkg/MdePkg.dec\r | |
81 | IntelFrameworkPkg/IntelFrameworkPkg.dec\r | |
82 | IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r | |
83 | \r | |
84 | ################################################################################\r | |
85 | #\r | |
86 | # Library Class Section - list of Library Classes that are required for\r | |
87 | # this module.\r | |
88 | #\r | |
89 | ################################################################################\r | |
90 | \r | |
91 | [LibraryClasses]\r | |
92 | OemHookStatusCodeLib\r | |
93 | SerialPortLib\r | |
94 | UefiRuntimeLib\r | |
95 | MemoryAllocationLib\r | |
96 | UefiLib\r | |
97 | UefiBootServicesTableLib\r | |
98 | UefiDriverEntryPoint\r | |
99 | HobLib\r | |
100 | PcdLib\r | |
101 | PrintLib\r | |
102 | ReportStatusCodeLib\r | |
103 | DebugLib\r | |
104 | BaseMemoryLib\r | |
105 | BaseLib\r | |
106 | \r | |
107 | \r | |
108 | ################################################################################\r | |
109 | #\r | |
110 | # Guid C Name Section - list of Guids that this module uses or produces.\r | |
111 | #\r | |
112 | ################################################################################\r | |
113 | \r | |
114 | [Guids]\r | |
115 | gEfiStatusCodeGuid # SOMETIMES_CONSUMED\r | |
116 | gMemoryStatusCodeRecordGuid # SOMETIMES_CONSUMED\r | |
117 | gEfiStatusCodeDataTypeStringGuid # SOMETIMES_CONSUMED\r | |
118 | gEfiStatusCodeSpecificDataGuid # SOMETIMES_CONSUMED\r | |
119 | \r | |
120 | ################################################################################\r | |
121 | #\r | |
122 | # Protocol C Name Section - list of Protocol and Protocol Notify C Names\r | |
123 | # that this module uses or produces.\r | |
124 | #\r | |
125 | ################################################################################\r | |
126 | \r | |
127 | [Protocols]\r | |
128 | gEfiStatusCodeRuntimeProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r | |
129 | gEfiDataHubProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r | |
130 | gEfiSerialIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r | |
131 | \r | |
132 | \r | |
133 | ################################################################################\r | |
134 | #\r | |
135 | # Pcd FEATURE_FLAG - list of PCDs that this module is coded for.\r | |
136 | #\r | |
137 | ################################################################################\r | |
138 | \r | |
139 | [PcdsFeatureFlag.common]\r | |
140 | PcdStatusCodeReplayInOEM|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r | |
141 | PcdStatusCodeReplayInRuntimeMemory|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r | |
142 | PcdStatusCodeReplayInDataHub|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r | |
143 | PcdStatusCodeReplayInSerial|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r | |
144 | PcdStatusCodeUseOEM|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r | |
145 | PcdStatusCodeUseDataHub|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r | |
146 | PcdStatusCodeUseRuntimeMemory|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r | |
147 | PcdStatusCodeUseEfiSerial|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r | |
148 | PcdStatusCodeUseHardSerial|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r | |
149 | \r | |
150 | \r | |
151 | ################################################################################\r | |
152 | #\r | |
153 | # Pcd DYNAMIC - list of PCDs that this module is coded for.\r | |
154 | #\r | |
155 | ################################################################################\r | |
156 | \r | |
157 | [PcdsDynamic.common]\r | |
158 | PcdStatusCodeRuntimeMemorySize|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r | |
159 | \r | |
4bd1b0f1 | 160 | ################################################################################\r |
161 | #\r | |
162 | # Dependency Expression Section - list of Dependency expressions that are required for\r | |
163 | # this module.\r | |
164 | #\r | |
165 | ################################################################################\r | |
166 | \r | |
167 | [Depex]\r | |
168 | gEfiDataHubProtocolGuid AND gEfiCpuIoProtocolGuid |