TianoCore EDK2 master
|
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <ConfigurationManagerObject.h>
#include "ConfigurationManagerObjectParser.h"
Go to the source code of this file.
Functions | |
STATIC VOID EFIAPI | PrintString (CONST CHAR8 *Format, UINT8 *Ptr, UINT32 Length) |
STATIC VOID EFIAPI | PrintStringPtr (CONST CHAR8 *Format, UINT8 *Ptr, UINT32 Length) |
STATIC VOID EFIAPI | PrintChars (CONST CHAR8 *Format, UINT8 *Ptr, UINT32 Length) |
STATIC VOID EFIAPI | HexDump (CONST CHAR8 *Format, UINT8 *Ptr, UINT32 Length) |
STATIC VOID EFIAPI | PrintString (IN CONST CHAR8 *Format, IN UINT8 *Ptr, IN UINT32 Length) |
STATIC VOID EFIAPI | PrintStringPtr (IN CONST CHAR8 *Format, IN UINT8 *Ptr, IN UINT32 Length) |
STATIC VOID EFIAPI | PrintChars (IN CONST CHAR8 *Format, IN UINT8 *Ptr, IN UINT32 Length) |
STATIC VOID EFIAPI | HexDump (IN CONST CHAR8 *Format, IN UINT8 *Ptr, IN UINT32 Length) |
STATIC VOID | PrintCmObjDesc (IN VOID *Data, IN CONST CM_OBJ_PARSER *Parser, IN UINTN ItemCount, IN INTN *RemainingSize, IN UINT32 IndentLevel) |
VOID EFIAPI | ParseCmObjDesc (IN CONST CM_OBJ_DESCRIPTOR *CmObjDesc) |
Configuration Manager Object parser.
Copyright (c) 2021 - 2023, ARM Limited. All rights reserved.
Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ConfigurationManagerObjectParser.c.
Dump data in Hex format
[in] | Format | Format to print the Ptr. |
[in] | Ptr | Pointer to the string. |
[in] | Length | Length of the field |
Definition at line 1029 of file ConfigurationManagerObjectParser.c.
VOID EFIAPI ParseCmObjDesc | ( | IN CONST CM_OBJ_DESCRIPTOR * | CmObjDesc | ) |
Parse and print a CmObjDesc.
[in] | CmObjDesc | The CmObjDesc to parse and print. |
Definition at line 1156 of file ConfigurationManagerObjectParser.c.
Print characters.
[in] | Format | Format to print the Ptr. |
[in] | Ptr | Pointer to the characters. |
[in] | Length | Length of the field |
Definition at line 1007 of file ConfigurationManagerObjectParser.c.
STATIC VOID PrintCmObjDesc | ( | IN VOID * | Data, |
IN CONST CM_OBJ_PARSER * | Parser, | ||
IN UINTN | ItemCount, | ||
IN INTN * | RemainingSize, | ||
IN UINT32 | IndentLevel | ||
) |
Print fields of the objects.
[in] | Data | Pointer to the object to print. |
[in] | Parser | Parser containing the object fields. |
[in] | ItemCount | Number of entries/fields in the Parser. |
[in] | RemainingSize | Parse at most *RemainingSize bytes. This function decrements the value from the number bytes consumed. |
[in] | IndentLevel | Indentation to use when printing. |
Definition at line 1054 of file ConfigurationManagerObjectParser.c.
Print string data.
The string must be NULL terminated.
[in] | Format | Format to print the Ptr. |
[in] | Ptr | Pointer to the string. |
[in] | Length | Length of the field |
Definition at line 951 of file ConfigurationManagerObjectParser.c.
Print string from pointer.
The string must be NULL terminated.
[in] | Format | Format to print the string. |
[in] | Ptr | Pointer to the string pointer. |
[in] | Length | Length of the field |
Definition at line 976 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER AcpiGenericAddressParser[] |
A parser for the EFI_ACPI_6_3_GENERIC_ADDRESS_STRUCTURE structure.
Definition at line 410 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER_ARRAY ArchCommonNamespaceObjectParser[] |
A parser for Arch Common namespace objects.
Definition at line 700 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER_ARRAY ArmNamespaceObjectParser[] |
A parser for Arm namespace objects.
Definition at line 735 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonCacheInfoParser[] |
A parser for EArchCommonObjCacheInfo.
Definition at line 340 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonCpcInfoParser[] |
A parser for EArchCommonObjCpcInfo.
Definition at line 482 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonDeviceHandleAcpiParser[] |
A parser for EArchCommonObjDeviceHandleAcpi.
Definition at line 368 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonDeviceHandlePciParser[] |
STATIC CONST CM_OBJ_PARSER CmArchCommonFixedFeatureFlagsParser[] |
A parser for EArchCommonObjFixedFeatureFlags.
Definition at line 202 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonGenericInitiatorAffinityInfoParser[] |
A parser for EArchCommonObjGenericInitiatorAffinityInfo.
Definition at line 384 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonGenericInterruptParser[] |
A parser for EArmObjSmmuInterruptArray.
Definition at line 318 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonHypervisorVendorIdentityParser[] |
A parser for EArchCommonObjHypervisorVendorIdentity.
Definition at line 196 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonLpiInfoParser[] |
A parser for EArchCommonObjLpiInfo.
Definition at line 420 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonMemoryAffinityInfoParser[] |
STATIC CONST CM_OBJ_PARSER CmArchCommonObjRefParser[] |
A parser for EArchCommonObjCmRef.
Definition at line 353 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonPccSubspaceType0InfoParser[] |
A parser for EArchCommonObjPccSubspaceType0Info.
Definition at line 577 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonPccSubspaceType1InfoParser[] |
A parser for EArchCommonObjPccSubspaceType1Info.
Definition at line 592 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonPccSubspaceType2InfoParser[] |
A parser for EArchCommonObjPccSubspaceType2Info.
Definition at line 603 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonPccSubspaceType34InfoParser[] |
A parser for EArchCommonObjPccSubspaceType3Info or EArchCommonObjPccSubspaceType4Info.
Definition at line 616 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonPccSubspaceType5InfoParser[] |
A parser for EArchCommonObjPccSubspaceType5Info.
Definition at line 638 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonPciAddressMapInfoParser[] |
STATIC CONST CM_OBJ_PARSER CmArchCommonPciConfigSpaceInfoParser[] |
A parser for EArchCommonObjPciConfigSpaceInfo.
Definition at line 185 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonPciInterruptMapInfoParser[] |
A parser for EArchCommonObjPciInterruptMapInfo.
Definition at line 452 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonPowerManagementProfileInfoParser[] |
A parser for EArchCommonObjPowerManagementProfileInfo.
Definition at line 60 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonProcHierarchyInfoParser[] |
A parser for EArchCommonObjProcHierarchyInfo.
Definition at line 325 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonPsdInfoParser[] |
STATIC CONST CM_OBJ_PARSER CmArchCommonSerialPortInfoParser[] |
A parser for EArchCommonObjConsolePortInfo, EArchCommonObjSerialDebugPortInfo and EArchCommonObjSerialPortInfo.
Definition at line 126 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonSpmiInterfaceInfoParser[] |
A parser for EArchCommonObjSpmiInfo.
Definition at line 682 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArchCommonSpmiInterruptDeviceInfoParser[] |
A parser for EArchCommonObjSpmiInterruptDeviceInfo.
Definition at line 690 of file ConfigurationManagerObjectParser.c.
A parser for EArchCommonObjTpm2InterfaceInfo.
Definition at line 670 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmBootArchInfoParser[] |
A parser for EArmObjBootArchInfo.
Definition at line 54 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmCmn600InfoParser[] |
A parser for EArmObjCmn600Info.
Definition at line 393 of file ConfigurationManagerObjectParser.c.
A parser for EArmObjEtInfo.
Definition at line 655 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmGenericTimerInfoParser[] |
A parser for EArmObjGenericTimerInfo.
Definition at line 138 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmGenericWatchdogInfoParser[] |
STATIC CONST CM_OBJ_PARSER CmArmGicCInfoParser[] |
A parser for EArmObjGicCInfo.
Definition at line 66 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmGicDInfoParser[] |
A parser for EArmObjGicDInfo.
Definition at line 92 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmGicItsIdentifierParser[] |
A parser for EArmObjGicItsIdentifierArray.
Definition at line 302 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmGicItsInfoParser[] |
A parser for EArmObjGicItsInfo.
Definition at line 117 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmGicMsiFrameInfoParser[] |
A parser for EArmObjGicMsiFrameInfo.
Definition at line 100 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmGicRedistInfoParser[] |
A parser for EArmObjGicRedistributorInfo.
Definition at line 110 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmGTBlockInfoParser[] |
A parser for EArmObjPlatformGTBlockInfo.
Definition at line 155 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmGTBlockTimerFrameInfoParser[] |
A parser for EArmObjGTBlockTimerFrameInfo.
Definition at line 163 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmIdMappingParser[] |
A parser for EArmObjIdMappingArray.
Definition at line 308 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmItsGroupNodeParser[] |
A parser for EArmObjItsGroup.
Definition at line 208 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmMailboxRegisterInfoParser[] |
A parser for the PCC_MAILBOX_REGISTER_INFO struct.
Definition at line 560 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmMemoryRangeDescriptorInfoParser[] |
A parser for EArmObjMemoryRangeDescriptor.
Definition at line 475 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmNamedComponentNodeParser[] |
A parser for EArmObjNamedComponent.
Definition at line 217 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmPccSubspaceChannelTimingInfoParser[] |
A parser for the PCC_SUBSPACE_CHANNEL_TIMING_INFO struct.
Definition at line 569 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmPmcgNodeParser[] |
A parser for EArmObjPmcg.
Definition at line 289 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmRmrInfoParser[] |
A parser for EArmObjRmr.
Definition at line 463 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmRootComplexNodeParser[] |
A parser for EArmObjRootComplex.
Definition at line 232 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmSmmuV1SmmuV2NodeParser[] |
A parser for EArmObjSmmuV1SmmuV2.
Definition at line 249 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmArmSmmuV3NodeParser[] |
A parser for EArmObjSmmuV3.
Definition at line 270 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmX64ObjFadtGpeBlockInfoParser[] |
STATIC CONST CM_OBJ_PARSER CmX64ObjFadtMiscInfoParser[] |
A parser for EX64ObjFadtMiscInfo.
Definition at line 861 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmX64ObjFadtPmBlockInfoParser[] |
A parser for EX64ObjFadtPmBlockInfo.
Definition at line 782 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmX64ObjFadtResetBlockInfoParser[] |
A parser for EX64ObjFadtResetBlockInfo.
Definition at line 852 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmX64ObjFadtSciCmdInfoParser[] |
A parser for EX64ObjFadtSciCmdInfo.
Definition at line 771 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmX64ObjFadtSciInterruptParser[] |
A parser for EX64ObjFadtSciInterrupt.
Definition at line 765 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmX64ObjFadtSleepBlockInfoParser[] |
A parser for EX64ObjFadtSleepBlockInfo.
Definition at line 841 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmX64ObjFadtXgpeBlockInfoParser[] |
A parser for EX64ObjFadtXgpeBlockInfo.
Definition at line 830 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmX64ObjFadtXpmBlockInfoParser[] |
A parser for EX64ObjFadtXpmBlockInfo.
Definition at line 807 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmX64ObjHpetInfoParser[] |
A parser for EX64ObjHpetInfo.
Definition at line 881 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER CmX64ObjWsmtFlagsInfoParser[] |
A parser for EX64ObjWsmtFlagsInfo.
Definition at line 875 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER_ARRAY StdNamespaceObjectParser[] |
A parser for Standard namespace objects.
Definition at line 933 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER StdObjAcpiTableInfoParser[] |
A parser for EStdObjAcpiTableList.
Definition at line 914 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER StdObjCfgMgrInfoParser[] |
A parser for EStdObjCfgMgrInfo.
Definition at line 907 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER StdObjSmbiosTableInfoParser[] |
A parser for EStdObjSmbiosTableList.
Definition at line 926 of file ConfigurationManagerObjectParser.c.
STATIC CONST CM_OBJ_PARSER_ARRAY X64NamespaceObjectParser[] |
A parser for X64 namespace objects.
Definition at line 889 of file ConfigurationManagerObjectParser.c.