1 | /** @file
|
---|
2 | IPMI Command - NetFnChassis 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 gets chassis capability.
|
---|
14 |
|
---|
15 | @param[out] GetChassisCapabilitiesResponse Gets chassis capability command response.
|
---|
16 |
|
---|
17 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
|
---|
18 |
|
---|
19 | **/
|
---|
20 | EFI_STATUS
|
---|
21 | EFIAPI
|
---|
22 | IpmiGetChassisCapabilities (
|
---|
23 | OUT IPMI_GET_CHASSIS_CAPABILITIES_RESPONSE *GetChassisCapabilitiesResponse
|
---|
24 | )
|
---|
25 | {
|
---|
26 | return RETURN_UNSUPPORTED;
|
---|
27 | }
|
---|
28 |
|
---|
29 | /**
|
---|
30 | This function gets chassis status.
|
---|
31 |
|
---|
32 | @param[out] GetChassisStatusResponse The get chassis status command response.
|
---|
33 |
|
---|
34 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
|
---|
35 |
|
---|
36 | **/
|
---|
37 | EFI_STATUS
|
---|
38 | EFIAPI
|
---|
39 | IpmiGetChassisStatus (
|
---|
40 | OUT IPMI_GET_CHASSIS_STATUS_RESPONSE *GetChassisStatusResponse
|
---|
41 | )
|
---|
42 | {
|
---|
43 | return RETURN_UNSUPPORTED;
|
---|
44 | }
|
---|
45 |
|
---|
46 | /**
|
---|
47 | This function sends chassis control request.
|
---|
48 |
|
---|
49 | @param[in] ChassisControlRequest The chassis control request.
|
---|
50 | @param[out] CompletionCode The command completion code.
|
---|
51 |
|
---|
52 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
|
---|
53 |
|
---|
54 | **/
|
---|
55 | EFI_STATUS
|
---|
56 | EFIAPI
|
---|
57 | IpmiChassisControl (
|
---|
58 | IN IPMI_CHASSIS_CONTROL_REQUEST *ChassisControlRequest,
|
---|
59 | OUT UINT8 *CompletionCode
|
---|
60 | )
|
---|
61 | {
|
---|
62 | return RETURN_UNSUPPORTED;
|
---|
63 | }
|
---|
64 |
|
---|
65 | /**
|
---|
66 | This function sets power restore policy.
|
---|
67 |
|
---|
68 | @param[in] ChassisControlRequest The set power restore policy control
|
---|
69 | command request.
|
---|
70 | @param[out] ChassisControlResponse The response of power restore policy.
|
---|
71 |
|
---|
72 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
|
---|
73 |
|
---|
74 | **/
|
---|
75 | EFI_STATUS
|
---|
76 | EFIAPI
|
---|
77 | IpmiSetPowerRestorePolicy (
|
---|
78 | IN IPMI_SET_POWER_RESTORE_POLICY_REQUEST *ChassisControlRequest,
|
---|
79 | OUT IPMI_SET_POWER_RESTORE_POLICY_RESPONSE *ChassisControlResponse
|
---|
80 | )
|
---|
81 | {
|
---|
82 | return RETURN_UNSUPPORTED;
|
---|
83 | }
|
---|
84 |
|
---|
85 | /**
|
---|
86 | This function sets system boot option.
|
---|
87 |
|
---|
88 | @param[in] BootOptionsRequest Set system boot option request.
|
---|
89 | @param[out] BootOptionsResponse The response of set system boot
|
---|
90 | option request.
|
---|
91 |
|
---|
92 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
|
---|
93 |
|
---|
94 | **/
|
---|
95 | EFI_STATUS
|
---|
96 | EFIAPI
|
---|
97 | IpmiSetSystemBootOptions (
|
---|
98 | IN IPMI_SET_BOOT_OPTIONS_REQUEST *BootOptionsRequest,
|
---|
99 | OUT IPMI_SET_BOOT_OPTIONS_RESPONSE *BootOptionsResponse
|
---|
100 | )
|
---|
101 | {
|
---|
102 | return RETURN_UNSUPPORTED;
|
---|
103 | }
|
---|
104 |
|
---|
105 | /**
|
---|
106 | This function gets system boot option.
|
---|
107 |
|
---|
108 | @param[in] BootOptionsRequest Get system boot option request.
|
---|
109 | @param[out] BootOptionsResponse The response of get system boot
|
---|
110 | option request.
|
---|
111 |
|
---|
112 | @retval EFI_UNSUPPORTED Unsupported in the NULL lib.
|
---|
113 |
|
---|
114 | **/
|
---|
115 | EFI_STATUS
|
---|
116 | EFIAPI
|
---|
117 | IpmiGetSystemBootOptions (
|
---|
118 | IN IPMI_GET_BOOT_OPTIONS_REQUEST *BootOptionsRequest,
|
---|
119 | OUT IPMI_GET_BOOT_OPTIONS_RESPONSE *BootOptionsResponse
|
---|
120 | )
|
---|
121 | {
|
---|
122 | return RETURN_UNSUPPORTED;
|
---|
123 | }
|
---|