TianoCore EDK2
master
Loading...
Searching...
No Matches
PostCodeLib.h
Go to the documentation of this file.
1
9
#ifndef __POST_CODE_LIB_H__
10
#define __POST_CODE_LIB_H__
11
12
#define POST_CODE_PROPERTY_POST_CODE_ENABLED 0x00000008
13
#define POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED 0x00000010
14
33
UINT32
34
EFIAPI
35
PostCode
(
36
IN
UINT32 Value
37
);
38
63
UINT32
64
EFIAPI
65
PostCodeWithDescription
(
66
IN
UINT32 Value,
67
IN
CONST
CHAR8 *Description OPTIONAL
68
);
69
82
BOOLEAN
83
EFIAPI
84
PostCodeEnabled
(
85
VOID
86
);
87
100
BOOLEAN
101
EFIAPI
102
PostCodeDescriptionEnabled
(
103
VOID
104
);
105
117
#define POST_CODE(Value) PostCodeEnabled() ? PostCode(Value) : Value
118
133
#define POST_CODE_WITH_DESCRIPTION(Value, Description) \
134
PostCodeEnabled() ? \
135
(PostCodeDescriptionEnabled() ? \
136
PostCodeWithDescription(Value,Description) : \
137
PostCode(Value)) : \
138
Value
139
140
#endif
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
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
MdePkg
Include
Library
PostCodeLib.h
Generated on Fri Nov 15 2024 18:01:15 for TianoCore EDK2 by
1.9.6