VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/BaseIpmiLibNull/BaseIpmiLibNull.c@ 80922

Last change on this file since 80922 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1/** @file
2 A emptry template implementation of Ipmi Library.
3
4 Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#include <Library/BaseLib.h>
10#include <Library/DebugLib.h>
11#include <Library/IpmiLib.h>
12
13
14/**
15 This service enables submitting commands via Ipmi.
16
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.
23
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.
31**/
32EFI_STATUS
33EFIAPI
34IpmiSubmitCommand (
35 IN UINT8 NetFunction,
36 IN UINT8 Command,
37 IN UINT8 *RequestData,
38 IN UINT32 RequestDataSize,
39 OUT UINT8 *ResponseData,
40 IN OUT UINT32 *ResponseDataSize
41 )
42{
43 //
44 // Do nothing, just return EFI_UNSUPPORTED.
45 //
46 return EFI_UNSUPPORTED;
47}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette