]>
Commit | Line | Data |
---|---|---|
2bc82244 ZG |
1 | /** @file\r |
2 | Header file of Debug services instances.\r | |
3 | \r | |
4 | Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r | |
5 | \r | |
9d510e61 | 6 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
2bc82244 ZG |
7 | \r |
8 | **/\r | |
9 | #ifndef __DEBUG_SERVICE_H__\r | |
10 | #define __DEBUG_SERVICE_H__\r | |
11 | \r | |
12 | #include <Ppi/Debug.h>\r | |
13 | \r | |
14 | /**\r | |
15 | Print a debug message to debug output device if the specified error level\r | |
16 | is enabled.\r | |
17 | \r | |
18 | @param[in] ErrorLevel The error level of the debug message.\r | |
19 | @param[in] Format Format string for the debug message to print.\r | |
20 | @param[in] Marker BASE_LIST marker for the variable argument list.\r | |
21 | \r | |
22 | **/\r | |
23 | VOID\r | |
24 | EFIAPI\r | |
25 | PeiDebugBPrint(\r | |
26 | IN UINTN ErrorLevel,\r | |
27 | IN CONST CHAR8 *Format,\r | |
28 | IN BASE_LIST Marker\r | |
29 | );\r | |
30 | \r | |
31 | /**\r | |
32 | Prints an assert message containing a filename, line number, and description.\r | |
33 | This may be followed by a breakpoint or a dead loop.\r | |
34 | \r | |
35 | @param[in] FileName The pointer to the name of the source file that\r | |
36 | generated the assert condition.\r | |
37 | @param[in] LineNumber The line number in the source file that generated\r | |
38 | the assert condition\r | |
39 | @param[in] Description The pointer to the description of the assert condition.\r | |
40 | \r | |
41 | **/\r | |
42 | VOID\r | |
43 | EFIAPI\r | |
44 | PeiDebugAssert(\r | |
45 | IN CONST CHAR8 *FileName,\r | |
46 | IN UINTN LineNumber,\r | |
47 | IN CONST CHAR8 *Description\r | |
48 | );\r | |
49 | \r | |
50 | #endif\r |