VirtualBox

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

Last change on this file since 77662 was 77662, checked in by vboxsync, 6 years ago

EFI: First step in UDK2018 merge. Does not build yet.

  • Property svn:eol-style set to native
File size: 2.1 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 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15#include <Library/BaseLib.h>
16#include <Library/DebugLib.h>
17#include <Library/IpmiLib.h>
18
19
20/**
21 This service enables submitting commands via Ipmi.
22
23 @param[in] NetFunction Net function of the command.
24 @param[in] Command IPMI Command.
25 @param[in] RequestData Command Request Data.
26 @param[in] RequestDataSize Size of Command Request Data.
27 @param[out] ResponseData Command Response Data. The completion code is the first byte of response data.
28 @param[in, out] ResponseDataSize Size of Command Response Data.
29
30 @retval EFI_SUCCESS The command byte stream was successfully submit to the device and a response was successfully received.
31 @retval EFI_NOT_FOUND The command was not successfully sent to the device or a response was not successfully received from the device.
32 @retval EFI_NOT_READY Ipmi Device is not ready for Ipmi command access.
33 @retval EFI_DEVICE_ERROR Ipmi Device hardware error.
34 @retval EFI_TIMEOUT The command time out.
35 @retval EFI_UNSUPPORTED The command was not successfully sent to the device.
36 @retval EFI_OUT_OF_RESOURCES The resource allcation is out of resource or data size error.
37**/
38EFI_STATUS
39EFIAPI
40IpmiSubmitCommand (
41 IN UINT8 NetFunction,
42 IN UINT8 Command,
43 IN UINT8 *RequestData,
44 IN UINT32 RequestDataSize,
45 OUT UINT8 *ResponseData,
46 IN OUT UINT32 *ResponseDataSize
47 )
48{
49 //
50 // Do nothing, just return EFI_UNSUPPORTED.
51 //
52 return EFI_UNSUPPORTED;
53}
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