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 <[email protected]> Cc: Pierre Gondois <[email protected]> Cc: Yeo Reum Yun <[email protected]> Cc: AbdulLateef Attar <[email protected]> Cc: Jeshua Smith <[email protected]> Cc: Jeff Brasen <[email protected]> Cc: Girish Mahadevan <[email protected]> Cc: Leif Lindholm <[email protected]> Cc: Meenakshi Aggarwal <[email protected]> Signed-off-by: Pierre Gondois <[email protected]> --- .../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: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
