2#ifndef X86_KERNEL_DRIVER_BLK_BLOCK_H
3#define X86_KERNEL_DRIVER_BLK_BLOCK_H
struct _BLOCK_DEVICE BLOCK_DEVICE
void register_block_device(BLOCK_DEVICE *dev)
BLOCK_DEVICE * get_block_device(int index)
MTSTATUS(* read_sector)(struct _BLOCK_DEVICE *dev, uint32_t lba, void *buf, size_t bytes)
MTSTATUS(* write_sector)(struct _BLOCK_DEVICE *dev, uint32_t lba, const void *buf, size_t bytes)