mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 05:34:31 +02:00
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>
This commit is contained in:
parent
e9eeb0ad2b
commit
48b919cb14
@ -72,9 +72,9 @@
|
|||||||
#endif
|
#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()
|
#define UNREACHABLE()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -204,15 +204,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
|||||||
#define ASM_FUNCTION_REMOVE_IF_UNREFERENCED
|
#define ASM_FUNCTION_REMOVE_IF_UNREFERENCED
|
||||||
#endif
|
#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
|
#define PACKED
|
||||||
#endif
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// 128 bit buffer containing a unique identifier value.
|
/// 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))
|
#define _INT_SIZE_OF(n) ((sizeof (n) + sizeof (UINTN) - 1) &~(sizeof (UINTN) - 1))
|
||||||
|
|
||||||
#if defined (__CC_ARM)
|
#if defined (_M_ARM) || defined (_M_ARM64)
|
||||||
//
|
|
||||||
// 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)
|
|
||||||
//
|
//
|
||||||
// MSFT ARM variable argument list support.
|
// MSFT ARM variable argument list support.
|
||||||
//
|
//
|
||||||
|
@ -47,8 +47,6 @@
|
|||||||
Ebc/CpuSleepFlushTlb.c
|
Ebc/CpuSleepFlushTlb.c
|
||||||
|
|
||||||
[Sources.ARM]
|
[Sources.ARM]
|
||||||
Arm/CpuFlushTlb.asm | RVCT
|
|
||||||
Arm/CpuSleep.asm | RVCT
|
|
||||||
Arm/CpuFlushTlb.asm | MSFT
|
Arm/CpuFlushTlb.asm | MSFT
|
||||||
Arm/CpuSleep.asm | MSFT
|
Arm/CpuSleep.asm | MSFT
|
||||||
Arm/CpuFlushTlb.S | GCC
|
Arm/CpuFlushTlb.S | GCC
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
[Sources.ARM]
|
[Sources.ARM]
|
||||||
IoLibArmVirt.c
|
IoLibArmVirt.c
|
||||||
Arm/ArmVirtMmio.S | GCC
|
Arm/ArmVirtMmio.S | GCC
|
||||||
Arm/ArmVirtMmio.asm | RVCT
|
|
||||||
|
|
||||||
[Sources.AARCH64]
|
[Sources.AARCH64]
|
||||||
IoLibArmVirt.c
|
IoLibArmVirt.c
|
||||||
|
@ -341,19 +341,8 @@
|
|||||||
[Sources.ARM]
|
[Sources.ARM]
|
||||||
Arm/InternalSwitchStack.c
|
Arm/InternalSwitchStack.c
|
||||||
Arm/Unaligned.c
|
Arm/Unaligned.c
|
||||||
Math64.c | RVCT
|
|
||||||
Math64.c | MSFT
|
Math64.c | MSFT
|
||||||
|
|
||||||
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/SwitchStack.asm | MSFT
|
||||||
Arm/SetJumpLongJump.asm | MSFT
|
Arm/SetJumpLongJump.asm | MSFT
|
||||||
Arm/DisableInterrupts.asm | MSFT
|
Arm/DisableInterrupts.asm | MSFT
|
||||||
|
@ -180,16 +180,8 @@
|
|||||||
[Sources.ARM]
|
[Sources.ARM]
|
||||||
Arm/InternalSwitchStack.c
|
Arm/InternalSwitchStack.c
|
||||||
Arm/Unaligned.c
|
Arm/Unaligned.c
|
||||||
Math64.c | RVCT
|
|
||||||
Math64.c | MSFT
|
Math64.c | MSFT
|
||||||
|
|
||||||
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/SwitchStack.asm | MSFT
|
||||||
Arm/SetJumpLongJump.asm | MSFT
|
Arm/SetJumpLongJump.asm | MSFT
|
||||||
Arm/CpuPause.asm | MSFT
|
Arm/CpuPause.asm | MSFT
|
||||||
|
@ -85,12 +85,6 @@
|
|||||||
Arm/CompareMem.S |GCC
|
Arm/CompareMem.S |GCC
|
||||||
Arm/CompareGuid.S |GCC
|
Arm/CompareGuid.S |GCC
|
||||||
|
|
||||||
Arm/ScanMem.asm |RVCT
|
|
||||||
Arm/SetMem.asm |RVCT
|
|
||||||
Arm/CopyMem.asm |RVCT
|
|
||||||
Arm/CompareMem.asm |RVCT
|
|
||||||
Arm/CompareGuid.asm |RVCT
|
|
||||||
|
|
||||||
[Sources.AARCH64]
|
[Sources.AARCH64]
|
||||||
AArch64/ScanMem.S
|
AArch64/ScanMem.S
|
||||||
AArch64/SetMem.S
|
AArch64/SetMem.S
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
|
|
||||||
[Sources]
|
[Sources]
|
||||||
BaseStackCheckGcc.c | GCC
|
BaseStackCheckGcc.c | GCC
|
||||||
BaseStackCheckGcc.c | RVCT
|
|
||||||
BaseStackCheckNull.c | MSFT
|
BaseStackCheckNull.c | MSFT
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
|
@ -71,7 +71,6 @@
|
|||||||
|
|
||||||
[Sources.ARM]
|
[Sources.ARM]
|
||||||
Synchronization.c
|
Synchronization.c
|
||||||
Arm/Synchronization.asm | RVCT
|
|
||||||
Arm/Synchronization.S | GCC
|
Arm/Synchronization.S | GCC
|
||||||
|
|
||||||
[Sources.AARCH64]
|
[Sources.AARCH64]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user