]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/BaseIpmiCommandLibNull/IpmiCommandLibNetFnTransport.c
MdeModulePkg/IpmiCommandLib: Add NULL instance library
[mirror_edk2.git] / MdeModulePkg / Library / BaseIpmiCommandLibNull / IpmiCommandLibNetFnTransport.c
CommitLineData
ae55e9fc
AC
1/** @file\r
2 IPMI Command - NetFnTransport NULL instance library.\r
3\r
4 Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.<BR>\r
5 Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>\r
6\r
7 SPDX-License-Identifier: BSD-2-Clause-Patent\r
8**/\r
9#include <Uefi.h>\r
10#include <IndustryStandard/Ipmi.h>\r
11\r
12/**\r
13 This function activates SOL\r
14\r
15 @param[in] SolActivatingRequest SOL activating request.\r
16 @param[out] CompletionCode The command completion code.\r
17\r
18 @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r
19\r
20**/\r
21EFI_STATUS\r
22EFIAPI\r
23IpmiSolActivating (\r
24 IN IPMI_SOL_ACTIVATING_REQUEST *SolActivatingRequest,\r
25 OUT UINT8 *CompletionCode\r
26 )\r
27{\r
28 return RETURN_UNSUPPORTED;\r
29}\r
30\r
31/**\r
32 This function sets SOL configuration parameters.\r
33\r
34 @param[in] SetConfigurationParametersRequest Set SOL configuration parameters\r
35 command request.\r
36 @param[in] SetConfigurationParametersRequestSize Size of set SOL configuration\r
37 parameters command request.\r
38 @param[out] CompletionCode The command completion code.\r
39\r
40 @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r
41\r
42**/\r
43EFI_STATUS\r
44EFIAPI\r
45IpmiSetSolConfigurationParameters (\r
46 IN IPMI_SET_SOL_CONFIGURATION_PARAMETERS_REQUEST *SetConfigurationParametersRequest,\r
47 IN UINT32 SetConfigurationParametersRequestSize,\r
48 OUT UINT8 *CompletionCode\r
49 )\r
50{\r
51 return RETURN_UNSUPPORTED;\r
52}\r
53\r
54/**\r
55 This function gets SOL configuration parameters.\r
56\r
57 @param[in] GetConfigurationParametersRequest Get SOL configuration parameters\r
58 command request.\r
59 @param[out] GetConfigurationParametersResponse Get SOL configuration parameters\r
60 response.\r
61 @param[in,out] GetConfigurationParametersResponseSize When input, the size of expect response.\r
62 When output, the exact size of\r
63 expect response.\r
64\r
65 @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r
66\r
67**/\r
68EFI_STATUS\r
69EFIAPI\r
70IpmiGetSolConfigurationParameters (\r
71 IN IPMI_GET_SOL_CONFIGURATION_PARAMETERS_REQUEST *GetConfigurationParametersRequest,\r
72 OUT IPMI_GET_SOL_CONFIGURATION_PARAMETERS_RESPONSE *GetConfigurationParametersResponse,\r
73 IN OUT UINT32 *GetConfigurationParametersResponseSize\r
74 )\r
75{\r
76 return RETURN_UNSUPPORTED;\r
77}\r
78\r
79/**\r
80 This function gets the LAN configuration parameter.\r
81\r
82 @param[in] GetLanConfigurationParametersRequest Request data\r
83 @param[out] GetLanConfigurationParametersResponse Response data\r
84 @param[in,out] GetLanConfigurationParametersSize When input, the expected size of response data.\r
85 When out, the exact size of response data.\r
86\r
87 @retval EFI_SUCCESS Lan configuration parameter is returned in the response.\r
88 @retval Others Other errors.\r
89\r
90**/\r
91EFI_STATUS\r
92EFIAPI\r
93IpmiGetLanConfigurationParameters (\r
94 IN IPMI_GET_LAN_CONFIGURATION_PARAMETERS_REQUEST *GetLanConfigurationParametersRequest,\r
95 OUT IPMI_GET_LAN_CONFIGURATION_PARAMETERS_RESPONSE *GetLanConfigurationParametersResponse,\r
96 IN OUT UINT32 *GetLanConfigurationParametersSize\r
97 )\r
98{\r
99 return RETURN_UNSUPPORTED;\r
100}\r