RedfishPkg: Drop ARM32 Support

edk2 is dropping support for the ARM32 architecture. This
commit drops ARM32 code from RedfishPkg. This also drops
irrelevant VALID_ARCHITECTURES comments in infs that are
not arch specific.

Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
This commit is contained in:
Oliver Smith-Denny
2025-09-15 07:55:14 -07:00
committed by mergify[bot]
parent 2b0ce49c50
commit 470a80094c
12 changed files with 2 additions and 48 deletions

View File

@ -34,23 +34,17 @@
// 64-bit. Since using 'long long' works fine on GCC too, just do that.
//
#define SIXTY_FOUR_BIT
#elif defined (MDE_CPU_IA32) || defined (MDE_CPU_ARM) || defined (MDE_CPU_EBC)
#elif defined (MDE_CPU_IA32) || defined (MDE_CPU_EBC)
#define THIRTY_TWO_BIT
#endif
//
// Map all va_xxxx elements to VA_xxx defined in MdePkg/Include/Base.h
//
#if !defined (__CC_ARM) // if va_list is not already defined
#define va_list VA_LIST
#define va_arg VA_ARG
#define va_start VA_START
#define va_end VA_END
#else // __CC_ARM
#define va_start(Marker, Parameter) __va_start(Marker, Parameter)
#define va_arg(Marker, TYPE) __va_arg(Marker, TYPE)
#define va_end(Marker) ((void)0)
#endif
//
// Definitions for global constants used by CRT library routines

View File

@ -16,10 +16,6 @@
VERSION_STRING = 1.0
LIBRARY_CLASS = Ucs2Utf8Lib
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
#
[Sources]
BaseUcs2Utf8Lib.c

View File

@ -17,10 +17,6 @@
LIBRARY_CLASS = JsonLib|DXE_DRIVER UEFI_APPLICATION UEFI_DRIVER
CONSTRUCTOR = JsonLibConstructor
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
#
[Sources]
#
# Below are the source code of third

View File

@ -15,10 +15,6 @@
VERSION_STRING = 1.0
LIBRARY_CLASS = RedfishPlatformCredentialLib
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
#
[Sources]
PlatformCredentialLibNull.c

View File

@ -15,10 +15,6 @@
VERSION_STRING = 1.0
LIBRARY_CLASS = RedfishPlatformHostInterfaceLib
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
#
[Sources]
PlatformHostInterfaceLibNull.c

View File

@ -16,10 +16,6 @@
VERSION_STRING = 1.0
LIBRARY_CLASS = RedfishContentCodingLib
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
#
[Sources]
RedfishContentCodingLibNull.c

View File

@ -15,10 +15,6 @@
VERSION_STRING = 1.0
LIBRARY_CLASS = RedfishPlatformWantedDeviceLib
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
#
[Sources]
RedfishPlatformWantedDeviceLibNull.c

View File

@ -18,7 +18,7 @@
LIBRARY_CLASS = RedfishCrtLib|DXE_DRIVER UEFI_APPLICATION UEFI_DRIVER
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
# VALID_ARCHITECTURES = IA32 X64 AARCH64 RISCV64
#
[Sources]

View File

@ -17,10 +17,6 @@
VERSION_STRING = 1.0
LIBRARY_CLASS = RedfishLib| DXE_DRIVER UEFI_APPLICATION UEFI_DRIVER
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
#
[Sources]
edk2libredfish/src/redpath.c
edk2libredfish/src/service.c

View File

@ -19,10 +19,6 @@
ENTRY_POINT = RedfishConfigHandlerDriverEntryPoint
UNLOAD_IMAGE = RedfishConfigHandlerDriverUnload
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
#
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec

View File

@ -17,10 +17,6 @@
ENTRY_POINT = RedfishCredentialDxeDriverEntryPoint
UNLOAD_IMAGE = RedfishCredentialDxeDriverUnload
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
#
[Sources]
RedfishCredentialDxe.c
RedfishCredentialDxe.h

View File

@ -19,10 +19,6 @@
VERSION_STRING = 1.0
ENTRY_POINT = RedfishHostInterfaceDxeEntryPoint
#
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64
#
[Sources]
RedfishHostInterfaceDxe.c