TianoCore EDK2 master
Loading...
Searching...
No Matches
IpmiPpi.h File Reference

Go to the source code of this file.

Data Structures

struct  _PEI_IPMI_PPI
 

Macros

#define PEI_IPMI_PPI_GUID
 

Typedefs

typedef struct _PEI_IPMI_PPI PEI_IPMI_PPI
 
typedef EFI_STATUS(EFIAPI * PEI_IPMI_SUBMIT_COMMAND) (IN PEI_IPMI_PPI *This, IN UINT8 NetFunction, IN UINT8 Command, IN UINT8 *RequestData, IN UINT32 RequestDataSize, OUT UINT8 *ResponseData, IN OUT UINT32 *ResponseDataSize)
 

Variables

EFI_GUID gPeiIpmiPpiGuid
 

Detailed Description

Ppi for Ipmi of SMS.

Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file IpmiPpi.h.

Macro Definition Documentation

◆ PEI_IPMI_PPI_GUID

#define PEI_IPMI_PPI_GUID
Value:
{ \
0xa9731431, 0xd968, 0x4277, 0xb7, 0x52, 0xa3, 0xa9, 0xa6, 0xae, 0x18, 0x98 \
}

Definition at line 14 of file IpmiPpi.h.

Typedef Documentation

◆ PEI_IPMI_PPI

typedef struct _PEI_IPMI_PPI PEI_IPMI_PPI

Definition at line 12 of file IpmiPpi.h.

◆ PEI_IPMI_SUBMIT_COMMAND

typedef EFI_STATUS(EFIAPI * PEI_IPMI_SUBMIT_COMMAND) (IN PEI_IPMI_PPI *This, IN UINT8 NetFunction, IN UINT8 Command, IN UINT8 *RequestData, IN UINT32 RequestDataSize, OUT UINT8 *ResponseData, IN OUT UINT32 *ResponseDataSize)

This service enables submitting commands via Ipmi.

Parameters
[in]ThisThis point for PEI_IPMI_PPI structure.
[in]NetFunctionNet function of the command.
[in]CommandIPMI Command.
[in]RequestDataCommand Request Data.
[in]RequestDataSizeSize of Command Request Data.
[out]ResponseDataCommand Response Data. The completion code is the first byte of response data.
[in,out]ResponseDataSizeSize of Command Response Data.
Return values
EFI_SUCCESSThe command byte stream was successfully submit to the device and a response was successfully received.
EFI_NOT_FOUNDThe command was not successfully sent to the device or a response was not successfully received from the device.
EFI_NOT_READYIpmi Device is not ready for Ipmi command access.
EFI_DEVICE_ERRORIpmi Device hardware error.
EFI_TIMEOUTThe command time out.
EFI_UNSUPPORTEDThe command was not successfully sent to the device.
EFI_OUT_OF_RESOURCESThe resource allcation is out of resource or data size error.

Definition at line 39 of file IpmiPpi.h.