MdeModulePkg[all]
0.98
|
Functions | |
EFI_STATUS EFIAPI | IpmiSubmitCommand (IN UINT8 NetFunction, IN UINT8 Command, IN UINT8 *RequestData, IN UINT32 RequestDataSize, OUT UINT8 *ResponseData, IN OUT UINT32 *ResponseDataSize) |
This library abstract how to access IPMI device via IPMI command.
Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
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. |