XenevaOS
Loading...
Searching...
No Matches
DiskIo.h
Go to the documentation of this file.
1
19#ifndef __DISK_IO_H__
20#define __DISK_IO_H__
21
22#define EFI_DISK_IO_PROTOCOL_GUID \
23 { \
24 0xce345171, 0xba0b, 0x11d2, {0x8e, 0x4f, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \
25 }
26
30#define DISK_IO_PROTOCOL EFI_DISK_IO_PROTOCOL_GUID
31
33
38
56typedef
60 IN UINT32 MediaId,
61 IN UINT64 Offset,
62 IN UINTN BufferSize,
63 OUT VOID *Buffer
64 );
65
84typedef
88 IN UINT32 MediaId,
89 IN UINT64 Offset,
90 IN UINTN BufferSize,
91 IN VOID *Buffer
92 );
93
94#define EFI_DISK_IO_PROTOCOL_REVISION 0x00010000
95
99#define EFI_DISK_IO_INTERFACE_REVISION EFI_DISK_IO_PROTOCOL_REVISION
100
114
116
117#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_STATUS(EFIAPI * EFI_DISK_READ)(IN EFI_DISK_IO_PROTOCOL *This, IN UINT32 MediaId, IN UINT64 Offset, IN UINTN BufferSize, OUT VOID *Buffer)
Definition DiskIo.h:58
EFI_STATUS(EFIAPI * EFI_DISK_WRITE)(IN EFI_DISK_IO_PROTOCOL *This, IN UINT32 MediaId, IN UINT64 Offset, IN UINTN BufferSize, IN VOID *Buffer)
Definition DiskIo.h:86
EFI_DISK_IO_PROTOCOL EFI_DISK_IO
Definition DiskIo.h:37
EFI_GUID gEfiDiskIoProtocolGuid
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
#define VOID
Definition acefi.h:190
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
Definition Base.h:281
Definition DiskIo.h:104
UINT64 Revision
Definition DiskIo.h:110
EFI_DISK_WRITE WriteDisk
Definition DiskIo.h:112
EFI_DISK_READ ReadDisk
Definition DiskIo.h:111