XenevaOS
Loading...
Searching...
No Matches
PostCodeLib.h
Go to the documentation of this file.
1
15#ifndef __POST_CODE_LIB_H__
16#define __POST_CODE_LIB_H__
17
18#define POST_CODE_PROPERTY_POST_CODE_ENABLED 0x00000008
19#define POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED 0x00000010
20
42 IN UINT32 Value
43 );
44
45
73 IN UINT32 Value,
74 IN CONST CHAR8 *Description OPTIONAL
75 );
76
77
93 VOID
94 );
95
96
110EFIAPI
112 VOID
113 );
114
115
127#define POST_CODE(Value) PostCodeEnabled() ? PostCode(Value) : Value
128
143#define POST_CODE_WITH_DESCRIPTION(Value,Description) \
144 PostCodeEnabled() ? \
145 (PostCodeDescriptionEnabled() ? \
146 PostCodeWithDescription(Value,Description) : \
147 PostCode(Value)) : \
148 Value
149
150#endif
char CHAR8
Definition ProcessorBind.h:109
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#define CONST
Definition Base.h:327
#define IN
Definition Base.h:347
#define OPTIONAL
Definition Base.h:358
UINT32 EFIAPI PostCode(IN UINT32 Value)
BOOLEAN EFIAPI PostCodeDescriptionEnabled(VOID)
UINT32 EFIAPI PostCodeWithDescription(IN UINT32 Value, IN CONST CHAR8 *Description OPTIONAL)
BOOLEAN EFIAPI PostCodeEnabled(VOID)
#define VOID
Definition acefi.h:190
unsigned char BOOLEAN
Definition actypes.h:235