TianoCore EDK2
master
Loading...
Searching...
No Matches
AtaAhciController.h
Go to the documentation of this file.
1
8
#ifndef _EDKII_ATA_AHCI_HOST_CONTROLLER_PPI_H_
9
#define _EDKII_ATA_AHCI_HOST_CONTROLLER_PPI_H_
10
11
#include <
Protocol/DevicePath.h
>
12
16
#define EDKII_ATA_AHCI_HOST_CONTROLLER_PPI_GUID \
17
{ \
18
0x61dd33ea, 0x421f, 0x4cc0, { 0x89, 0x29, 0xff, 0xee, 0xa9, 0xa1, 0xa2, 0x61 } \
19
}
20
21
//
22
// Forward declaration for the EDKII_ATA_AHCI_HOST_CONTROLLER_PPI.
23
//
24
typedef
struct
_EDKII_ATA_AHCI_HOST_CONTROLLER_PPI
EDKII_ATA_AHCI_HOST_CONTROLLER_PPI
;
25
38
typedef
39
EFI_STATUS
40
(EFIAPI *
EDKII_ATA_AHCI_HC_GET_MMIO_BAR
)(
41
IN
EDKII_ATA_AHCI_HOST_CONTROLLER_PPI
*This,
42
IN
UINT8 ControllerId,
43
OUT
UINTN
*MmioBar
44
);
45
64
typedef
65
EFI_STATUS
66
(EFIAPI *
EDKII_ATA_AHCI_HC_GET_DEVICE_PATH
)(
67
IN
EDKII_ATA_AHCI_HOST_CONTROLLER_PPI
*This,
68
IN
UINT8 ControllerId,
69
OUT
UINTN
*DevicePathLength,
70
OUT
EFI_DEVICE_PATH_PROTOCOL
**DevicePath
71
);
72
73
//
74
// This PPI contains a set of services to interact with the ATA AHCI host controller.
75
//
76
struct
_EDKII_ATA_AHCI_HOST_CONTROLLER_PPI
{
77
EDKII_ATA_AHCI_HC_GET_MMIO_BAR
GetAhciHcMmioBar;
78
EDKII_ATA_AHCI_HC_GET_DEVICE_PATH
GetAhciHcDevicePath;
79
};
80
81
extern
EFI_GUID
gEdkiiPeiAtaAhciHostControllerPpiGuid;
82
83
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
EDKII_ATA_AHCI_HC_GET_DEVICE_PATH
EFI_STATUS(EFIAPI * EDKII_ATA_AHCI_HC_GET_DEVICE_PATH)(IN EDKII_ATA_AHCI_HOST_CONTROLLER_PPI *This, IN UINT8 ControllerId, OUT UINTN *DevicePathLength, OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath)
Definition:
AtaAhciController.h:66
EDKII_ATA_AHCI_HC_GET_MMIO_BAR
EFI_STATUS(EFIAPI * EDKII_ATA_AHCI_HC_GET_MMIO_BAR)(IN EDKII_ATA_AHCI_HOST_CONTROLLER_PPI *This, IN UINT8 ControllerId, OUT UINTN *MmioBar)
Definition:
AtaAhciController.h:40
DevicePath.h
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EDKII_ATA_AHCI_HOST_CONTROLLER_PPI
Definition:
AtaAhciController.h:76
EFI_DEVICE_PATH_PROTOCOL
Definition:
DevicePath.h:43
GUID
Definition:
Base.h:213
MdeModulePkg
Include
Ppi
AtaAhciController.h
Generated on Fri Nov 15 2024 18:01:11 for TianoCore EDK2 by
1.9.6