TianoCore EDK2
master
Loading...
Searching...
No Matches
BaseDebugPrintErrorLevelLib.c
Go to the documentation of this file.
1
11
#include <Base.h>
12
#include <
Library/DebugPrintErrorLevelLib.h
>
13
#include <
Library/PcdLib.h
>
14
21
UINT32
22
EFIAPI
23
GetDebugPrintErrorLevel
(
24
VOID
25
)
26
{
27
//
28
// Retrieve the current debug print error level mask from PcdDebugPrintErrorLevel.
29
//
30
return
PcdGet32
(PcdDebugPrintErrorLevel);
31
}
32
42
BOOLEAN
43
EFIAPI
44
SetDebugPrintErrorLevel
(
45
UINT32 ErrorLevel
46
)
47
{
48
//
49
// This library uinstance does not support setting the global debug print error
50
// level mask.
51
//
52
return
FALSE
;
53
}
SetDebugPrintErrorLevel
BOOLEAN EFIAPI SetDebugPrintErrorLevel(UINT32 ErrorLevel)
Definition:
BaseDebugPrintErrorLevelLib.c:44
GetDebugPrintErrorLevel
UINT32 EFIAPI GetDebugPrintErrorLevel(VOID)
Definition:
BaseDebugPrintErrorLevelLib.c:23
DebugPrintErrorLevelLib.h
FALSE
#define FALSE
Definition:
Base.h:307
PcdLib.h
PcdGet32
#define PcdGet32(TokenName)
Definition:
PcdLib.h:362
MdePkg
Library
BaseDebugPrintErrorLevelLib
BaseDebugPrintErrorLevelLib.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6