mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
- Multiple header files where missing #includes to other headers that where used in the header. Correct header was included in correct order in source files which caused everything to compile. - Added missing #includes so header files correctly include all their dependencies and fixes problems with IDEs being unable to parse headers correctly due to missing symbols
43 lines
761 B
C
43 lines
761 B
C
#pragma once
|
|
|
|
#include "Emu/Cell/lv2/sys_fs.h"
|
|
#include "Emu/Memory/vm_ptr.h"
|
|
|
|
// CellFsRingBuffer.copy
|
|
enum : s32
|
|
{
|
|
CELL_FS_ST_COPY = 0,
|
|
CELL_FS_ST_COPYLESS = 1,
|
|
};
|
|
|
|
struct CellFsRingBuffer
|
|
{
|
|
be_t<u64> ringbuf_size;
|
|
be_t<u64> block_size;
|
|
be_t<u64> transfer_rate;
|
|
be_t<s32> 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<u32> fd;
|
|
be_t<u64> offset;
|
|
vm::bptrb<void> buf;
|
|
be_t<u64> size;
|
|
be_t<u64> user_data;
|
|
};
|