TianoCore EDK2 master
Loading...
Searching...
No Matches
AhciPeiBlockIo.h
Go to the documentation of this file.
1
11#ifndef _AHCI_PEI_BLOCKIO_H_
12#define _AHCI_PEI_BLOCKIO_H_
13
14//
15// ATA hard disk device for EFI_PEI_BLOCK_DEVICE_TYPE
16//
17#define EDKII_PEI_BLOCK_DEVICE_TYPE_ATA_HARD_DISK 8
18
36EFIAPI
38 IN EFI_PEI_SERVICES **PeiServices,
40 OUT UINTN *NumberBlockDevices
41 );
42
85EFIAPI
87 IN EFI_PEI_SERVICES **PeiServices,
89 IN UINTN DeviceIndex,
91 );
92
128EFIAPI
130 IN EFI_PEI_SERVICES **PeiServices,
132 IN UINTN DeviceIndex,
133 IN EFI_PEI_LBA StartLBA,
134 IN UINTN BufferSize,
135 OUT VOID *Buffer
136 );
137
155EFIAPI
157 IN EFI_PEI_SERVICES **PeiServices,
159 OUT UINTN *NumberBlockDevices
160 );
161
204EFIAPI
206 IN EFI_PEI_SERVICES **PeiServices,
208 IN UINTN DeviceIndex,
210 );
211
247EFIAPI
249 IN EFI_PEI_SERVICES **PeiServices,
251 IN UINTN DeviceIndex,
252 IN EFI_PEI_LBA StartLBA,
253 IN UINTN BufferSize,
254 OUT VOID *Buffer
255 );
256
257#endif
UINT64 UINTN
EFI_STATUS EFIAPI AhciBlockIoGetDeviceNo(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_RECOVERY_BLOCK_IO_PPI *This, OUT UINTN *NumberBlockDevices)
EFI_STATUS EFIAPI AhciBlockIoReadBlocks(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_RECOVERY_BLOCK_IO_PPI *This, IN UINTN DeviceIndex, IN EFI_PEI_LBA StartLBA, IN UINTN BufferSize, OUT VOID *Buffer)
EFI_STATUS EFIAPI AhciBlockIoGetMediaInfo(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_RECOVERY_BLOCK_IO_PPI *This, IN UINTN DeviceIndex, OUT EFI_PEI_BLOCK_IO_MEDIA *MediaInfo)
EFI_STATUS EFIAPI AhciBlockIoGetDeviceNo2(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_RECOVERY_BLOCK_IO2_PPI *This, OUT UINTN *NumberBlockDevices)
EFI_STATUS EFIAPI AhciBlockIoGetMediaInfo2(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_RECOVERY_BLOCK_IO2_PPI *This, IN UINTN DeviceIndex, OUT EFI_PEI_BLOCK_IO2_MEDIA *MediaInfo)
EFI_STATUS EFIAPI AhciBlockIoReadBlocks2(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_RECOVERY_BLOCK_IO2_PPI *This, IN UINTN DeviceIndex, IN EFI_PEI_LBA StartLBA, IN UINTN BufferSize, OUT VOID *Buffer)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
UINT64 EFI_PEI_LBA
Definition: BlockIo.h:41
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29