2 A emptry template implementation of Ipmi Library.
4 Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #include <Library/BaseLib.h>
10 #include <Library/DebugLib.h>
11 #include <Library/IpmiLib.h>
15 This service enables submitting commands via Ipmi.
17 @param[in] NetFunction Net function of the command.
18 @param[in] Command IPMI Command.
19 @param[in] RequestData Command Request Data.
20 @param[in] RequestDataSize Size of Command Request Data.
21 @param[out] ResponseData Command Response Data. The completion code is the first byte of response data.
22 @param[in, out] ResponseDataSize Size of Command Response Data.
24 @retval EFI_SUCCESS The command byte stream was successfully submit to the device and a response was successfully received.
25 @retval EFI_NOT_FOUND The command was not successfully sent to the device or a response was not successfully received from the device.
26 @retval EFI_NOT_READY Ipmi Device is not ready for Ipmi command access.
27 @retval EFI_DEVICE_ERROR Ipmi Device hardware error.
28 @retval EFI_TIMEOUT The command time out.
29 @retval EFI_UNSUPPORTED The command was not successfully sent to the device.
30 @retval EFI_OUT_OF_RESOURCES The resource allcation is out of resource or data size error.
37 IN UINT8
*RequestData
,
38 IN UINT32 RequestDataSize
,
39 OUT UINT8
*ResponseData
,
40 IN OUT UINT32
*ResponseDataSize
44 // Do nothing, just return EFI_UNSUPPORTED.
46 return EFI_UNSUPPORTED
;