10#ifndef CONFIGURATION_MANAGER_OBJECT_PARSER_H_
11#define CONFIGURATION_MANAGER_OBJECT_PARSER_H_
13#define OUTPUT_FIELD_COLUMN_WIDTH 32
18#define CM_PARSER_ADD_OBJECT_RESERVED(ObjectId) \
19 {ObjectId, #ObjectId, NULL, 0}
24#define CM_PARSER_ADD_OBJECT(ObjectId, Parser) \
25 {ObjectId, #ObjectId, Parser, ARRAY_SIZE(Parser) }
VOID(EFIAPI * FNPTR_PRINT_FORMATTER)(CONST CHAR8 *Format, UINT8 *Ptr, UINT32 Length)
struct CmObjParserArray CM_OBJ_PARSER_ARRAY
UINTN ItemCount
Count of items.
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