TianoCore EDK2
master
Loading...
Searching...
No Matches
PostCode.c
Go to the documentation of this file.
1
9
#include <Base.h>
10
11
#include <
Library/PostCodeLib.h
>
12
#include <
Library/DebugLib.h
>
13
#include <
Library/PcdLib.h
>
14
33
UINT32
34
EFIAPI
35
PostCode
(
36
IN
UINT32 Value
37
)
38
{
39
DEBUG
((DEBUG_INFO,
"POST %08x\n"
, Value));
40
return
Value;
41
}
42
67
UINT32
68
EFIAPI
69
PostCodeWithDescription
(
70
IN
UINT32 Value,
71
IN
CONST
CHAR8 *Description OPTIONAL
72
)
73
{
74
DEBUG
((DEBUG_INFO,
"POST %08x - %s\n"
, Value, Description));
75
return
Value;
76
}
77
90
BOOLEAN
91
EFIAPI
92
PostCodeEnabled
(
93
VOID
94
)
95
{
96
return
(BOOLEAN)((
PcdGet8
(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0);
97
}
98
111
BOOLEAN
112
EFIAPI
113
PostCodeDescriptionEnabled
(
114
VOID
115
)
116
{
117
return
(BOOLEAN)((
PcdGet8
(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED) != 0);
118
}
PostCode
UINT32 EFIAPI PostCode(IN UINT32 Value)
Definition:
PostCode.c:35
PostCodeDescriptionEnabled
BOOLEAN EFIAPI PostCodeDescriptionEnabled(VOID)
Definition:
PostCode.c:113
PostCodeWithDescription
UINT32 EFIAPI PostCodeWithDescription(IN UINT32 Value, IN CONST CHAR8 *Description OPTIONAL)
Definition:
PostCode.c:69
PostCodeEnabled
BOOLEAN EFIAPI PostCodeEnabled(VOID)
Definition:
PostCode.c:92
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
DebugLib.h
DEBUG
#define DEBUG(Expression)
Definition:
DebugLib.h:434
PcdLib.h
PcdGet8
#define PcdGet8(TokenName)
Definition:
PcdLib.h:336
PostCodeLib.h
MdePkg
Library
BasePostCodeLibDebug
PostCode.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6