VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf

Last change on this file was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1## @file
2# Register a status code handler for printing the Boot Manager's LoadImage()
3# and StartImage() preparations, and return codes, to the UEFI console.
4#
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
7# starting).
8#
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.
15#
16# Copyright (C) 2019, Red Hat, Inc.
17#
18# SPDX-License-Identifier: BSD-2-Clause-Patent
19##
20
21[Defines]
22 INF_VERSION = 1.27
23 BASE_NAME = PlatformBmPrintScLib
24 FILE_GUID = 3417c705-903e-41a7-9485-3fafebf60917
25 MODULE_TYPE = DXE_DRIVER
26 VERSION_STRING = 1.0
27 LIBRARY_CLASS = PlatformBmPrintScLib|DXE_DRIVER
28
29[Sources]
30 StatusCodeHandler.c
31
32[Packages]
33 MdeModulePkg/MdeModulePkg.dec
34 MdePkg/MdePkg.dec
35
36[LibraryClasses]
37 BaseMemoryLib
38 DebugLib
39 DevicePathLib
40 MemoryAllocationLib
41 PcdLib
42 PrintLib
43 UefiBootManagerLib
44 UefiBootServicesTableLib
45 UefiLib
46 UefiRuntimeServicesTableLib
47
48[Pcd]
49 gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderLoad ## CONSUMES
50 gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderStart ## CONSUMES
51
52[Protocols]
53 gEfiRscHandlerProtocolGuid ## CONSUMES
54
55[Guids]
56 gEfiGlobalVariableGuid ## CONSUMES
57 gEfiStatusCodeSpecificDataGuid ## CONSUMES
58
59[Depex.common.DXE_DRIVER]
60 gEfiRscHandlerProtocolGuid AND gEfiVariableArchProtocolGuid
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette