12#include "generic_pointer.h"
31DSTATUS disk_initialize (BYTE pdrv);
32DSTATUS disk_status (BYTE pdrv);
33DRESULT disk_read (BYTE pdrv, BYTE* buff, LBA_t sector, UINT count);
34DRESULT disk_write (BYTE pdrv,
const BYTE* __generic_ptr buff, LBA_t sector, UINT count);
35DRESULT disk_ioctl (BYTE pdrv, BYTE cmd,
void* buff);
40#define STA_NOINIT 0x01
41#define STA_NODISK 0x02
42#define STA_PROTECT 0x04
49#define GET_SECTOR_COUNT 1
50#define GET_SECTOR_SIZE 2
51#define GET_BLOCK_SIZE 3
61#define MMC_GET_TYPE 10
65#define MMC_GET_SDSTAT 14
72#define ATA_GET_MODEL 21