TianoCore EDK2 master
Loading...
Searching...
No Matches
IpmiCommandLibNetFnChassis.c File Reference
#include <Uefi.h>
#include <IndustryStandard/Ipmi.h>

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI IpmiGetChassisCapabilities (OUT IPMI_GET_CHASSIS_CAPABILITIES_RESPONSE *GetChassisCapabilitiesResponse)
 
EFI_STATUS EFIAPI IpmiGetChassisStatus (OUT IPMI_GET_CHASSIS_STATUS_RESPONSE *GetChassisStatusResponse)
 
EFI_STATUS EFIAPI IpmiChassisControl (IN IPMI_CHASSIS_CONTROL_REQUEST *ChassisControlRequest, OUT UINT8 *CompletionCode)
 
EFI_STATUS EFIAPI IpmiSetPowerRestorePolicy (IN IPMI_SET_POWER_RESTORE_POLICY_REQUEST *ChassisControlRequest, OUT IPMI_SET_POWER_RESTORE_POLICY_RESPONSE *ChassisControlResponse)
 
EFI_STATUS EFIAPI IpmiSetSystemBootOptions (IN IPMI_SET_BOOT_OPTIONS_REQUEST *BootOptionsRequest, OUT IPMI_SET_BOOT_OPTIONS_RESPONSE *BootOptionsResponse)
 
EFI_STATUS EFIAPI IpmiGetSystemBootOptions (IN IPMI_GET_BOOT_OPTIONS_REQUEST *BootOptionsRequest, OUT IPMI_GET_BOOT_OPTIONS_RESPONSE *BootOptionsResponse)
 

Detailed Description

IPMI Command - NetFnChassis NULL instance library.

Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.
Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.

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

Definition in file IpmiCommandLibNetFnChassis.c.

Function Documentation

◆ IpmiChassisControl()

EFI_STATUS EFIAPI IpmiChassisControl ( IN IPMI_CHASSIS_CONTROL_REQUEST ChassisControlRequest,
OUT UINT8 *  CompletionCode 
)

This function sends chassis control request.

Parameters
[in]ChassisControlRequestThe chassis control request.
[out]CompletionCodeThe command completion code.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 57 of file IpmiCommandLibNetFnChassis.c.

◆ IpmiGetChassisCapabilities()

EFI_STATUS EFIAPI IpmiGetChassisCapabilities ( OUT IPMI_GET_CHASSIS_CAPABILITIES_RESPONSE GetChassisCapabilitiesResponse)

This function gets chassis capability.

Parameters
[out]GetChassisCapabilitiesResponseGets chassis capability command response.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 22 of file IpmiCommandLibNetFnChassis.c.

◆ IpmiGetChassisStatus()

EFI_STATUS EFIAPI IpmiGetChassisStatus ( OUT IPMI_GET_CHASSIS_STATUS_RESPONSE GetChassisStatusResponse)

This function gets chassis status.

Parameters
[out]GetChassisStatusResponseThe get chassis status command response.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 39 of file IpmiCommandLibNetFnChassis.c.

◆ IpmiGetSystemBootOptions()

EFI_STATUS EFIAPI IpmiGetSystemBootOptions ( IN IPMI_GET_BOOT_OPTIONS_REQUEST BootOptionsRequest,
OUT IPMI_GET_BOOT_OPTIONS_RESPONSE BootOptionsResponse 
)

This function gets system boot option.

Parameters
[in]BootOptionsRequestGet system boot option request.
[out]BootOptionsResponseThe response of get system boot option request.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 117 of file IpmiCommandLibNetFnChassis.c.

◆ IpmiSetPowerRestorePolicy()

EFI_STATUS EFIAPI IpmiSetPowerRestorePolicy ( IN IPMI_SET_POWER_RESTORE_POLICY_REQUEST ChassisControlRequest,
OUT IPMI_SET_POWER_RESTORE_POLICY_RESPONSE ChassisControlResponse 
)

This function sets power restore policy.

Parameters
[in]ChassisControlRequestThe set power restore policy control command request.
[out]ChassisControlResponseThe response of power restore policy.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 77 of file IpmiCommandLibNetFnChassis.c.

◆ IpmiSetSystemBootOptions()

EFI_STATUS EFIAPI IpmiSetSystemBootOptions ( IN IPMI_SET_BOOT_OPTIONS_REQUEST BootOptionsRequest,
OUT IPMI_SET_BOOT_OPTIONS_RESPONSE BootOptionsResponse 
)

This function sets system boot option.

Parameters
[in]BootOptionsRequestSet system boot option request.
[out]BootOptionsResponseThe response of set system boot option request.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 97 of file IpmiCommandLibNetFnChassis.c.