Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions src/kernel/pspiofilemgr_kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ typedef struct PspIoDrvArg
/** Structure passed to the file functions of the io driver system */
typedef struct PspIoDrvFileArg
{
/** Unknown */
u32 unk1;
/** The file flags. Bit or'ed `PSP_O_*` flags */
u32 flags;
/** The file system number, e.g. if a file is opened as host5:/myfile.txt this field will be 5 */
u32 fs_num;
/** Pointer to the driver structure */
/** A pointer to the driver entry data */
PspIoDrvArg *drv;
/** Unknown, again */
u32 unk2;
/** The device attributes */
u32 dev_attr;
/** Pointer to a user defined argument, this is preserved on a per file basis */
void *arg;
} PspIoDrvFileArg;
Expand Down Expand Up @@ -98,6 +98,12 @@ typedef struct PspIoDrv

/** Compat: Name used on UOFW and March33 for `PspIoDrv` */
typedef PspIoDrv SceIoDeviceTable;
/** Compat: Name used on UOFW and March33 for `PspIoDrvFileArg` */
typedef PspIoDrvFileArg SceIoIob;
/** Compat: Name used on UOFW and March33 for `PspIoDrvArg` */
typedef PspIoDrvArg SceIoDeviceEntry;
/** Compat: Name used on UOFW and March33 for `PspIoDrvArg` */
typedef PspIoDrvFuncs SceIoDeviceFunction;

/**
* Adds a new IO driver to the system.
Expand Down
Loading