TianoCore EDK2 master
Loading...
Searching...
No Matches
ConfigurationManagerObjectParser.h
Go to the documentation of this file.
1
10#ifndef CONFIGURATION_MANAGER_OBJECT_PARSER_H_
11#define CONFIGURATION_MANAGER_OBJECT_PARSER_H_
12
13#define OUTPUT_FIELD_COLUMN_WIDTH 32
14
18#define CM_PARSER_ADD_OBJECT_RESERVED(ObjectId) \
19 {ObjectId, #ObjectId, NULL, 0}
20
24#define CM_PARSER_ADD_OBJECT(ObjectId, Parser) \
25 {ObjectId, #ObjectId, Parser, ARRAY_SIZE(Parser) }
26
34typedef VOID (EFIAPI *FNPTR_PRINT_FORMATTER)(CONST CHAR8 *Format, UINT8 *Ptr, UINT32 Length);
35
46 CONST CHAR8 *NameStr;
47
49 UINT32 Length;
50
53 CONST CHAR8 *Format;
54
61
65
68};
69
74typedef struct CmObjParserArray {
77
80
83
87
88#endif // CONFIGURATION_MANAGER_OBJECT_PARSER_H_
UINT64 UINTN
VOID(EFIAPI * FNPTR_PRINT_FORMATTER)(CONST CHAR8 *Format, UINT8 *Ptr, UINT32 Length)
struct CmObjParserArray CM_OBJ_PARSER_ARRAY
#define CONST
Definition: Base.h:259
CONST CHAR8 * ObjectName
Object name.
CONST CM_OBJ_PARSER * Parser
Function pointer to the parser.
CONST UINTN ObjectId
Object ID.
UINT32 Length
The length of the field.
FNPTR_PRINT_FORMATTER PrintFormatter
CONST CHAR8 * NameStr
String describing the Cm Object.
UINTN SubObjItemCount
Count of items in the SubObj.
CONST CM_OBJ_PARSER * SubObjParser