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