2 IPMI Command - NetFnChassis NULL instance library.
4 Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.<BR>
5 Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #include <IndustryStandard/Ipmi.h>
13 This function gets chassis capability.
15 @param[out] GetChassisCapabilitiesResponse Gets chassis capability command response.
17 @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
22 IpmiGetChassisCapabilities (
23 OUT IPMI_GET_CHASSIS_CAPABILITIES_RESPONSE
*GetChassisCapabilitiesResponse
26 return RETURN_UNSUPPORTED
;
30 This function gets chassis status.
32 @param[out] GetChassisStatusResponse The get chassis status command response.
34 @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
39 IpmiGetChassisStatus (
40 OUT IPMI_GET_CHASSIS_STATUS_RESPONSE
*GetChassisStatusResponse
43 return RETURN_UNSUPPORTED
;
47 This function sends chassis control request.
49 @param[in] ChassisControlRequest The chassis control request.
50 @param[out] CompletionCode The command completion code.
52 @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
58 IN IPMI_CHASSIS_CONTROL_REQUEST
*ChassisControlRequest
,
59 OUT UINT8
*CompletionCode
62 return RETURN_UNSUPPORTED
;
66 This function sets power restore policy.
68 @param[in] ChassisControlRequest The set power restore policy control
70 @param[out] ChassisControlResponse The response of power restore policy.
72 @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
77 IpmiSetPowerRestorePolicy (
78 IN IPMI_SET_POWER_RESTORE_POLICY_REQUEST
*ChassisControlRequest
,
79 OUT IPMI_SET_POWER_RESTORE_POLICY_RESPONSE
*ChassisControlResponse
82 return RETURN_UNSUPPORTED
;
86 This function sets system boot option.
88 @param[in] BootOptionsRequest Set system boot option request.
89 @param[out] BootOptionsResponse The response of set system boot
92 @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
97 IpmiSetSystemBootOptions (
98 IN IPMI_SET_BOOT_OPTIONS_REQUEST
*BootOptionsRequest
,
99 OUT IPMI_SET_BOOT_OPTIONS_RESPONSE
*BootOptionsResponse
102 return RETURN_UNSUPPORTED
;
106 This function gets system boot option.
108 @param[in] BootOptionsRequest Get system boot option request.
109 @param[out] BootOptionsResponse The response of get system boot
112 @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
117 IpmiGetSystemBootOptions (
118 IN IPMI_GET_BOOT_OPTIONS_REQUEST
*BootOptionsRequest
,
119 OUT IPMI_GET_BOOT_OPTIONS_RESPONSE
*BootOptionsResponse
122 return RETURN_UNSUPPORTED
;