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

Go to the source code of this file.

Functions

EFI_STATUS RedfishCreateSmbiosTable42 (VOID)
 
VOID EFIAPI PlatformHostInterfaceInformationReady (IN EFI_EVENT Event, IN VOID *Context)
 
EFI_STATUS EFIAPI RedfishHostInterfaceDxeEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

RedfishHostInterfaceDxe builds up SMBIOS Type 42h host interface record for Redfish service host interface using EFI MBIOS Protocol. RedfishHostInterfacePlatformLib is the platform-level library which provides the content of Redfish host interface type 42h record.

Copyright (c) 2019, Intel Corporation. All rights reserved.
(C) Copyright 2020 Hewlett Packard Enterprise Development LP
Copyright (C) 2022 Advanced Micro Devices, Inc. All rights reserved.
Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. Copyright (c) 2023, Ampere Computing LLC. All rights reserved.

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

Definition in file RedfishHostInterfaceDxe.c.

Function Documentation

◆ PlatformHostInterfaceInformationReady()

VOID EFIAPI PlatformHostInterfaceInformationReady ( IN EFI_EVENT  Event,
IN VOID *  Context 
)

Notification event of platform Redfish Host Interface readiness.

Parameters
[in]EventEvent whose notification function is being invoked.
[in]ContextThe pointer to the notification function's context, which is implementation-dependent.

Definition at line 275 of file RedfishHostInterfaceDxe.c.

◆ RedfishCreateSmbiosTable42()

EFI_STATUS RedfishCreateSmbiosTable42 ( VOID  )

Create SMBIOS type 42 record for Redfish host interface.

Return values
EFI_SUCCESSSMBIOS type 42 record is created.
OthersFail to create SMBIOS 42 record.

For Protocol Record Count

Double NULL terminator/

Definition at line 38 of file RedfishHostInterfaceDxe.c.

◆ RedfishHostInterfaceDxeEntryPoint()

EFI_STATUS EFIAPI RedfishHostInterfaceDxeEntryPoint ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Main entry for this driver.

Parameters
ImageHandleImage handle this driver.
SystemTablePointer to SystemTable.
Return values
EFI_SUCCESSThis function always complete successfully.

Definition at line 304 of file RedfishHostInterfaceDxe.c.