]>
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 | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | #ifndef __DEBUG_SERVICE_H__\r | |
16 | #define __DEBUG_SERVICE_H__\r | |
17 | \r | |
18 | #include <Ppi/Debug.h>\r | |
19 | \r | |
20 | /**\r | |
21 | Print a debug message to debug output device if the specified error level\r | |
22 | is enabled.\r | |
23 | \r | |
24 | @param[in] ErrorLevel The error level of the debug message.\r | |
25 | @param[in] Format Format string for the debug message to print.\r | |
26 | @param[in] Marker BASE_LIST marker for the variable argument list.\r | |
27 | \r | |
28 | **/\r | |
29 | VOID\r | |
30 | EFIAPI\r | |
31 | PeiDebugBPrint(\r | |
32 | IN UINTN ErrorLevel,\r | |
33 | IN CONST CHAR8 *Format,\r | |
34 | IN BASE_LIST Marker\r | |
35 | );\r | |
36 | \r | |
37 | /**\r | |
38 | Prints an assert message containing a filename, line number, and description.\r | |
39 | This may be followed by a breakpoint or a dead loop.\r | |
40 | \r | |
41 | @param[in] FileName The pointer to the name of the source file that\r | |
42 | generated the assert condition.\r | |
43 | @param[in] LineNumber The line number in the source file that generated\r | |
44 | the assert condition\r | |
45 | @param[in] Description The pointer to the description of the assert condition.\r | |
46 | \r | |
47 | **/\r | |
48 | VOID\r | |
49 | EFIAPI\r | |
50 | PeiDebugAssert(\r | |
51 | IN CONST CHAR8 *FileName,\r | |
52 | IN UINTN LineNumber,\r | |
53 | IN CONST CHAR8 *Description\r | |
54 | );\r | |
55 | \r | |
56 | #endif\r |