]>
Commit | Line | Data |
---|---|---|
77874cee LE |
1 | /** @file\r |
2 | Register a status code handler for printing the Boot Manager's LoadImage()\r | |
3 | and StartImage() preparations, and return codes, to the UEFI console.\r | |
4 | \r | |
5 | This feature enables users that are not accustomed to analyzing the firmware\r | |
6 | log to glean some information about UEFI boot option processing (loading and\r | |
7 | starting).\r | |
8 | \r | |
9 | Copyright (C) 2019, Red Hat, Inc.\r | |
10 | \r | |
b26f0cf9 | 11 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
77874cee LE |
12 | **/\r |
13 | \r | |
14 | #ifndef __PLATFORM_BM_PRINT_SC_LIB__\r | |
15 | #define __PLATFORM_BM_PRINT_SC_LIB__\r | |
16 | \r | |
17 | #include <Uefi/UefiBaseType.h>\r | |
18 | \r | |
19 | /**\r | |
20 | Register a status code handler for printing the Boot Manager's LoadImage()\r | |
21 | and StartImage() preparations, and return codes, to the UEFI console.\r | |
22 | \r | |
23 | @retval EFI_SUCCESS The status code handler has been successfully\r | |
24 | registered.\r | |
25 | \r | |
26 | @return Error codes propagated from boot services and from\r | |
27 | EFI_RSC_HANDLER_PROTOCOL.\r | |
28 | **/\r | |
29 | EFI_STATUS\r | |
30 | EFIAPI\r | |
31 | PlatformBmPrintScRegisterHandler (\r | |
32 | VOID\r | |
33 | );\r | |
34 | \r | |
35 | #endif // __PLATFORM_BM_PRINT_SC_LIB__\r |