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

Go to the source code of this file.

Functions

VOID EFIAPI RedfishConfigOnEndOfDxe (IN EFI_EVENT Event, OUT VOID *Context)
 
VOID EFIAPI RedfishConfigOnExitBootService (IN EFI_EVENT Event, OUT VOID *Context)
 
EFI_STATUS RedfishConfigDriverCommonUnload (IN EFI_HANDLE ImageHandle)
 
EFI_STATUS RedfishConfigCommonInit (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
EFI_STATUS RedfishConfigCommonStop (VOID)
 
VOID RedfishConfigHandlerInitialization (VOID)
 

Variables

REDFISH_CONFIG_DRIVER_DATA gRedfishConfigData
 
EFI_EVENT gEndOfDxeEvent = NULL
 
EFI_EVENT gExitBootServiceEvent = NULL
 
EDKII_REDFISH_CREDENTIAL_PROTOCOLgCredential = NULL
 

Detailed Description

The common code of EDKII Redfish Configuration Handler driver.

(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 RedfishConfigHandlerCommon.c.

Function Documentation

◆ RedfishConfigCommonInit()

EFI_STATUS RedfishConfigCommonInit ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

This is the common code for Redfish configuration UEFI and DXE driver initialization.

Parameters
[in]ImageHandleThe firmware allocated handle for the UEFI image.
[in]SystemTableA pointer to the EFI System Table.
Return values
EFI_SUCCESSThe operation completed successfully.
OthersAn unexpected error occurred.

Definition at line 112 of file RedfishConfigHandlerCommon.c.

◆ RedfishConfigCommonStop()

EFI_STATUS RedfishConfigCommonStop ( VOID  )

This is the common code to stop EDK2 Redfish feature driver.

Return values
EFI_SUCCESSAll EDK2 Redfish feature drivers are stopped.
OthersAn unexpected error occurred.

Definition at line 174 of file RedfishConfigHandlerCommon.c.

◆ RedfishConfigDriverCommonUnload()

EFI_STATUS RedfishConfigDriverCommonUnload ( IN EFI_HANDLE  ImageHandle)

Unloads an image.

Parameters
[in]ImageHandleHandle that identifies the image to be unloaded.
Return values
EFI_SUCCESSThe image has been unloaded.

Definition at line 79 of file RedfishConfigHandlerCommon.c.

◆ RedfishConfigHandlerInitialization()

VOID RedfishConfigHandlerInitialization ( VOID  )

Callback function executed when a Redfish Config Handler Protocol is installed by EDK2 Redfish Feature Drivers.

Definition at line 220 of file RedfishConfigHandlerCommon.c.

◆ RedfishConfigOnEndOfDxe()

VOID EFIAPI RedfishConfigOnEndOfDxe ( IN EFI_EVENT  Event,
OUT VOID *  Context 
)

Callback function executed when the EndOfDxe event group is signaled.

Parameters
[in]EventEvent whose notification function is being invoked.
[out]ContextPointer to the Context buffer.

Definition at line 29 of file RedfishConfigHandlerCommon.c.

◆ RedfishConfigOnExitBootService()

VOID EFIAPI RedfishConfigOnExitBootService ( IN EFI_EVENT  Event,
OUT VOID *  Context 
)

Callback function executed when the ExitBootService event group is signaled.

Parameters
[in]EventEvent whose notification function is being invoked.
[out]ContextPointer to the Context buffer

Definition at line 57 of file RedfishConfigHandlerCommon.c.

Variable Documentation

◆ gCredential

Definition at line 18 of file RedfishConfigHandlerCommon.c.

◆ gEndOfDxeEvent

EFI_EVENT gEndOfDxeEvent = NULL

Definition at line 16 of file RedfishConfigHandlerCommon.c.

◆ gExitBootServiceEvent

EFI_EVENT gExitBootServiceEvent = NULL

Definition at line 17 of file RedfishConfigHandlerCommon.c.

◆ gRedfishConfigData

REDFISH_CONFIG_DRIVER_DATA gRedfishConfigData

Definition at line 13 of file RedfishConfigHandlerCommon.c.