Files
EDK2-fork/RedfishPkg/RedfishRestExDxe/RedfishRestExDxe.inf
Nickle Wang 225bf1277c RedfishPkg/RedfishExDxe: call platform device wanted lib
In supported() function, add the call to platform device wanted lib to
see if platform wants to support this device or not. If platform does
not support this device, Redfish Ex protocol won't be available on this
controller handle and the reset of Redfish service is not available
either.

Signed-off-by: Nickle Wang <nicklew@nvidia.com>
2025-05-01 23:05:21 +00:00

73 lines
2.2 KiB
INI

## @file
# Implementation of Redfish EFI_REST_EX_PROTOCOL interfaces.
#
# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
# Copyright (c) 2023, American Megatrends International LLC.
# Copyright (c) 2023-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
[Defines]
INF_VERSION = 0x0001001b
BASE_NAME = RedfishRestExDxe
FILE_GUID = B64702DA-E6B5-43c8-8CE8-D253071E9D6C
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = RedfishRestExDriverEntryPoint
UNLOAD_IMAGE = NetLibDefaultUnload
MODULE_UNI_FILE = RedfishRestExDxe.uni
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
NetworkPkg/NetworkPkg.dec
RedfishPkg/RedfishPkg.dec
[Sources]
ComponentName.c
RedfishRestExDriver.c
RedfishRestExDriver.h
RedfishRestExImpl.c
RedfishRestExProtocol.c
RedfishRestExInternal.h
[LibraryClasses]
BaseLib
BaseMemoryLib
DebugLib
DevicePathLib
DpcLib
HttpLib
HttpIoLib
PrintLib
MemoryAllocationLib
NetLib
RedfishDebugLib
RedfishPlatformWantedDeviceLib
UefiLib
UefiBootServicesTableLib
UefiDriverEntryPoint
UefiRuntimeServicesTableLib
[Protocols]
gEfiRestExServiceBindingProtocolGuid ## BY_START
gEfiRestExProtocolGuid ## BY_START
gEfiHttpServiceBindingProtocolGuid ## TO_START
gEfiHttpProtocolGuid ## TO_START
gEfiDevicePathProtocolGuid ## TO_START
gEdkiiHttpCallbackProtocolGuid ## CONSUMES
gEfiTlsProtocolGuid ## CONSUMES
[Pcd]
gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand ## CONSUMES
gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExChunkRequestMode ## CONSUMES
gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExAddingExpect ## CONSUMES
[UserExtensions.TianoCore."ExtraFiles"]
RedfishRestExDxeExtra.uni