VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/BaseIpmiCommandLibNull/IpmiCommandLibNetFnChassis.c@ 107932

Last change on this file since 107932 was 99404, checked in by vboxsync, 2 years ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 2.9 KB
Line 
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**/
20EFI_STATUS
21EFIAPI
22IpmiGetChassisCapabilities (
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**/
37EFI_STATUS
38EFIAPI
39IpmiGetChassisStatus (
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**/
55EFI_STATUS
56EFIAPI
57IpmiChassisControl (
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**/
75EFI_STATUS
76EFIAPI
77IpmiSetPowerRestorePolicy (
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**/
95EFI_STATUS
96EFIAPI
97IpmiSetSystemBootOptions (
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**/
115EFI_STATUS
116EFIAPI
117IpmiGetSystemBootOptions (
118 IN IPMI_GET_BOOT_OPTIONS_REQUEST *BootOptionsRequest,
119 OUT IPMI_GET_BOOT_OPTIONS_RESPONSE *BootOptionsResponse
120 )
121{
122 return RETURN_UNSUPPORTED;
123}
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette