Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object.
This patch modifies the ConfigurationManager of the following platforms: - Juno for the following Arch Common object Id: - EArchCommonObjLpiInfo Cc: Sami Mujawar <sami.muja...@arm.com> Cc: Pierre Gondois <pierre.gond...@arm.com> Cc: Yeo Reum Yun <yeoreum....@arm.com> Cc: AbdulLateef Attar <abdullateef.at...@amd.com> Cc: Jeshua Smith <jesh...@nvidia.com> Cc: Jeff Brasen <jbra...@nvidia.com> Cc: Girish Mahadevan <gmahade...@nvidia.com> Cc: Leif Lindholm <quic_llind...@quicinc.com> Cc: Meenakshi Aggarwal <meenakshi.aggar...@nxp.com> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> --- .../ConfigurationManager.c | 28 +++++++++---------- .../ConfigurationManager.h | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c index f720d826813c..a6ded5a38629 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c @@ -1207,7 +1207,7 @@ GetGicCInfo ( @param [in] This Pointer to the Configuration Manager Protocol. @param [in] CmObjectId The Object ID of the CM object requested @param [in] SearchToken A unique token for identifying the requested - CM_ARM_LPI_INFO object. + CM_ARCH_COMMON_LPI_INFO object. @param [in, out] CmObject Pointer to the Configuration Manager Object descriptor describing the requested Object. @@ -1729,6 +1729,19 @@ GetArchCommonNameSpaceObject ( ); break; + case EArchCommonObjLpiInfo: + Status = HandleCmObjectRefByToken ( + This, + CmObjectId, + NULL, + 0, + 0, + Token, + GetLpiInfo, + CmObject + ); + break; + default: { Status = EFI_NOT_FOUND; DEBUG (( @@ -1897,19 +1910,6 @@ GetArmNameSpaceObject ( ); break; - case EArmObjLpiInfo: - Status = HandleCmObjectRefByToken ( - This, - CmObjectId, - NULL, - 0, - 0, - Token, - GetLpiInfo, - CmObject - ); - break; - case EArmObjPsdInfo: Status = HandleCmObjectRefByToken ( This, diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h index c229c18209fe..f34aa087aa31 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h @@ -292,7 +292,7 @@ typedef struct PlatformRepositoryInfo { CM_ARCH_COMMON_OBJ_REF LittleCoreResources[LITTLE_CORE_RESOURCE_COUNT]; // Low Power Idle state information (LPI) for all cores/clusters - CM_ARM_LPI_INFO LpiInfo[LPI_STATE_COUNT]; + CM_ARCH_COMMON_LPI_INFO LpiInfo[LPI_STATE_COUNT]; // Clusters Low Power Idle state references (LPI) CM_ARCH_COMMON_OBJ_REF ClustersLpiRef[CLUSTERS_LPI_STATE_COUNT]; -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117010): https://edk2.groups.io/g/devel/message/117010 Mute This Topic: https://groups.io/mt/105069945/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-