16#define BLKIO_MAX_VOLUMES 2
18#define BLKIO_DIR_READ ATA_DIR_READ
19#define BLKIO_DIR_WRITE ATA_DIR_WRITE
21static inline int blkIoInit(
void)
26static inline int blkIoDmaTransfer(
int device,
void *buf, u32 lba, u32 nsectors,
int dir)
28 return sceAtaDmaTransfer(device, buf, lba, nsectors, dir);
31static inline int blkIoIdle(
int device,
int period)
33 return sceAtaIdle(device, period);
36static inline int blkIoGetSceId(
int device,
void *data)
38 return sceAtaGetSceId(device, data);
41static inline int blkIoSmartReturnStatus(
int device)
43 return sceAtaSmartReturnStatus(device);
46static inline int blkIoSmartSaveAttr(
int device)
48 return sceAtaSmartSaveAttr(device);
51static inline int blkIoFlushCache(
int device)
53 return sceAtaFlushCache(device);
56static inline int blkIoIdleImmediate(
int device)
58 return sceAtaIdleImmediate(device);