TianoCore EDK2 master
Loading...
Searching...
No Matches
NvmExpressPeiBlockIo.h
Go to the documentation of this file.
1
11#ifndef _NVM_EXPRESS_PEI_BLOCKIO_H_
12#define _NVM_EXPRESS_PEI_BLOCKIO_H_
13
14//
15// Nvme device for EFI_PEI_BLOCK_DEVICE_TYPE
16//
17#define EDKII_PEI_BLOCK_DEVICE_TYPE_NVME 7
18
19#define NVME_READ_MAX_RETRY 3
20
38EFIAPI
40 IN EFI_PEI_SERVICES **PeiServices,
42 OUT UINTN *NumberBlockDevices
43 );
44
87EFIAPI
89 IN EFI_PEI_SERVICES **PeiServices,
91 IN UINTN DeviceIndex,
93 );
94
130EFIAPI
132 IN EFI_PEI_SERVICES **PeiServices,
134 IN UINTN DeviceIndex,
135 IN EFI_PEI_LBA StartLBA,
136 IN UINTN BufferSize,
137 OUT VOID *Buffer
138 );
139
157EFIAPI
159 IN EFI_PEI_SERVICES **PeiServices,
161 OUT UINTN *NumberBlockDevices
162 );
163
206EFIAPI
208 IN EFI_PEI_SERVICES **PeiServices,
210 IN UINTN DeviceIndex,
212 );
213
249EFIAPI
251 IN EFI_PEI_SERVICES **PeiServices,
253 IN UINTN DeviceIndex,
254 IN EFI_PEI_LBA StartLBA,
255 IN UINTN BufferSize,
256 OUT VOID *Buffer
257 );
258
259#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
UINT64 EFI_PEI_LBA
Definition: BlockIo.h:41
EFI_STATUS EFIAPI NvmeBlockIoPeimReadBlocks(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 NvmeBlockIoPeimGetMediaInfo(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 NvmeBlockIoPeimGetMediaInfo2(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 NvmeBlockIoPeimReadBlocks2(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)
EFI_STATUS EFIAPI NvmeBlockIoPeimGetDeviceNo(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_RECOVERY_BLOCK_IO_PPI *This, OUT UINTN *NumberBlockDevices)
EFI_STATUS EFIAPI NvmeBlockIoPeimGetDeviceNo2(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_RECOVERY_BLOCK_IO2_PPI *This, OUT UINTN *NumberBlockDevices)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29