2 # Register a status code handler for printing the Boot Manager's LoadImage()
3 # and StartImage() preparations, and return codes, to the UEFI console.
5 # This feature enables users that are not accustomed to analyzing the firmware
6 # log to glean some information about UEFI boot option processing (loading and
9 # This library instance filters out (ignores) status codes that are not
10 # reported by the containing firmware module. The intent is to link this
11 # library instance into BdsDxe via PlatformBootManagerLib (which BdsDxe depends
12 # upon), then catch only those status codes that BdsDxe reports (which happens
13 # via UefiBootManagerLib). Status codes reported by other modules (such as
14 # UiApp), via UefiBootManagerLib or otherwise, are meant to be ignored.
16 # Copyright (C) 2019, Red Hat, Inc.
18 # SPDX-License-Identifier: BSD-2-Clause-Patent
23 BASE_NAME = PlatformBmPrintScLib
24 FILE_GUID = 3417c705-903e-41a7-9485-3fafebf60917
25 MODULE_TYPE = DXE_DRIVER
27 LIBRARY_CLASS = PlatformBmPrintScLib|DXE_DRIVER
33 MdeModulePkg/MdeModulePkg.dec
44 UefiBootServicesTableLib
46 UefiRuntimeServicesTableLib
49 gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderLoad ## CONSUMES
50 gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderStart ## CONSUMES
53 gEfiRscHandlerProtocolGuid ## CONSUMES
56 gEfiGlobalVariableGuid ## CONSUMES
57 gEfiStatusCodeSpecificDataGuid ## CONSUMES
59 [Depex.common.DXE_DRIVER]
60 gEfiRscHandlerProtocolGuid AND gEfiVariableArchProtocolGuid