TianoCore EDK2 master
Loading...
Searching...
No Matches
RedfishSmbiosHostInterface.c File Reference

Go to the source code of this file.

Functions

EFI_STATUS RedfishGetHostInterfaceProtocolData (IN EFI_SMBIOS_PROTOCOL *Smbios, OUT REDFISH_INTERFACE_DATA **DeviceDescriptor, OUT REDFISH_OVER_IP_PROTOCOL_DATA **ProtocolData)
 

Variables

SMBIOS_TABLE_TYPE42mType42Record
 

Detailed Description

RedfishSmbiosHostInterface.c

Discover Redfish SMBIOS Host Interface.

(C) Copyright 2021 Hewlett Packard Enterprise Development LP
Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file RedfishSmbiosHostInterface.c.

Function Documentation

◆ RedfishGetHostInterfaceProtocolData()

EFI_STATUS RedfishGetHostInterfaceProtocolData ( IN EFI_SMBIOS_PROTOCOL Smbios,
OUT REDFISH_INTERFACE_DATA **  DeviceDescriptor,
OUT REDFISH_OVER_IP_PROTOCOL_DATA **  ProtocolData 
)

The function gets information reported in Redfish Host Interface.

It simply frees the packet.

Parameters
[in]SmbiosSMBIOS protocol.
[out]DeviceDescriptorPointer to REDFISH_INTERFACE_DATA.
[out]ProtocolDataPointer to REDFISH_OVER_IP_PROTOCOL_DATA.
Return values
EFI_SUCCESSGet host interface successfully.
OtherwiseFail to tet host interface.

Definition at line 31 of file RedfishSmbiosHostInterface.c.

Variable Documentation

◆ mType42Record

SMBIOS_TABLE_TYPE42* mType42Record

Definition at line 15 of file RedfishSmbiosHostInterface.c.