From nobody Tue Feb 10 10:19:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+89490+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89490+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=quicinc.com ARC-Seal: i=1; a=rsa-sha256; t=1651603727; cv=none; d=zohomail.com; s=zohoarc; b=NcUX7xGoOsbSCyGJ9laT4cGwcF2RanWESSZKQ3KBUF89D5AV1/AgBtzz26LPKuw6wCfCj/u9qbkYdfO7DfPMnzj92KtSvOwAlkjew77s2aV6JY0hNslJql1Zx46LugKWLwxGrtIBU6gV9992/Wh+vrNd9fUR+oKtdNoM0j8vlN0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1651603727; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=SD5ZzSogyjcxasEw+LyuhS5eIary2Bna0BesH9909LU=; b=MWKLC44KxaL0/occDugCfVkOrjIaMo8DmG7S7Z6IzyzT/paUYqXwd5vkaedpMVldR2spr1W9Zr3yb7lXii0jnrMegauxIDxFxqhTpZxLZ1ltnkyJZxKUCdGx+9FuMOdoey2F29s6P6nUwGSlO7W/itQPklIkj30JEPsn+UPPUNE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89490+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1651603727030341.4213227782616; Tue, 3 May 2022 11:48:47 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 1BHuYY1788612xnHYFliIbnK; Tue, 03 May 2022 11:48:46 -0700 X-Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by mx.groups.io with SMTP id smtpd.web08.1016.1651603726023523017 for ; Tue, 03 May 2022 11:48:46 -0700 X-Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 03 May 2022 11:48:45 -0700 X-QCInternal: smtphost X-Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2022 11:48:44 -0700 X-Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 3 May 2022 11:48:43 -0700 X-Received: from linbox.ba.nuviainc.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 3 May 2022 11:48:42 -0700 From: "Rebecca Cran" To: , Leif Lindholm , "Ard Biesheuvel" , Sami Mujawar , Gerd Hoffmann , Bob Feng , "Liming Gao" , Yuwei Chen , "Jiewen Yao" , Jian J Wang , Xiaoyu Lu , Guomin Jiang , Abner Chang , Daniel Schaefer , Ray Ni , Michael D Kinney , "Zhiguang Liu" , Maciej Rabeda , Jiaxin Wu , Siyuan Fu , "Jordan Justen" , Anthony Perard , Julien Grall CC: Rebecca Cran Subject: [edk2-devel] [PATCH 04/10] MdePkg: Remove RVCT support Date: Tue, 3 May 2022 12:48:14 -0600 Message-ID: <20220503184820.19312-5-quic_rcran@quicinc.com> In-Reply-To: <20220503184820.19312-1-quic_rcran@quicinc.com> References: <20220503184820.19312-1-quic_rcran@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,quic_rcran@quicinc.com X-Gm-Message-State: TefX98aNKlZ8hSlv189ZUbU9x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1651603726; bh=hzGtGiw5yu0B92Jw8Mb//JT/lFNwd4bzougIxdADiuU=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=hqrGePrOTn3xIlLqblXrj153K7jMS1ebmsxmSmgoNkPG2oTN2WKSARz8ejvIXR6nmW9 1WcTpXKyway/JusNUKmxklyn/1P9BVE7E1c/0eEadUEK4rFHZixIIdkPF1idf6mPulW2F HLFNqW026qViNDDH5bqI6zkphKFZja6s698= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1651603729211100023 Content-Type: text/plain; charset="utf-8" RVCT is obsolete and no longer used. Remove support for it. Signed-off-by: Rebecca Cran --- MdePkg/Include/Arm/ProcessorBind.h | 4 +- MdePkg/Include/Base.h | 42 +---= ---------------- MdePkg/Library/BaseCpuLib/BaseCpuLib.inf | 2 - MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf | 1 - MdePkg/Library/BaseLib/BaseLib.inf | 11 ----- MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf | 8 ---- MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf | 6 --- MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf | 1 - MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf | 1 - 9 files changed, 3 insertions(+), 73 deletions(-) diff --git a/MdePkg/Include/Arm/ProcessorBind.h b/MdePkg/Include/Arm/Proces= sorBind.h index 5a8204ba2e66..3d924f19a35d 100644 --- a/MdePkg/Include/Arm/ProcessorBind.h +++ b/MdePkg/Include/Arm/ProcessorBind.h @@ -72,9 +72,9 @@ #endif =20 // -// RVCT and MSFT don't support the __builtin_unreachable() macro +// MSFT doesn't support the __builtin_unreachable() macro // -#if defined (__ARMCC_VERSION) || defined (_MSC_EXTENSIONS) +#if defined (_MSC_EXTENSIONS) #define UNREACHABLE() #endif =20 diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index ce7bdedd34e2..d19ddfe4bba7 100644 --- a/MdePkg/Include/Base.h +++ b/MdePkg/Include/Base.h @@ -204,15 +204,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define ASM_FUNCTION_REMOVE_IF_UNREFERENCED #endif =20 -#ifdef __CC_ARM -// -// Older RVCT ARM compilers don't fully support #pragma pack and require _= _packed -// as a prefix for the structure. -// -#define PACKED __packed -#else #define PACKED -#endif =20 /// /// 128 bit buffer containing a unique identifier value. @@ -578,39 +570,7 @@ struct _LIST_ENTRY { **/ #define _INT_SIZE_OF(n) ((sizeof (n) + sizeof (UINTN) - 1) &~(sizeof (UIN= TN) - 1)) =20 -#if defined (__CC_ARM) -// -// RVCT ARM variable argument list support. -// - -/// -/// Variable used to traverse the list of arguments. This type can vary by -/// implementation and could be an array or structure. -/// - #ifdef __APCS_ADSABI -typedef int *va_list[1]; -#define VA_LIST va_list - #else -typedef struct __va_list { - void *__ap; -} va_list; -#define VA_LIST va_list - #endif - -#define VA_START(Marker, Parameter) __va_start(Marker, Parameter) - -#define VA_ARG(Marker, TYPE) __va_arg(Marker, TYPE) - -#define VA_END(Marker) ((void)0) - -// For some ARM RVCT compilers, __va_copy is not defined - #ifndef __va_copy -#define __va_copy(dest, src) ((void)((dest) =3D (src))) - #endif - -#define VA_COPY(Dest, Start) __va_copy (Dest, Start) - -#elif defined (_M_ARM) || defined (_M_ARM64) +#if defined (_M_ARM) || defined (_M_ARM64) // // MSFT ARM variable argument list support. // diff --git a/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf b/MdePkg/Library/Base= CpuLib/BaseCpuLib.inf index 950f5229b2a4..c4cd29a7839d 100644 --- a/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf +++ b/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf @@ -47,8 +47,6 @@ Ebc/CpuSleepFlushTlb.c =20 [Sources.ARM] - Arm/CpuFlushTlb.asm | RVCT - Arm/CpuSleep.asm | RVCT Arm/CpuFlushTlb.asm | MSFT Arm/CpuSleep.asm | MSFT Arm/CpuFlushTlb.S | GCC diff --git a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.in= f b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf index cea6857926b3..e803abc0b171 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf +++ b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf @@ -31,7 +31,6 @@ [Sources.ARM] IoLibArmVirt.c Arm/ArmVirtMmio.S | GCC - Arm/ArmVirtMmio.asm | RVCT =20 [Sources.AARCH64] IoLibArmVirt.c diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/Ba= seLib.inf index 16b7ac391705..6be5be9428f2 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -341,19 +341,8 @@ [Sources.ARM] Arm/InternalSwitchStack.c Arm/Unaligned.c - Math64.c | RVCT Math64.c | MSFT =20 - Arm/SwitchStack.asm | RVCT - Arm/SetJumpLongJump.asm | RVCT - Arm/DisableInterrupts.asm | RVCT - Arm/EnableInterrupts.asm | RVCT - Arm/GetInterruptsState.asm | RVCT - Arm/CpuPause.asm | RVCT - Arm/CpuBreakpoint.asm | RVCT - Arm/MemoryFence.asm | RVCT - Arm/SpeculationBarrier.S | RVCT - Arm/SwitchStack.asm | MSFT Arm/SetJumpLongJump.asm | MSFT Arm/DisableInterrupts.asm | MSFT diff --git a/MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf b/MdePkg/Librar= y/BaseLib/UnitTestHostBaseLib.inf index d09bd12bef19..09a610c31c1d 100644 --- a/MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf +++ b/MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf @@ -180,16 +180,8 @@ [Sources.ARM] Arm/InternalSwitchStack.c Arm/Unaligned.c - Math64.c | RVCT Math64.c | MSFT =20 - Arm/SwitchStack.asm | RVCT - Arm/SetJumpLongJump.asm | RVCT - Arm/CpuPause.asm | RVCT - Arm/CpuBreakpoint.asm | RVCT - Arm/MemoryFence.asm | RVCT - Arm/SpeculationBarrier.S | RVCT - Arm/SwitchStack.asm | MSFT Arm/SetJumpLongJump.asm | MSFT Arm/CpuPause.asm | MSFT diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf b/M= dePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf index e4e3d532e7b8..366a6c6f64a0 100644 --- a/MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf +++ b/MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf @@ -85,12 +85,6 @@ Arm/CompareMem.S |GCC Arm/CompareGuid.S |GCC =20 - Arm/ScanMem.asm |RVCT - Arm/SetMem.asm |RVCT - Arm/CopyMem.asm |RVCT - Arm/CompareMem.asm |RVCT - Arm/CompareGuid.asm |RVCT - [Sources.AARCH64] AArch64/ScanMem.S AArch64/SetMem.S diff --git a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf b/MdePk= g/Library/BaseStackCheckLib/BaseStackCheckLib.inf index 0dc3c4a83aa5..b827645d72b9 100644 --- a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf +++ b/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf @@ -26,7 +26,6 @@ =20 [Sources] BaseStackCheckGcc.c | GCC - BaseStackCheckGcc.c | RVCT BaseStackCheckNull.c | MSFT =20 [Packages] diff --git a/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.i= nf b/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf index 83d5b8ed7c9b..02ba12961a19 100755 --- a/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf +++ b/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf @@ -71,7 +71,6 @@ =20 [Sources.ARM] Synchronization.c - Arm/Synchronization.asm | RVCT Arm/Synchronization.S | GCC =20 [Sources.AARCH64] --=20 2.35.3 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89490): https://edk2.groups.io/g/devel/message/89490 Mute This Topic: https://groups.io/mt/90866288/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-