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