Fields
revision: u64,
media: *EfiBlockMedia,
_reset: *const fn (*BlockIoProtocol, bool) callconv(cc) Status,
_read_blocks: *const fn (*BlockIoProtocol, u32, u64, usize, [*]u8) callconv(cc) Status,
_write_blocks: *const fn (*BlockIoProtocol, u32, u64, usize, [*]u8) callconv(cc) Status,
_flush_blocks: *const fn (*BlockIoProtocol) callconv(cc) Status,
Functions
fn readBlocks(self: *Self, media_id: u32, lba: u64, buffer_size: usize, buf: [*]u8) Status
Reads the number of requested blocks from the device.
fn writeBlocks(self: *Self, media_id: u32, lba: u64, buffer_size: usize, buf: [*]u8) Status
Writes a specified number of blocks to the device.