diff options
author | Rebecca Cran <quic_rcran@quicinc.com> | 2022-05-04 02:48:14 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-05-13 14:58:54 +0000 |
commit | 48b919cb141de527d5689c42132d2b42a72102cc (patch) | |
tree | b3b5b81bc8b3380d06c96a37fbd815e0496a11fa /MdePkg/Include | |
parent | e9eeb0ad2b2347f30fa54e70868c44290ed3dc2e (diff) | |
download | edk2-48b919cb141de527d5689c42132d2b42a72102cc.tar.gz edk2-48b919cb141de527d5689c42132d2b42a72102cc.tar.bz2 edk2-48b919cb141de527d5689c42132d2b42a72102cc.zip |
MdePkg: Remove RVCT support
RVCT is obsolete and no longer used.
Remove support for it.
Signed-off-by: Rebecca Cran <quic_rcran@quicinc.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/Arm/ProcessorBind.h | 4 | ||||
-rw-r--r-- | MdePkg/Include/Base.h | 42 |
2 files changed, 3 insertions, 43 deletions
diff --git a/MdePkg/Include/Arm/ProcessorBind.h b/MdePkg/Include/Arm/ProcessorBind.h index 5a8204ba2e..3d924f19a3 100644 --- a/MdePkg/Include/Arm/ProcessorBind.h +++ b/MdePkg/Include/Arm/ProcessorBind.h @@ -72,9 +72,9 @@ #endif
//
-// 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
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index ce7bdedd34..d19ddfe4bb 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
-#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
///
/// 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 (UINTN) - 1))
-#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) = (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.
//
|