TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Protocol/IpmiProtocol.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/DebugLib.h>
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | IpmiSubmitCommand (IN UINT8 NetFunction, IN UINT8 Command, IN UINT8 *RequestData, IN UINT32 RequestDataSize, OUT UINT8 *ResponseData, IN OUT UINT32 *ResponseDataSize) |
Variables | |
IPMI_PROTOCOL * | mIpmiProtocol = NULL |
Implementation of Ipmi Library in DXE Phase for SMS.
Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DxeIpmiLibIpmiProtocol.c.
EFI_STATUS EFIAPI IpmiSubmitCommand | ( | IN UINT8 | NetFunction, |
IN UINT8 | Command, | ||
IN UINT8 * | RequestData, | ||
IN UINT32 | RequestDataSize, | ||
OUT UINT8 * | ResponseData, | ||
IN OUT UINT32 * | ResponseDataSize | ||
) |
This service enables submitting commands via Ipmi.
[in] | NetFunction | Net function of the command. |
[in] | Command | IPMI Command. |
[in] | RequestData | Command Request Data. |
[in] | RequestDataSize | Size of Command Request Data. |
[out] | ResponseData | Command Response Data. The completion code is the first byte of response data. |
[in,out] | ResponseDataSize | Size of Command Response Data. |
EFI_SUCCESS | The command byte stream was successfully submit to the device and a response was successfully received. |
EFI_NOT_FOUND | The command was not successfully sent to the device or a response was not successfully received from the device. |
EFI_NOT_READY | Ipmi Device is not ready for Ipmi command access. |
EFI_DEVICE_ERROR | Ipmi Device hardware error. |
EFI_TIMEOUT | The command time out. |
EFI_UNSUPPORTED | The command was not successfully sent to the device. |
EFI_OUT_OF_RESOURCES | The resource allcation is out of resource or data size error. |
Definition at line 36 of file DxeIpmiLibIpmiProtocol.c.
IPMI_PROTOCOL* mIpmiProtocol = NULL |
Definition at line 14 of file DxeIpmiLibIpmiProtocol.c.