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: - FVP for the following Arch Common object Id: - EArchCommonObjFixedFeatureFlags 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 | 24 +++++++++---------- .../ConfigurationManager.h | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c b/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c index 397de8a365dc..0fb3e99d2ab1 100644 --- a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c +++ b/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c @@ -795,6 +795,18 @@ GetArchCommonNameSpaceObject ( ); break; +#ifdef HEADLESS_PLATFORM + case EArchCommonObjFixedFeatureFlags: + Status = HandleCmObject ( + CmObjectId, + &PlatformRepo->FixedFeatureFlags, + sizeof (PlatformRepo->FixedFeatureFlags), + 1, + CmObject + ); + break; +#endif + default: { Status = EFI_NOT_FOUND; DEBUG (( @@ -878,18 +890,6 @@ GetArmNameSpaceObject ( ); break; -#ifdef HEADLESS_PLATFORM - case EArmObjFixedFeatureFlags: - Status = HandleCmObject ( - CmObjectId, - &PlatformRepo->FixedFeatureFlags, - sizeof (PlatformRepo->FixedFeatureFlags), - 1, - CmObject - ); - break; -#endif - case EArmObjGenericTimerInfo: Status = HandleCmObject ( CmObjectId, diff --git a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h b/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h index ae7df98824d9..ad71e8ef5376 100644 --- a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h +++ b/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h @@ -114,7 +114,7 @@ typedef struct PlatformRepositoryInfo { #ifdef HEADLESS_PLATFORM /// Fixed feature flag information - CM_ARM_FIXED_FEATURE_FLAGS FixedFeatureFlags; + CM_ARCH_COMMON_FIXED_FEATURE_FLAGS FixedFeatureFlags; #endif /// Power management profile information -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117005): https://edk2.groups.io/g/devel/message/117005 Mute This Topic: https://groups.io/mt/105069939/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-