]>
Commit | Line | Data |
---|---|---|
e5516b49 | 1 | #/** @file\r |
29f766e4 | 2 | # Report status code library instance which supports logging message in SMM, as well as DXE & runtime phase.\r |
3 | #\r | |
4 | # This library instance supports status code report in SMM, as well as DXE & runtime phase.\r | |
5 | # In SMM, it logs message via customized OemHookStatusCodeLib.\r | |
6 | # Otherwise, it logs message to ReportStatusCode() in framework runtime services table or runtime report status code protocol.\r | |
e5516b49 | 7 | #\r |
4ee6846f | 8 | # Copyright (c) 2006 - 2009, Intel Corporation.\r |
e5516b49 | 9 | #\r |
10 | # All rights reserved. This program and the accompanying materials\r | |
11 | # are licensed and made available under the terms and conditions of the BSD License\r | |
12 | # which accompanies this distribution. The full text of the license may be found at\r | |
13 | # http://opensource.org/licenses/bsd-license.php\r | |
14 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
15 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
16 | #\r | |
17 | #\r | |
18 | #**/\r | |
19 | \r | |
20 | [Defines]\r | |
21 | INF_VERSION = 0x00010005\r | |
22 | BASE_NAME = SmmRuntimeDxeReportStatusCodeLibFramework\r | |
23 | FILE_GUID = D65D9F72-7BCE-4f73-A673-47AF446A1A31\r | |
24 | MODULE_TYPE = DXE_RUNTIME_DRIVER\r | |
25 | VERSION_STRING = 1.0\r | |
26 | LIBRARY_CLASS = ReportStatusCodeLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER DXE_SMM_DRIVER\r | |
4ee6846f | 27 | \r |
e5516b49 | 28 | CONSTRUCTOR = ReportStatusCodeLibConstruct\r |
29 | DESTRUCTOR = ReportStatusCodeLibDestruct\r | |
30 | #\r | |
31 | # The following information is for reference only and not required by the build tools.\r | |
32 | #\r | |
33 | # VALID_ARCHITECTURES = IA32 X64 EBC\r | |
34 | #\r | |
35 | \r | |
36 | [Sources.common]\r | |
37 | ReportStatusCodeLib.c\r | |
38 | SmmRuntimeDxeSupport.c\r | |
29f766e4 | 39 | ReportStatusCodeLibInternal.h\r |
e5516b49 | 40 | \r |
41 | \r | |
42 | [Packages]\r | |
43 | MdePkg/MdePkg.dec\r | |
44 | IntelFrameworkPkg/IntelFrameworkPkg.dec\r | |
45 | IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r | |
46 | \r | |
47 | [LibraryClasses]\r | |
48 | PcdLib\r | |
49 | BaseMemoryLib\r | |
50 | BaseLib\r | |
e5516b49 | 51 | DebugLib\r |
52 | UefiRuntimeServicesTableLib\r | |
9556741c | 53 | UefiBootServicesTableLib\r |
e5516b49 | 54 | OemHookStatusCodeLib\r |
e05e2b73 | 55 | DevicePathLib\r |
29f766e4 | 56 | MemoryAllocationLib\r |
e5516b49 | 57 | \r |
58 | [Guids]\r | |
29f766e4 | 59 | gEfiStatusCodeSpecificDataGuid ## CONSUMES\r |
60 | gEfiStatusCodeDataTypeDebugGuid ## CONSUMES\r | |
61 | gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r | |
62 | gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r | |
e5516b49 | 63 | \r |
64 | \r | |
65 | [Protocols]\r | |
29f766e4 | 66 | gEfiStatusCodeRuntimeProtocolGuid ## CONSUMES\r |
67 | gEfiSmmBaseProtocolGuid ## CONSUMES\r | |
e5516b49 | 68 | \r |
69 | \r | |
70 | [Pcd.common]\r | |
71 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask\r | |
72 | \r |