TianoCore EDK2 master
Loading...
Searching...
No Matches
BaseIpmiLibNull.c File Reference
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/IpmiLib.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)
 

Detailed Description

A emptry template implementation of Ipmi Library.

Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file BaseIpmiLibNull.c.

Function Documentation

◆ IpmiSubmitCommand()

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.

Parameters
[in]NetFunctionNet function of the command.
[in]CommandIPMI Command.
[in]RequestDataCommand Request Data.
[in]RequestDataSizeSize of Command Request Data.
[out]ResponseDataCommand Response Data. The completion code is the first byte of response data.
[in,out]ResponseDataSizeSize of Command Response Data.
Return values
EFI_SUCCESSThe command byte stream was successfully submit to the device and a response was successfully received.
EFI_NOT_FOUNDThe command was not successfully sent to the device or a response was not successfully received from the device.
EFI_NOT_READYIpmi Device is not ready for Ipmi command access.
EFI_DEVICE_ERRORIpmi Device hardware error.
EFI_TIMEOUTThe command time out.
EFI_UNSUPPORTEDThe command was not successfully sent to the device.
EFI_OUT_OF_RESOURCESThe resource allcation is out of resource or data size error.

Definition at line 33 of file BaseIpmiLibNull.c.