]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/BaseIpmiLibNull/BaseIpmiLibNull.c
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Library / BaseIpmiLibNull / BaseIpmiLibNull.c
CommitLineData
92cd1682
DB
1/** @file\r
2 A emptry template implementation of Ipmi Library.\r
3\r
4 Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r
9d510e61 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
92cd1682
DB
6\r
7**/\r
8\r
9#include <Library/BaseLib.h>\r
10#include <Library/DebugLib.h>\r
11#include <Library/IpmiLib.h>\r
12\r
92cd1682
DB
13/**\r
14 This service enables submitting commands via Ipmi.\r
15\r
16 @param[in] NetFunction Net function of the command.\r
17 @param[in] Command IPMI Command.\r
18 @param[in] RequestData Command Request Data.\r
19 @param[in] RequestDataSize Size of Command Request Data.\r
20 @param[out] ResponseData Command Response Data. The completion code is the first byte of response data.\r
21 @param[in, out] ResponseDataSize Size of Command Response Data.\r
22\r
23 @retval EFI_SUCCESS The command byte stream was successfully submit to the device and a response was successfully received.\r
24 @retval EFI_NOT_FOUND The command was not successfully sent to the device or a response was not successfully received from the device.\r
25 @retval EFI_NOT_READY Ipmi Device is not ready for Ipmi command access.\r
26 @retval EFI_DEVICE_ERROR Ipmi Device hardware error.\r
27 @retval EFI_TIMEOUT The command time out.\r
28 @retval EFI_UNSUPPORTED The command was not successfully sent to the device.\r
29 @retval EFI_OUT_OF_RESOURCES The resource allcation is out of resource or data size error.\r
30**/\r
31EFI_STATUS\r
32EFIAPI\r
33IpmiSubmitCommand (\r
1436aea4
MK
34 IN UINT8 NetFunction,\r
35 IN UINT8 Command,\r
36 IN UINT8 *RequestData,\r
37 IN UINT32 RequestDataSize,\r
38 OUT UINT8 *ResponseData,\r
39 IN OUT UINT32 *ResponseDataSize\r
92cd1682
DB
40 )\r
41{\r
42 //\r
43 // Do nothing, just return EFI_UNSUPPORTED.\r
44 //\r
45 return EFI_UNSUPPORTED;\r
46}\r