MODULE EFIDiskIO;
IMPORT
EFI, SYSTEM;
CONST
Revision* = 00010000H;
VAR
GUID- : EFI.GUID;
TYPE Protocol* = POINTER TO ProtocolDescription;
TYPE DiskIOReadDisk* = PROCEDURE{C}(This : Protocol; MediaId : EFI.Int32; Offset : EFI.Int64; BufferSize : EFI.Int; Buffer : SYSTEM.ADDRESS) : EFI.Status;
TYPE DiskIOWriteDisk* = PROCEDURE{C}(This : Protocol; MediaId : EFI.Int32; Offset : EFI.Int64; BufferSize : EFI.Int; Buffer : SYSTEM.ADDRESS) : EFI.Status;
TYPE ProtocolDescription* = RECORD(EFI.ProtocolDescription)
Revision-: EFI.Int64;
ReadDisk-: DiskIOReadDisk;
WriteDisk-: DiskIOWriteDisk;
END;
BEGIN
GUID.Data1 := -31CBAE8FH;
GUID.Data2 := -45F5H;
GUID.Data3 := 11D2H;
GUID.Data4[0] := -72H;
GUID.Data4[1] := 4FH;
GUID.Data4[2] := 00H;
GUID.Data4[3] := -60H;
GUID.Data4[4] := -37H;
GUID.Data4[5] := 69H;
GUID.Data4[6] := 72H;
GUID.Data4[7] := 3BH;
END EFIDiskIO.