TianoCore EDK2 master
Loading...
Searching...
No Matches
SdBlockIo.h
Go to the documentation of this file.
1
12#ifndef _SD_BLOCK_IO_H_
13#define _SD_BLOCK_IO_H_
14
27EFIAPI
28SdReset (
30 IN BOOLEAN ExtendedVerification
31 );
32
53EFIAPI
56 IN UINT32 MediaId,
57 IN EFI_LBA Lba,
58 IN UINTN BufferSize,
59 OUT VOID *Buffer
60 );
61
83EFIAPI
86 IN UINT32 MediaId,
87 IN EFI_LBA Lba,
88 IN UINTN BufferSize,
89 IN VOID *Buffer
90 );
91
103EFIAPI
106 );
107
120EFIAPI
121SdResetEx (
123 IN BOOLEAN ExtendedVerification
124 );
125
153EFIAPI
156 IN UINT32 MediaId,
157 IN EFI_LBA Lba,
159 IN UINTN BufferSize,
160 OUT VOID *Buffer
161 );
162
186EFIAPI
189 IN UINT32 MediaId,
190 IN EFI_LBA Lba,
192 IN UINTN BufferSize,
193 IN VOID *Buffer
194 );
195
208EFIAPI
212 );
213
242EFIAPI
245 IN UINT32 MediaId,
246 IN EFI_LBA Lba,
248 IN UINTN Size
249 );
250
251#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI SdFlushBlocks(IN EFI_BLOCK_IO_PROTOCOL *This)
Definition: SdBlockIo.c:817
EFI_STATUS EFIAPI SdReset(IN EFI_BLOCK_IO_PROTOCOL *This, IN BOOLEAN ExtendedVerification)
Definition: SdBlockIo.c:708
EFI_STATUS EFIAPI SdReadBlocksEx(IN EFI_BLOCK_IO2_PROTOCOL *This, IN UINT32 MediaId, IN EFI_LBA Lba, IN OUT EFI_BLOCK_IO2_TOKEN *Token, IN UINTN BufferSize, OUT VOID *Buffer)
Definition: SdBlockIo.c:906
EFI_STATUS EFIAPI SdWriteBlocks(IN EFI_BLOCK_IO_PROTOCOL *This, IN UINT32 MediaId, IN EFI_LBA Lba, IN UINTN BufferSize, IN VOID *Buffer)
Definition: SdBlockIo.c:788
EFI_STATUS EFIAPI SdEraseBlocks(IN EFI_ERASE_BLOCK_PROTOCOL *This, IN UINT32 MediaId, IN EFI_LBA Lba, IN OUT EFI_ERASE_BLOCK_TOKEN *Token, IN UINTN Size)
Definition: SdBlockIo.c:1331
EFI_STATUS EFIAPI SdFlushBlocksEx(IN EFI_BLOCK_IO2_PROTOCOL *This, IN OUT EFI_BLOCK_IO2_TOKEN *Token)
Definition: SdBlockIo.c:979
EFI_STATUS EFIAPI SdWriteBlocksEx(IN EFI_BLOCK_IO2_PROTOCOL *This, IN UINT32 MediaId, IN EFI_LBA Lba, IN OUT EFI_BLOCK_IO2_TOKEN *Token, IN UINTN BufferSize, IN VOID *Buffer)
Definition: SdBlockIo.c:948
EFI_STATUS EFIAPI SdResetEx(IN EFI_BLOCK_IO2_PROTOCOL *This, IN BOOLEAN ExtendedVerification)
Definition: SdBlockIo.c:840
EFI_STATUS EFIAPI SdReadBlocks(IN EFI_BLOCK_IO_PROTOCOL *This, IN UINT32 MediaId, IN EFI_LBA Lba, IN UINTN BufferSize, OUT VOID *Buffer)
Definition: SdBlockIo.c:749
UINT64 EFI_LBA
Definition: UefiBaseType.h:45
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29