XenevaOS
Loading...
Searching...
No Matches
DiskIo2.h
Go to the documentation of this file.
1
18#ifndef __DISK_IO2_H__
19#define __DISK_IO2_H__
20
21#define EFI_DISK_IO2_PROTOCOL_GUID \
22 { \
23 0x151c8eae, 0x7f2c, 0x472c, 0x9e, 0x54, 0x98, 0x28, 0x19, 0x4f, 0x6a, 0x88 \
24 }
25
27
31typedef struct {
32 //
33 // If Event is NULL, then blocking I/O is performed.
34 // If Event is not NULL and non-blocking I/O is supported, then non-blocking I/O is performed,
35 // and Event will be signaled when the I/O request is completed.
36 // The caller must be prepared to handle the case where the callback associated with Event occurs
37 // before the original asynchronous I/O request call returns.
38 //
40
41 //
42 // Defines whether or not the signaled event encountered an error.
43 //
46
56typedef
60 );
61
84typedef
88 IN UINT32 MediaId,
89 IN UINT64 Offset,
91 IN UINTN BufferSize,
92 OUT VOID *Buffer
93 );
94
117typedef
121 IN UINT32 MediaId,
122 IN UINT64 Offset,
124 IN UINTN BufferSize,
125 IN VOID *Buffer
126 );
127
145typedef
150 );
151
152#define EFI_DISK_IO2_PROTOCOL_REVISION 0x00020000
153
169
171
172#endif
UINT64 UINTN
Definition ProcessorBind.h:118
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
EFI_GUID gEfiDiskIo2ProtocolGuid
EFI_STATUS(EFIAPI * EFI_DISK_WRITE_EX)(IN EFI_DISK_IO2_PROTOCOL *This, IN UINT32 MediaId, IN UINT64 Offset, IN OUT EFI_DISK_IO2_TOKEN *Token, IN UINTN BufferSize, IN VOID *Buffer)
Definition DiskIo2.h:119
EFI_STATUS(EFIAPI * EFI_DISK_CANCEL_EX)(IN EFI_DISK_IO2_PROTOCOL *This)
Definition DiskIo2.h:58
EFI_STATUS(EFIAPI * EFI_DISK_FLUSH_EX)(IN EFI_DISK_IO2_PROTOCOL *This, IN OUT EFI_DISK_IO2_TOKEN *Token)
Definition DiskIo2.h:147
EFI_STATUS(EFIAPI * EFI_DISK_READ_EX)(IN EFI_DISK_IO2_PROTOCOL *This, IN UINT32 MediaId, IN UINT64 Offset, IN OUT EFI_DISK_IO2_TOKEN *Token, IN UINTN BufferSize, OUT VOID *Buffer)
Definition DiskIo2.h:86
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
VOID * EFI_EVENT
Definition UefiBaseType.h:41
#define VOID
Definition acefi.h:190
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
Definition DiskIo2.h:31
EFI_STATUS TransactionStatus
Definition DiskIo2.h:44
EFI_EVENT Event
Definition DiskIo2.h:39
Definition Base.h:281
Definition DiskIo2.h:157
UINT64 Revision
Definition DiskIo2.h:163
EFI_DISK_FLUSH_EX FlushDiskEx
Definition DiskIo2.h:167
EFI_DISK_WRITE_EX WriteDiskEx
Definition DiskIo2.h:166
EFI_DISK_READ_EX ReadDiskEx
Definition DiskIo2.h:165
EFI_DISK_CANCEL_EX Cancel
Definition DiskIo2.h:164