]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/DebugServicePei/DebugService.h
MdeModulePkg: Apply uncrustify changes
[mirror_edk2.git] / MdeModulePkg / Universal / DebugServicePei / DebugService.h
CommitLineData
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
1436aea4 9\r
2bc82244
ZG
10#ifndef __DEBUG_SERVICE_H__\r
11#define __DEBUG_SERVICE_H__\r
12\r
13#include <Ppi/Debug.h>\r
14\r
15/**\r
16 Print a debug message to debug output device if the specified error level\r
17 is enabled.\r
18\r
19 @param[in] ErrorLevel The error level of the debug message.\r
20 @param[in] Format Format string for the debug message to print.\r
21 @param[in] Marker BASE_LIST marker for the variable argument list.\r
22\r
23**/\r
24VOID\r
25EFIAPI\r
1436aea4
MK
26PeiDebugBPrint (\r
27 IN UINTN ErrorLevel,\r
28 IN CONST CHAR8 *Format,\r
29 IN BASE_LIST Marker\r
2bc82244
ZG
30 );\r
31\r
32/**\r
33 Prints an assert message containing a filename, line number, and description.\r
34 This may be followed by a breakpoint or a dead loop.\r
35\r
36 @param[in] FileName The pointer to the name of the source file that\r
37 generated the assert condition.\r
38 @param[in] LineNumber The line number in the source file that generated\r
39 the assert condition\r
40 @param[in] Description The pointer to the description of the assert condition.\r
41\r
42**/\r
43VOID\r
44EFIAPI\r
1436aea4
MK
45PeiDebugAssert (\r
46 IN CONST CHAR8 *FileName,\r
47 IN UINTN LineNumber,\r
48 IN CONST CHAR8 *Description\r
2bc82244
ZG
49 );\r
50\r
51#endif\r