TianoCore EDK2 master
Loading...
Searching...
No Matches
IpmiProtocol.h
Go to the documentation of this file.
1
9#ifndef _IPMI_PROTOCOL_H_
10#define _IPMI_PROTOCOL_H_
11
12typedef struct _IPMI_PROTOCOL IPMI_PROTOCOL;
13
14#define IPMI_PROTOCOL_GUID \
15 { \
16 0xdbc6381f, 0x5554, 0x4d14, 0x8f, 0xfd, 0x76, 0xd7, 0x87, 0xb8, 0xac, 0xbf \
17 }
18
19#define SMM_IPMI_PROTOCOL_GUID \
20 { \
21 0x5169af60, 0x8c5a, 0x4243, 0xb3, 0xe9, 0x56, 0xc5, 0x6d, 0x18, 0xee, 0x26 \
22 }
23
43typedef
45(EFIAPI *IPMI_SUBMIT_COMMAND)(
46 IN IPMI_PROTOCOL *This,
47 IN UINT8 NetFunction,
48 IN UINT8 Command,
49 IN UINT8 *RequestData,
50 IN UINT32 RequestDataSize,
51 OUT UINT8 *ResponseData,
52 IN OUT UINT32 *ResponseDataSize
53 );
54
55//
56// IPMI COMMAND PROTOCOL
57//
59 IPMI_SUBMIT_COMMAND IpmiSubmitCommand;
60};
61
62extern EFI_GUID gIpmiProtocolGuid;
63extern EFI_GUID gSmmIpmiProtocolGuid;
64
65#endif
EFI_STATUS(EFIAPI * IPMI_SUBMIT_COMMAND)(IN IPMI_PROTOCOL *This, IN UINT8 NetFunction, IN UINT8 Command, IN UINT8 *RequestData, IN UINT32 RequestDataSize, OUT UINT8 *ResponseData, IN OUT UINT32 *ResponseDataSize)
Definition: IpmiProtocol.h:45
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213