#pragma once #include "Emu/Cell/lv2/sys_fs.h" // CellFsRingBuffer.copy enum : s32 { CELL_FS_ST_COPY = 0, CELL_FS_ST_COPYLESS = 1, }; struct CellFsRingBuffer { be_t ringbuf_size; be_t block_size; be_t transfer_rate; be_t copy; }; // cellFsStReadGetStatus status enum : u64 { CELL_FS_ST_INITIALIZED = 0x0001, CELL_FS_ST_NOT_INITIALIZED = 0x0002, CELL_FS_ST_STOP = 0x0100, CELL_FS_ST_PROGRESS = 0x0200, }; enum : s32 { CELL_FS_AIO_MAX_FS = 10, // cellFsAioInit limit CELL_FS_AIO_MAX_REQUEST = 32, // cellFsAioRead request limit per mount point }; struct CellFsAio { be_t fd; be_t offset; vm::bptrb buf; be_t size; be_t user_data; };