From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 62568740032 for ; Mon, 10 Jun 2024 09:34:40 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=0p5ohMflEKhNmWy8uZTHTyKmhV44BvXCWnpY8M64Wk8=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1718012080; v=1; b=1FbiH+Fr+2Ksm8qbItY4yUN8GlhIoLvcZuxCyAmjT7nixCz5zDbq41B5fFbXMI37jUW6knqD eoQciiIwN98RZ6ZSOaM/eYY1srXNd2VAh1kIh9/a9ZpGMaaM0wUwBmELZ1ZQh7pAFWEFE2knrJd +QYrgybhpiG/cQWkG077IuoTqySCsfBzdS41a/ME3AYjo/kAQTNCsoD0opGzh6Xpl0DXNEngSGd D2I0WoFrP/6GBfzs0IX19E1D2uxZgGHQbtVlvqizOoBvjzOj4scdSXPqX0N6E3GUYPHG8uikR4g W7rRFpflZxZ7I6OGVIlzWU+vWowdThZq/Ahq1lwqsVZpA== X-Received: by 127.0.0.2 with SMTP id Dz44YY7687511x8cMLu0vD7L; Mon, 10 Jun 2024 02:34:39 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.15500.1718012078394836890 for ; Mon, 10 Jun 2024 02:34:38 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8A9AB12FC; Mon, 10 Jun 2024 02:35:02 -0700 (PDT) X-Received: from e126645.arm.com (unknown [10.57.69.240]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 233123F73B; Mon, 10 Jun 2024 02:34:36 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois Subject: [edk2-devel] [platforms/devel-dynamictables-reorg PATCH 04/14] Platform/ARM: Morello,N1Sdp: Move Fixed Feat Flags info to Arch Common Date: Mon, 10 Jun 2024 11:33:55 +0200 Message-Id: <20240610093405.1980592-5-Pierre.Gondois@arm.com> In-Reply-To: <20240610093405.1980592-1-Pierre.Gondois@arm.com> References: <20240610093405.1980592-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 10 Jun 2024 02:34:38 -0700 Resent-From: pierre.gondois@arm.com Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 129KmgnourtkgRMX97p8A7YLx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=1FbiH+Fr; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io From: Pierre Gondois 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: - Morello - N1Sdp for the following Arch Common object Id: - EArchCommonObjFixedFeatureFlags Signed-off-by: Pierre Gondois --- .../ConfigurationManager.c | 24 +++++++++---------- .../ConfigurationManager.h | 2 +- .../ConfigurationManager.c | 20 ++++++++-------- .../ConfigurationManager.h | 2 +- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManag= erDxe/ConfigurationManager.c b/Platform/ARM/Morello/ConfigurationManager/= ConfigurationManagerDxe/ConfigurationManager.c index b4c0af1307b1..0eef9ede01cb 100644 --- a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.c +++ b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.c @@ -831,6 +831,18 @@ GetArchCommonNameSpaceObject ( ); break; =20 +#ifdef HEADLESS_PLATFORM + case EArchCommonObjFixedFeatureFlags: + Status =3D HandleCmObject ( + CmObjectId, + &CommonPlatRepo->FixedFeatureFlags, + sizeof (CommonPlatRepo->FixedFeatureFlags), + 1, + CmObject + ); + break; +#endif + default: { Status =3D EFI_NOT_FOUND; DEBUG (( @@ -894,18 +906,6 @@ GetArmNameSpaceObject ( ); break; =20 -#ifdef HEADLESS_PLATFORM - case EArmObjFixedFeatureFlags: - Status =3D HandleCmObject ( - CmObjectId, - &CommonPlatRepo->FixedFeatureFlags, - sizeof (CommonPlatRepo->FixedFeatureFlags), - 1, - CmObject - ); - break; -#endif - case EArmObjGenericTimerInfo: Status =3D HandleCmObject ( CmObjectId, diff --git a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManag= erDxe/ConfigurationManager.h b/Platform/ARM/Morello/ConfigurationManager/= ConfigurationManagerDxe/ConfigurationManager.h index 2a35494bcc81..c2a34102b584 100644 --- a/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.h +++ b/Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/C= onfigurationManager.h @@ -225,7 +225,7 @@ typedef struct CommonPlatformRepositoryInfo { =20 #ifdef HEADLESS_PLATFORM /// Fixed feature flag information - CM_ARM_FIXED_FEATURE_FLAGS FixedFeatureFlags; + CM_ARCH_COMMON_FIXED_FEATURE_FLAGS FixedFeatureFlags; #endif =20 /// Power management profile information diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.c b/Platform/ARM/N1Sdp/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.c index 21180e8f2d51..20a0f276a164 100644 --- a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c @@ -1743,6 +1743,16 @@ GetArchCommonNameSpaceObject ( ); break; =20 + case EArchCommonObjFixedFeatureFlags: + Status =3D HandleCmObject ( + CmObjectId, + &PlatformRepo->FixedFeatureFlags, + sizeof (PlatformRepo->FixedFeatureFlags), + 1, + CmObject + ); + break; + default: { Status =3D EFI_NOT_FOUND; DEBUG (( @@ -1838,16 +1848,6 @@ GetArmNameSpaceObject ( ); break; =20 - case EArmObjFixedFeatureFlags: - Status =3D HandleCmObject ( - CmObjectId, - &PlatformRepo->FixedFeatureFlags, - sizeof (PlatformRepo->FixedFeatureFlags), - 1, - CmObject - ); - break; - case EArmObjGenericTimerInfo: Status =3D HandleCmObject ( CmObjectId, diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.h b/Platform/ARM/N1Sdp/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.h index cb87b58a68ff..0c0e2b5aa43b 100644 --- a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h @@ -229,7 +229,7 @@ typedef struct PlatformRepositoryInfo { CM_ARM_BOOT_ARCH_INFO BootArchInfo; =20 /// Fixed feature flag information - CM_ARM_FIXED_FEATURE_FLAGS FixedFeatureFlags; + CM_ARCH_COMMON_FIXED_FEATURE_FLAGS FixedFeatureFlags; =20 /// Power management profile information CM_ARCH_COMMON_POWER_MANAGEMENT_PROFILE_INFO PmProfileInfo; --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119524): https://edk2.groups.io/g/devel/message/119524 Mute This Topic: https://groups.io/mt/106589342/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-