TianoCore EDK2
master
Loading...
Searching...
No Matches
RedfishHostInterfaceIpmi.h
Go to the documentation of this file.
1
8
#ifndef REDFISH_HOST_INTERFACE_IPMI_H_
9
#define REDFISH_HOST_INTERFACE_IPMI_H_
10
11
#include <
Uefi.h
>
12
#include <
IndustryStandard/IpmiNetFnGroupExtension.h
>
13
14
#define REDFISH_IPMI_GROUP_EXTENSION 0x52
15
#define REDFISH_IPMI_GET_BOOTSTRAP_CREDENTIALS_CMD 0x02
16
#define REDFISH_IPMI_BOOTSTRAP_CREDENTIAL_ENABLE 0xA5
17
#define REDFISH_IPMI_BOOTSTRAP_CREDENTIAL_DISABLE 0x00
18
#define REDFISH_IPMI_COMP_CODE_BOOTSTRAP_CREDENTIAL_DISABLED 0x80
19
23
//
24
#define USERNAME_MAX_LENGTH 16
25
#define PASSWORD_MAX_LENGTH 16
26
#define USERNAME_MAX_SIZE (USERNAME_MAX_LENGTH + 1)
// NULL terminator
27
#define PASSWORD_MAX_SIZE (PASSWORD_MAX_LENGTH + 1)
// NULL terminator
28
29
#pragma pack(1)
30
34
typedef
struct
{
35
UINT8 GroupExtensionId;
36
UINT8 DisableBootstrapControl;
37
}
IPMI_BOOTSTRAP_CREDENTIALS_COMMAND_DATA
;
38
42
typedef
struct
{
43
UINT8 CompletionCode;
44
UINT8 GroupExtensionId;
45
CHAR8 Username[
USERNAME_MAX_LENGTH
];
46
CHAR8 Password[PASSWORD_MAX_LENGTH];
47
}
IPMI_BOOTSTRAP_CREDENTIALS_RESULT_RESPONSE
;
48
49
#pragma pack()
50
51
#endif
IpmiNetFnGroupExtension.h
USERNAME_MAX_LENGTH
#define USERNAME_MAX_LENGTH
Definition:
RedfishHostInterfaceIpmi.h:24
Uefi.h
IPMI_BOOTSTRAP_CREDENTIALS_COMMAND_DATA
Definition:
RedfishHostInterfaceIpmi.h:34
IPMI_BOOTSTRAP_CREDENTIALS_RESULT_RESPONSE
Definition:
RedfishHostInterfaceIpmi.h:42
RedfishPkg
Include
IndustryStandard
RedfishHostInterfaceIpmi.h
Generated on Fri Nov 15 2024 18:01:22 for TianoCore EDK2 by
1.9.6