TianoCore EDK2 master
Loading...
Searching...
No Matches
IpmiCommandLib.h
Go to the documentation of this file.
1
11#ifndef IPMI_COMMAND_LIB_H_
12#define IPMI_COMMAND_LIB_H_
13
14#include <Uefi.h>
16
17//
18// IPMI NetFnApp
19//
20
32EFIAPI
35 );
36
48EFIAPI
51 );
52
64EFIAPI
66 OUT UINT8 *CompletionCode
67 );
68
82EFIAPI
84 IN IPMI_SET_WATCHDOG_TIMER_REQUEST *SetWatchdogTimer,
85 OUT UINT8 *CompletionCode
86 );
87
99EFIAPI
101 OUT IPMI_GET_WATCHDOG_TIMER_RESPONSE *GetWatchdogTimer
102 );
103
116EFIAPI
118 IN IPMI_SET_BMC_GLOBAL_ENABLES_REQUEST *SetBmcGlobalEnables,
119 OUT UINT8 *CompletionCode
120 );
121
133EFIAPI
135 OUT IPMI_GET_BMC_GLOBAL_ENABLES_RESPONSE *GetBmcGlobalEnables
136 );
137
150EFIAPI
152 IN IPMI_CLEAR_MESSAGE_FLAGS_REQUEST *ClearMessageFlagsRequest,
153 OUT UINT8 *CompletionCode
154 );
155
167EFIAPI
169 OUT IPMI_GET_MESSAGE_FLAGS_RESPONSE *GetMessageFlagsResponse
170 );
171
184EFIAPI
186 OUT IPMI_GET_MESSAGE_RESPONSE *GetMessageResponse,
187 IN OUT UINT32 *GetMessageResponseSize
188 );
189
206EFIAPI
208 IN IPMI_SEND_MESSAGE_REQUEST *SendMessageRequest,
209 IN UINT32 SendMessageRequestSize,
210 OUT IPMI_SEND_MESSAGE_RESPONSE *SendMessageResponse,
211 IN OUT UINT32 *SendMessageResponseSize
212 );
213
225EFIAPI
227 OUT EFI_GUID *SystemGuid
228 );
229
245EFIAPI
247 IN IPMI_GET_CHANNEL_INFO_REQUEST *GetChannelInfoRequest,
248 OUT IPMI_GET_CHANNEL_INFO_RESPONSE *GetChannelInfoResponse,
249 OUT UINT32 *GetChannelInfoResponseSize
250 );
251
263EFIAPI
265 IN IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_REQUEST *InterfaceCapabilityRequest,
266 OUT IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_RESPONSE *InterfaceCapabilityResponse
267 );
268
269//
270// IPMI NetFnTransport
271//
272
285EFIAPI
287 IN IPMI_SOL_ACTIVATING_REQUEST *SolActivatingRequest,
288 OUT UINT8 *CompletionCode
289 );
290
306EFIAPI
308 IN IPMI_SET_SOL_CONFIGURATION_PARAMETERS_REQUEST *SetConfigurationParametersRequest,
309 IN UINT32 SetConfigurationParametersRequestSize,
310 OUT UINT8 *CompletionCode
311 );
312
331EFIAPI
333 IN IPMI_GET_SOL_CONFIGURATION_PARAMETERS_REQUEST *GetConfigurationParametersRequest,
334 OUT IPMI_GET_SOL_CONFIGURATION_PARAMETERS_RESPONSE *GetConfigurationParametersResponse,
335 IN OUT UINT32 *GetConfigurationParametersResponseSize
336 );
337
353EFIAPI
355 IN IPMI_GET_LAN_CONFIGURATION_PARAMETERS_REQUEST *GetLanConfigurationParametersRequest,
356 OUT IPMI_GET_LAN_CONFIGURATION_PARAMETERS_RESPONSE *GetLanConfigurationParametersResponse,
357 IN OUT UINT32 *GetLanConfigurationParametersSize
358 );
359
360//
361// IPMI NetFnChassis
362//
363
375EFIAPI
377 OUT IPMI_GET_CHASSIS_CAPABILITIES_RESPONSE *GetChassisCapabilitiesResponse
378 );
379
391EFIAPI
393 OUT IPMI_GET_CHASSIS_STATUS_RESPONSE *GetChassisStatusResponse
394 );
395
408EFIAPI
410 IN IPMI_CHASSIS_CONTROL_REQUEST *ChassisControlRequest,
411 OUT UINT8 *CompletionCode
412 );
413
427EFIAPI
429 IN IPMI_SET_POWER_RESTORE_POLICY_REQUEST *SetPowerRestireRequest,
430 OUT IPMI_SET_POWER_RESTORE_POLICY_RESPONSE *SetPowerRestireResponse
431 );
432
433//
434// IPMI NetFnStorage
435//
436
450EFIAPI
452 IN IPMI_SET_BOOT_OPTIONS_REQUEST *BootOptionsRequest,
453 OUT IPMI_SET_BOOT_OPTIONS_RESPONSE *BootOptionsResponse
454 );
455
469EFIAPI
471 IN IPMI_GET_BOOT_OPTIONS_REQUEST *BootOptionsRequest,
472 OUT IPMI_GET_BOOT_OPTIONS_RESPONSE *BootOptionsResponse
473 );
474
487EFIAPI
489 IN IPMI_GET_FRU_INVENTORY_AREA_INFO_REQUEST *GetFruInventoryAreaInfoRequest,
490 OUT IPMI_GET_FRU_INVENTORY_AREA_INFO_RESPONSE *GetFruInventoryAreaInfoResponse
491 );
492
508EFIAPI
510 IN IPMI_READ_FRU_DATA_REQUEST *ReadFruDataRequest,
511 OUT IPMI_READ_FRU_DATA_RESPONSE *ReadFruDataResponse,
512 IN OUT UINT32 *ReadFruDataResponseSize
513 );
514
528EFIAPI
530 IN IPMI_WRITE_FRU_DATA_REQUEST *WriteFruDataRequest,
531 IN UINT32 WriteFruDataRequestSize,
532 OUT IPMI_WRITE_FRU_DATA_RESPONSE *WriteFruDataResponse
533 );
534
546EFIAPI
548 OUT IPMI_GET_SEL_INFO_RESPONSE *GetSelInfoResponse
549 );
550
566EFIAPI
568 IN IPMI_GET_SEL_ENTRY_REQUEST *GetSelEntryRequest,
569 OUT IPMI_GET_SEL_ENTRY_RESPONSE *GetSelEntryResponse,
570 IN OUT UINT32 *GetSelEntryResponseSize
571 );
572
585EFIAPI
587 IN IPMI_ADD_SEL_ENTRY_REQUEST *AddSelEntryRequest,
588 OUT IPMI_ADD_SEL_ENTRY_RESPONSE *AddSelEntryResponse
589 );
590
604EFIAPI
606 IN IPMI_PARTIAL_ADD_SEL_ENTRY_REQUEST *PartialAddSelEntryRequest,
607 IN UINT32 PartialAddSelEntryRequestSize,
608 OUT IPMI_PARTIAL_ADD_SEL_ENTRY_RESPONSE *PartialAddSelEntryResponse
609 );
610
623EFIAPI
625 IN IPMI_CLEAR_SEL_REQUEST *ClearSelRequest,
626 OUT IPMI_CLEAR_SEL_RESPONSE *ClearSelResponse
627 );
628
640EFIAPI
642 OUT IPMI_GET_SEL_TIME_RESPONSE *GetSelTimeResponse
643 );
644
657EFIAPI
659 IN IPMI_SET_SEL_TIME_REQUEST *SetSelTimeRequest,
660 OUT UINT8 *CompletionCode
661 );
662
673EFIAPI
675 OUT IPMI_GET_SDR_REPOSITORY_INFO_RESPONSE *GetSdrRepositoryInfoResp
676 );
677
693EFIAPI
695 IN IPMI_GET_SDR_REQUEST *GetSdrRequest,
696 OUT IPMI_GET_SDR_RESPONSE *GetSdrResponse,
697 IN OUT UINT32 *GetSdrResponseSize
698 );
699
700#endif
EFI_STATUS EFIAPI IpmiSetPowerRestorePolicy(IN IPMI_SET_POWER_RESTORE_POLICY_REQUEST *SetPowerRestireRequest, OUT IPMI_SET_POWER_RESTORE_POLICY_RESPONSE *SetPowerRestireResponse)
EFI_STATUS EFIAPI IpmiClearSel(IN IPMI_CLEAR_SEL_REQUEST *ClearSelRequest, OUT IPMI_CLEAR_SEL_RESPONSE *ClearSelResponse)
EFI_STATUS EFIAPI IpmiGetSystemBootOptions(IN IPMI_GET_BOOT_OPTIONS_REQUEST *BootOptionsRequest, OUT IPMI_GET_BOOT_OPTIONS_RESPONSE *BootOptionsResponse)
EFI_STATUS EFIAPI IpmiGetLanConfigurationParameters(IN IPMI_GET_LAN_CONFIGURATION_PARAMETERS_REQUEST *GetLanConfigurationParametersRequest, OUT IPMI_GET_LAN_CONFIGURATION_PARAMETERS_RESPONSE *GetLanConfigurationParametersResponse, IN OUT UINT32 *GetLanConfigurationParametersSize)
EFI_STATUS EFIAPI IpmiGetSelfTestResult(OUT IPMI_SELF_TEST_RESULT_RESPONSE *SelfTestResult)
EFI_STATUS EFIAPI IpmiPartialAddSelEntry(IN IPMI_PARTIAL_ADD_SEL_ENTRY_REQUEST *PartialAddSelEntryRequest, IN UINT32 PartialAddSelEntryRequestSize, OUT IPMI_PARTIAL_ADD_SEL_ENTRY_RESPONSE *PartialAddSelEntryResponse)
EFI_STATUS EFIAPI IpmiGetSelInfo(OUT IPMI_GET_SEL_INFO_RESPONSE *GetSelInfoResponse)
EFI_STATUS EFIAPI IpmiSetBmcGlobalEnables(IN IPMI_SET_BMC_GLOBAL_ENABLES_REQUEST *SetBmcGlobalEnables, OUT UINT8 *CompletionCode)
EFI_STATUS EFIAPI IpmiClearMessageFlags(IN IPMI_CLEAR_MESSAGE_FLAGS_REQUEST *ClearMessageFlagsRequest, OUT UINT8 *CompletionCode)
EFI_STATUS EFIAPI IpmiResetWatchdogTimer(OUT UINT8 *CompletionCode)
EFI_STATUS EFIAPI IpmiGetSdr(IN IPMI_GET_SDR_REQUEST *GetSdrRequest, OUT IPMI_GET_SDR_RESPONSE *GetSdrResponse, IN OUT UINT32 *GetSdrResponseSize)
EFI_STATUS EFIAPI IpmiSetSelTime(IN IPMI_SET_SEL_TIME_REQUEST *SetSelTimeRequest, OUT UINT8 *CompletionCode)
EFI_STATUS EFIAPI IpmiGetSystemUuid(OUT EFI_GUID *SystemGuid)
EFI_STATUS EFIAPI IpmiGetDeviceId(OUT IPMI_GET_DEVICE_ID_RESPONSE *DeviceId)
EFI_STATUS EFIAPI IpmiGetSystemInterfaceCapability(IN IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_REQUEST *InterfaceCapabilityRequest, OUT IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_RESPONSE *InterfaceCapabilityResponse)
EFI_STATUS EFIAPI IpmiGetChassisCapabilities(OUT IPMI_GET_CHASSIS_CAPABILITIES_RESPONSE *GetChassisCapabilitiesResponse)
EFI_STATUS EFIAPI IpmiGetSelTime(OUT IPMI_GET_SEL_TIME_RESPONSE *GetSelTimeResponse)
EFI_STATUS EFIAPI IpmiGetSolConfigurationParameters(IN IPMI_GET_SOL_CONFIGURATION_PARAMETERS_REQUEST *GetConfigurationParametersRequest, OUT IPMI_GET_SOL_CONFIGURATION_PARAMETERS_RESPONSE *GetConfigurationParametersResponse, IN OUT UINT32 *GetConfigurationParametersResponseSize)
EFI_STATUS EFIAPI IpmiReadFruData(IN IPMI_READ_FRU_DATA_REQUEST *ReadFruDataRequest, OUT IPMI_READ_FRU_DATA_RESPONSE *ReadFruDataResponse, IN OUT UINT32 *ReadFruDataResponseSize)
EFI_STATUS EFIAPI IpmiGetFruInventoryAreaInfo(IN IPMI_GET_FRU_INVENTORY_AREA_INFO_REQUEST *GetFruInventoryAreaInfoRequest, OUT IPMI_GET_FRU_INVENTORY_AREA_INFO_RESPONSE *GetFruInventoryAreaInfoResponse)
EFI_STATUS EFIAPI IpmiGetSdrRepositoryInfo(OUT IPMI_GET_SDR_REPOSITORY_INFO_RESPONSE *GetSdrRepositoryInfoResp)
EFI_STATUS EFIAPI IpmiSetSolConfigurationParameters(IN IPMI_SET_SOL_CONFIGURATION_PARAMETERS_REQUEST *SetConfigurationParametersRequest, IN UINT32 SetConfigurationParametersRequestSize, OUT UINT8 *CompletionCode)
EFI_STATUS EFIAPI IpmiGetWatchdogTimer(OUT IPMI_GET_WATCHDOG_TIMER_RESPONSE *GetWatchdogTimer)
EFI_STATUS EFIAPI IpmiGetSelEntry(IN IPMI_GET_SEL_ENTRY_REQUEST *GetSelEntryRequest, OUT IPMI_GET_SEL_ENTRY_RESPONSE *GetSelEntryResponse, IN OUT UINT32 *GetSelEntryResponseSize)
EFI_STATUS EFIAPI IpmiChassisControl(IN IPMI_CHASSIS_CONTROL_REQUEST *ChassisControlRequest, OUT UINT8 *CompletionCode)
EFI_STATUS EFIAPI IpmiGetMessage(OUT IPMI_GET_MESSAGE_RESPONSE *GetMessageResponse, IN OUT UINT32 *GetMessageResponseSize)
EFI_STATUS EFIAPI IpmiSolActivating(IN IPMI_SOL_ACTIVATING_REQUEST *SolActivatingRequest, OUT UINT8 *CompletionCode)
EFI_STATUS EFIAPI IpmiSetWatchdogTimer(IN IPMI_SET_WATCHDOG_TIMER_REQUEST *SetWatchdogTimer, OUT UINT8 *CompletionCode)
EFI_STATUS EFIAPI IpmiGetBmcGlobalEnables(OUT IPMI_GET_BMC_GLOBAL_ENABLES_RESPONSE *GetBmcGlobalEnables)
EFI_STATUS EFIAPI IpmiSendMessage(IN IPMI_SEND_MESSAGE_REQUEST *SendMessageRequest, IN UINT32 SendMessageRequestSize, OUT IPMI_SEND_MESSAGE_RESPONSE *SendMessageResponse, IN OUT UINT32 *SendMessageResponseSize)
EFI_STATUS EFIAPI IpmiSetSystemBootOptions(IN IPMI_SET_BOOT_OPTIONS_REQUEST *BootOptionsRequest, OUT IPMI_SET_BOOT_OPTIONS_RESPONSE *BootOptionsResponse)
EFI_STATUS EFIAPI IpmiGetChannelInfo(IN IPMI_GET_CHANNEL_INFO_REQUEST *GetChannelInfoRequest, OUT IPMI_GET_CHANNEL_INFO_RESPONSE *GetChannelInfoResponse, OUT UINT32 *GetChannelInfoResponseSize)
EFI_STATUS EFIAPI IpmiWriteFruData(IN IPMI_WRITE_FRU_DATA_REQUEST *WriteFruDataRequest, IN UINT32 WriteFruDataRequestSize, OUT IPMI_WRITE_FRU_DATA_RESPONSE *WriteFruDataResponse)
EFI_STATUS EFIAPI IpmiGetChassisStatus(OUT IPMI_GET_CHASSIS_STATUS_RESPONSE *GetChassisStatusResponse)
EFI_STATUS EFIAPI IpmiGetMessageFlags(OUT IPMI_GET_MESSAGE_FLAGS_RESPONSE *GetMessageFlagsResponse)
EFI_STATUS EFIAPI IpmiAddSelEntry(IN IPMI_ADD_SEL_ENTRY_REQUEST *AddSelEntryRequest, OUT IPMI_ADD_SEL_ENTRY_RESPONSE *AddSelEntryResponse)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213