VirtualBox

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

最後變更 在這個檔案從99404是 99404,由 vboxsync 提交於 2 年 前

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.7 KB
 
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 This service enables submitting commands via Ipmi.
15
16 @param[in] NetFunction Net function of the command.
17 @param[in] Command IPMI Command.
18 @param[in] RequestData Command Request Data.
19 @param[in] RequestDataSize Size of Command Request Data.
20 @param[out] ResponseData Command Response Data. The completion code is the first byte of response data.
21 @param[in, out] ResponseDataSize Size of Command Response Data.
22
23 @retval EFI_SUCCESS The command byte stream was successfully submit to the device and a response was successfully received.
24 @retval EFI_NOT_FOUND The command was not successfully sent to the device or a response was not successfully received from the device.
25 @retval EFI_NOT_READY Ipmi Device is not ready for Ipmi command access.
26 @retval EFI_DEVICE_ERROR Ipmi Device hardware error.
27 @retval EFI_TIMEOUT The command time out.
28 @retval EFI_UNSUPPORTED The command was not successfully sent to the device.
29 @retval EFI_OUT_OF_RESOURCES The resource allcation is out of resource or data size error.
30**/
31EFI_STATUS
32EFIAPI
33IpmiSubmitCommand (
34 IN UINT8 NetFunction,
35 IN UINT8 Command,
36 IN UINT8 *RequestData,
37 IN UINT32 RequestDataSize,
38 OUT UINT8 *ResponseData,
39 IN OUT UINT32 *ResponseDataSize
40 )
41{
42 //
43 // Do nothing, just return EFI_UNSUPPORTED.
44 //
45 return EFI_UNSUPPORTED;
46}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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