17#define BLKIO_MAX_VOLUMES 2
19#define BLKIO_DIR_READ ATA_DIR_READ
20#define BLKIO_DIR_WRITE ATA_DIR_WRITE
22static inline int blkIoInit(
void)
27static inline int blkIoDmaTransfer(
int device,
void *buf, u32 lba, u32 nsectors,
int dir)
29 return sceAtaDmaTransfer(device, buf, lba, nsectors, dir);
32static inline int blkIoIdle(
int device,
int period)
34 return sceAtaIdle(device, period);
37static inline int blkIoGetSceId(
int device,
void *data)
39 return sceAtaGetSceId(device, data);
42static inline int blkIoSmartReturnStatus(
int device)
44 return sceAtaSmartReturnStatus(device);
47static inline int blkIoSmartSaveAttr(
int device)
49 return sceAtaSmartSaveAttr(device);
52static inline int blkIoFlushCache(
int device)
54 return sceAtaFlushCache(device);
57static inline int blkIoIdleImmediate(
int device)
59 return sceAtaIdleImmediate(device);
62#define BLKIO_MAX_VOLUMES 10
64#define BLKIO_DIR_READ 0
65#define BLKIO_DIR_WRITE 1
67extern int blkIoInit(
void);
68extern int blkIoDmaTransfer(
int device,
void *buf, u32 lba, u32 nsectors,
int dir);
69extern int blkIoIdle(
int device,
int period);
70extern int blkIoGetSceId(
int device,
void *data);
71extern int blkIoSmartReturnStatus(
int device);
72extern int blkIoSmartSaveAttr(
int device);
73extern int blkIoFlushCache(
int device);
74extern int blkIoIdleImmediate(
int device);
77extern int hdd_blkio_vhdd_mount(
int slot,
const char *filename);
78extern int hdd_blkio_vhdd_umount(
int slot);