TianoCore EDK2 master
Loading...
Searching...
No Matches
ConfigurationManagerObjectParser.h File Reference

Go to the source code of this file.

Data Structures

struct  CmObjParser
 
struct  CmObjParserArray
 

Macros

#define OUTPUT_FIELD_COLUMN_WIDTH   32
 
#define CM_PARSER_ADD_OBJECT_RESERVED(ObjectId)    {ObjectId, #ObjectId, NULL, 0}
 
#define CM_PARSER_ADD_OBJECT(ObjectId, Parser)    {ObjectId, #ObjectId, Parser, ARRAY_SIZE(Parser) }
 

Typedefs

typedef VOID(EFIAPI * FNPTR_PRINT_FORMATTER) (CONST CHAR8 *Format, UINT8 *Ptr, UINT32 Length)
 
typedef struct CmObjParser CM_OBJ_PARSER
 
typedef struct CmObjParserArray CM_OBJ_PARSER_ARRAY
 

Detailed Description

Configuration Manager Object parser.

Copyright (c) 2021, ARM Limited. All rights reserved.
Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file ConfigurationManagerObjectParser.h.

Macro Definition Documentation

◆ CM_PARSER_ADD_OBJECT

#define CM_PARSER_ADD_OBJECT (   ObjectId,
  Parser 
)     {ObjectId, #ObjectId, Parser, ARRAY_SIZE(Parser) }

A helper macro for populating the Cm Arm objects in the CM_OBJ_PARSER_ARRAY.

Definition at line 24 of file ConfigurationManagerObjectParser.h.

◆ CM_PARSER_ADD_OBJECT_RESERVED

#define CM_PARSER_ADD_OBJECT_RESERVED (   ObjectId)     {ObjectId, #ObjectId, NULL, 0}

A helper macro for populating the Reserved objects like EArmObjReserved, EArmObjMax, etc. in the CM_OBJ_PARSER_ARRAY.

Definition at line 18 of file ConfigurationManagerObjectParser.h.

◆ OUTPUT_FIELD_COLUMN_WIDTH

#define OUTPUT_FIELD_COLUMN_WIDTH   32

Definition at line 13 of file ConfigurationManagerObjectParser.h.

Typedef Documentation

◆ CM_OBJ_PARSER

typedef struct CmObjParser CM_OBJ_PARSER

The CM_OBJ_PARSER structure describes the fields of an CmObject and provides means for the parser to interpret and trace appropriately.

ParseAcpi() uses the format string specified by 'Format' for tracing the field data.

Definition at line 43 of file ConfigurationManagerObjectParser.h.

◆ CM_OBJ_PARSER_ARRAY

A structure mapping an array of Configuration Manager Object parsers with their object names.

◆ FNPTR_PRINT_FORMATTER

typedef VOID(EFIAPI * FNPTR_PRINT_FORMATTER) (CONST CHAR8 *Format, UINT8 *Ptr, UINT32 Length)

Function prototype to format a field print.

Parameters
[in]FormatFormat string for tracing the data as specified by the 'Format' member of ACPI_PARSER.
[in]PtrPointer to the start of the buffer.
[in]LengthLength of the field

Definition at line 34 of file ConfigurationManagerObjectParser.h.