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