TianoCore EDK2
master
Loading...
Searching...
No Matches
NvmExpressHostController.h
Go to the documentation of this file.
1
8
#ifndef _EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI_H_
9
#define _EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI_H_
10
11
#include <
Protocol/DevicePath.h
>
12
16
#define EDKII_NVME_EXPRESS_HOST_CONTROLLER_PPI_GUID \
17
{ \
18
0xcae3aa63, 0x676f, 0x4da3, { 0xbd, 0x50, 0x6c, 0xc5, 0xed, 0xde, 0x9a, 0xad } \
19
}
20
21
//
22
// Forward declaration for the EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI.
23
//
24
typedef
struct
_EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI
EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI
;
25
39
typedef
40
EFI_STATUS
41
(EFIAPI *
EDKII_NVM_EXPRESS_HC_GET_MMIO_BAR
)(
42
IN
EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI
*This,
43
IN
UINT8 ControllerId,
44
OUT
UINTN
*MmioBar
45
);
46
66
typedef
67
EFI_STATUS
68
(EFIAPI *
EDKII_NVM_EXPRESS_HC_GET_DEVICE_PATH
)(
69
IN
EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI
*This,
70
IN
UINT8 ControllerId,
71
OUT
UINTN
*DevicePathLength,
72
OUT
EFI_DEVICE_PATH_PROTOCOL
**DevicePath
73
);
74
75
//
76
// This PPI contains a set of services to interact with the NVM Express host
77
// controller.
78
//
79
struct
_EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI
{
80
EDKII_NVM_EXPRESS_HC_GET_MMIO_BAR
GetNvmeHcMmioBar;
81
EDKII_NVM_EXPRESS_HC_GET_DEVICE_PATH
GetNvmeHcDevicePath;
82
};
83
84
extern
EFI_GUID
gEdkiiPeiNvmExpressHostControllerPpiGuid;
85
86
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
DevicePath.h
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EDKII_NVM_EXPRESS_HC_GET_MMIO_BAR
EFI_STATUS(EFIAPI * EDKII_NVM_EXPRESS_HC_GET_MMIO_BAR)(IN EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI *This, IN UINT8 ControllerId, OUT UINTN *MmioBar)
Definition:
NvmExpressHostController.h:41
EDKII_NVM_EXPRESS_HC_GET_DEVICE_PATH
EFI_STATUS(EFIAPI * EDKII_NVM_EXPRESS_HC_GET_DEVICE_PATH)(IN EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI *This, IN UINT8 ControllerId, OUT UINTN *DevicePathLength, OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath)
Definition:
NvmExpressHostController.h:68
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EDKII_NVM_EXPRESS_HOST_CONTROLLER_PPI
Definition:
NvmExpressHostController.h:79
EFI_DEVICE_PATH_PROTOCOL
Definition:
DevicePath.h:43
GUID
Definition:
Base.h:213
MdeModulePkg
Include
Ppi
NvmExpressHostController.h
Generated on Fri Nov 15 2024 18:01:11 for TianoCore EDK2 by
1.9.6