]>
Commit | Line | Data |
---|---|---|
ae55e9fc AC |
1 | /** @file\r |
2 | IPMI Command - NetFnApp 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 gets the IPMI Device ID.\r | |
14 | \r | |
15 | @param[out] DeviceId Get device ID response.\r | |
16 | \r | |
17 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
18 | \r | |
19 | **/\r | |
20 | EFI_STATUS\r | |
21 | EFIAPI\r | |
22 | IpmiGetDeviceId (\r | |
23 | OUT IPMI_GET_DEVICE_ID_RESPONSE *DeviceId\r | |
24 | )\r | |
25 | {\r | |
26 | return RETURN_UNSUPPORTED;\r | |
27 | }\r | |
28 | \r | |
29 | /**\r | |
30 | This function gets the self-test result.\r | |
31 | \r | |
32 | @param[out] SelfTestResult Self test command response.\r | |
33 | \r | |
34 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
35 | \r | |
36 | **/\r | |
37 | EFI_STATUS\r | |
38 | EFIAPI\r | |
39 | IpmiGetSelfTestResult (\r | |
40 | OUT IPMI_SELF_TEST_RESULT_RESPONSE *SelfTestResult\r | |
41 | )\r | |
42 | {\r | |
43 | return RETURN_UNSUPPORTED;\r | |
44 | }\r | |
45 | \r | |
46 | /**\r | |
47 | This function resets watchdog timer.\r | |
48 | \r | |
49 | @param[out] CompletionCode The command completion code.\r | |
50 | \r | |
51 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
52 | \r | |
53 | **/\r | |
54 | EFI_STATUS\r | |
55 | EFIAPI\r | |
56 | IpmiResetWatchdogTimer (\r | |
57 | OUT UINT8 *CompletionCode\r | |
58 | )\r | |
59 | {\r | |
60 | return RETURN_UNSUPPORTED;\r | |
61 | }\r | |
62 | \r | |
63 | /**\r | |
64 | This function sets watchdog timer.\r | |
65 | \r | |
66 | @param[in] SetWatchdogTimer Set watchdog timer request.\r | |
67 | @param[out] CompletionCode The command completion code.\r | |
68 | \r | |
69 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
70 | \r | |
71 | **/\r | |
72 | EFI_STATUS\r | |
73 | EFIAPI\r | |
74 | IpmiSetWatchdogTimer (\r | |
75 | IN IPMI_SET_WATCHDOG_TIMER_REQUEST *SetWatchdogTimer,\r | |
76 | OUT UINT8 *CompletionCode\r | |
77 | )\r | |
78 | {\r | |
79 | return RETURN_UNSUPPORTED;\r | |
80 | }\r | |
81 | \r | |
82 | /**\r | |
83 | This function gets watchdog timer.\r | |
84 | \r | |
85 | @param[out] GetWatchdogTimer Get watchdog timer response.\r | |
86 | \r | |
87 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
88 | \r | |
89 | **/\r | |
90 | EFI_STATUS\r | |
91 | EFIAPI\r | |
92 | IpmiGetWatchdogTimer (\r | |
93 | OUT IPMI_GET_WATCHDOG_TIMER_RESPONSE *GetWatchdogTimer\r | |
94 | )\r | |
95 | {\r | |
96 | return RETURN_UNSUPPORTED;\r | |
97 | }\r | |
98 | \r | |
99 | /**\r | |
100 | This function sets BMC global enables.\r | |
101 | \r | |
102 | @param[in] SetBmcGlobalEnables Set BMC global enables command request.\r | |
103 | @param[out] CompletionCode The command completion code.\r | |
104 | \r | |
105 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
106 | \r | |
107 | **/\r | |
108 | EFI_STATUS\r | |
109 | EFIAPI\r | |
110 | IpmiSetBmcGlobalEnables (\r | |
111 | IN IPMI_SET_BMC_GLOBAL_ENABLES_REQUEST *SetBmcGlobalEnables,\r | |
112 | OUT UINT8 *CompletionCode\r | |
113 | )\r | |
114 | {\r | |
115 | return RETURN_UNSUPPORTED;\r | |
116 | }\r | |
117 | \r | |
118 | /**\r | |
119 | This function gets BMC global enables.\r | |
120 | \r | |
121 | @param[out] GetBmcGlobalEnables Get BMC global enables command response.\r | |
122 | \r | |
123 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
124 | \r | |
125 | **/\r | |
126 | EFI_STATUS\r | |
127 | EFIAPI\r | |
128 | IpmiGetBmcGlobalEnables (\r | |
129 | OUT IPMI_GET_BMC_GLOBAL_ENABLES_RESPONSE *GetBmcGlobalEnables\r | |
130 | )\r | |
131 | {\r | |
132 | return RETURN_UNSUPPORTED;\r | |
133 | }\r | |
134 | \r | |
135 | /**\r | |
136 | This function clears message flag.\r | |
137 | \r | |
138 | @param[in] ClearMessageFlagsRequest Clear message flags command Request.\r | |
139 | @param[out] CompletionCode The command completion code.\r | |
140 | \r | |
141 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
142 | \r | |
143 | **/\r | |
144 | EFI_STATUS\r | |
145 | EFIAPI\r | |
146 | IpmiClearMessageFlags (\r | |
147 | IN IPMI_CLEAR_MESSAGE_FLAGS_REQUEST *ClearMessageFlagsRequest,\r | |
148 | OUT UINT8 *CompletionCode\r | |
149 | )\r | |
150 | {\r | |
151 | return RETURN_UNSUPPORTED;\r | |
152 | }\r | |
153 | \r | |
154 | /**\r | |
155 | This function gets message flags.\r | |
156 | \r | |
157 | @param[out] GetMessageFlagsResponse Get message flags response.\r | |
158 | \r | |
159 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
160 | \r | |
161 | **/\r | |
162 | EFI_STATUS\r | |
163 | EFIAPI\r | |
164 | IpmiGetMessageFlags (\r | |
165 | OUT IPMI_GET_MESSAGE_FLAGS_RESPONSE *GetMessageFlagsResponse\r | |
166 | )\r | |
167 | {\r | |
168 | return RETURN_UNSUPPORTED;\r | |
169 | }\r | |
170 | \r | |
171 | /**\r | |
172 | This function gets message.\r | |
173 | \r | |
174 | @param[out] GetMessageResponse Get message command response.\r | |
175 | @param[in,out] GetMessageResponseSize The size of get message response.\r | |
176 | \r | |
177 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
178 | \r | |
179 | **/\r | |
180 | EFI_STATUS\r | |
181 | EFIAPI\r | |
182 | IpmiGetMessage (\r | |
183 | OUT IPMI_GET_MESSAGE_RESPONSE *GetMessageResponse,\r | |
184 | IN OUT UINT32 *GetMessageResponseSize\r | |
185 | )\r | |
186 | {\r | |
187 | return RETURN_UNSUPPORTED;\r | |
188 | }\r | |
189 | \r | |
190 | /**\r | |
191 | This function sends message.\r | |
192 | \r | |
193 | @param[in] SendMessageRequest The send message command request.\r | |
194 | @param[in] SendMessageRequestSize The size of the send message command request.\r | |
195 | @param[out] SendMessageResponse The send message command response.\r | |
196 | @param[in,out] SendMessageResponseSize The size of the send message command response.\r | |
197 | When input, the expected size of response.\r | |
198 | When output, the actual size of response.\r | |
199 | \r | |
200 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
201 | \r | |
202 | **/\r | |
203 | EFI_STATUS\r | |
204 | EFIAPI\r | |
205 | IpmiSendMessage (\r | |
206 | IN IPMI_SEND_MESSAGE_REQUEST *SendMessageRequest,\r | |
207 | IN UINT32 SendMessageRequestSize,\r | |
208 | OUT IPMI_SEND_MESSAGE_RESPONSE *SendMessageResponse,\r | |
209 | IN OUT UINT32 *SendMessageResponseSize\r | |
210 | )\r | |
211 | {\r | |
212 | return RETURN_UNSUPPORTED;\r | |
213 | }\r | |
214 | \r | |
215 | /**\r | |
216 | This function gets the system UUID.\r | |
217 | \r | |
218 | @param[out] SystemGuid The pointer to retrieve system UUID.\r | |
219 | \r | |
220 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
221 | **/\r | |
222 | EFI_STATUS\r | |
223 | EFIAPI\r | |
224 | IpmiGetSystemUuid (\r | |
225 | OUT EFI_GUID *SystemGuid\r | |
226 | )\r | |
227 | {\r | |
228 | return RETURN_UNSUPPORTED;\r | |
229 | }\r | |
230 | \r | |
231 | /**\r | |
232 | This function gets the channel information.\r | |
233 | \r | |
234 | @param[in] GetChannelInfoRequest The get channel information request.\r | |
235 | @param[out] GetChannelInfoResponse The get channel information response.\r | |
236 | @param[out] GetChannelInfoResponseSize When input, the expected size of response.\r | |
237 | When output, the exact size of the returned\r | |
238 | response.\r | |
239 | \r | |
240 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.\r | |
241 | \r | |
242 | **/\r | |
243 | EFI_STATUS\r | |
244 | EFIAPI\r | |
245 | IpmiGetChannelInfo (\r | |
246 | IN IPMI_GET_CHANNEL_INFO_REQUEST *GetChannelInfoRequest,\r | |
247 | OUT IPMI_GET_CHANNEL_INFO_RESPONSE *GetChannelInfoResponse,\r | |
248 | OUT UINT32 *GetChannelInfoResponseSize\r | |
249 | )\r | |
250 | {\r | |
251 | return RETURN_UNSUPPORTED;\r | |
252 | }\r |