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//
25
38typedef
42 IN UINT8 ControllerId,
43 OUT UINTN *MmioBar
44 );
45
64typedef
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//
77 EDKII_ATA_AHCI_HC_GET_MMIO_BAR GetAhciHcMmioBar;
78 EDKII_ATA_AHCI_HC_GET_DEVICE_PATH GetAhciHcDevicePath;
79};
80
81extern EFI_GUID gEdkiiPeiAtaAhciHostControllerPpiGuid;
82
83#endif
UINT64 UINTN
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)
EFI_STATUS(EFIAPI * EDKII_ATA_AHCI_HC_GET_MMIO_BAR)(IN EDKII_ATA_AHCI_HOST_CONTROLLER_PPI *This, IN UINT8 ControllerId, OUT UINTN *MmioBar)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213