audk/RedfishPkg/RedfishHttpDxe/RedfishHttpDxe.inf
Ard Biesheuvel 98f4d35aae RedfishPkg: Drop ARM support
Redfish uses JsonLib, which supports encoding real numbers. This
handling is implemented using C floating point types, which means that
on 32-bit ARM, a softfloat library is required, even though the CPUs we
still (marginally) care about all support floating point in hardware.

The UEFI spec does not permit the use of floating point on ARM at all,
and so the correct thing to do here is to simply disable this driver on
32-bit ARM entirely.

Note that the ARM platform code does allow the VFP unit to be enabled at
boot time, and so rebuilding this driver with hardware FP should be
feasible, in case anyone has an interest in running it on a 32-bit ARM
system.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
2024-11-26 22:00:36 +00:00

71 lines
1.9 KiB
INI

## @file
# RedfishHttpDxe is the DXE driver which provides
# EdkIIRedfishHttpProtocol to EDK2 Redfish Feature
# drivers for HTTP operation.
#
# Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
[Defines]
INF_VERSION = 0x0001000b
BASE_NAME = RedfishHttpDxe
FILE_GUID = 85ADB2F1-DA93-47D4-AF4F-3D920D9BD2C0
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = RedfishHttpEntryPoint
UNLOAD_IMAGE = RedfishHttpDriverUnload
#
# VALID_ARCHITECTURES = IA32 X64 AARCH64 RISCV64
#
[Sources]
RedfishHttpData.c
RedfishHttpData.h
RedfishHttpDxe.c
RedfishHttpDxe.h
RedfishHttpOperation.c
RedfishHttpOperation.h
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
NetworkPkg/NetworkPkg.dec
RedfishPkg/RedfishPkg.dec
[LibraryClasses]
BaseLib
BaseMemoryLib
RedfishContentCodingLib
DebugLib
HttpLib
JsonLib
MemoryAllocationLib
PrintLib
RedfishDebugLib
ReportStatusCodeLib
UefiBootServicesTableLib
UefiDriverEntryPoint
UefiLib
[Protocols]
gEdkIIRedfishHttpProtocolGuid ## PRODUCED
gEdkIIRedfishCredential2ProtocolGuid ## CONSUMES
gEfiRestExProtocolGuid ## CONSUEMS
[Pcd]
gEfiRedfishPkgTokenSpaceGuid.PcdHttpGetRetry
gEfiRedfishPkgTokenSpaceGuid.PcdHttpPutRetry
gEfiRedfishPkgTokenSpaceGuid.PcdHttpPatchRetry
gEfiRedfishPkgTokenSpaceGuid.PcdHttpPostRetry
gEfiRedfishPkgTokenSpaceGuid.PcdHttpDeleteRetry
gEfiRedfishPkgTokenSpaceGuid.PcdHttpRetryWaitInSecond
gEfiRedfishPkgTokenSpaceGuid.PcdHttpCacheDisabled
gEfiRedfishPkgTokenSpaceGuid.PcdRedfishServiceContentEncoding
[Depex]
TRUE