typedef struct { CTL_MS_MEDIA_TYPE_t media; CTL_STATUS_t (*read_sectors)(void *, CTL_MS_LBA_t , void *, unsigned); CTL_STATUS_t (*write_sectors)(void *, CTL_MS_LBA_t , const void *, unsigned); CTL_STATUS_t (*init)(void *); CTL_STATUS_t (*fini)(void *); } CTL_MS_BLOCK_DRIVER_t;
CTL_MS_BLOCK_DRIVER_t contains the functions needed to read and write data on a volume.
Member | Description |
media | The underlying technology for the media. |
read_sectors | The method called to read multiple sectors from the media. |
write_sectors | The method called to write multiple sectors to the media. |