sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
fileio-common.h File Reference
#include <tamtypes.h>
#include <io_common.h>

Go to the source code of this file.

Classes

struct  _fio_read_data
struct  _fio_open_arg
struct  _fio_read_arg
struct  _fio_write_arg
struct  _fio_lseek_arg
struct  _fio_ioctl_arg
struct  _fio_dread_arg
struct  _fio_getstat_arg
struct  _fio_chstat_arg
union  [union].p

Macros

#define FIO_PATH_MAX   256

Enumerations

enum  _fio_functions {
  FIO_F_OPEN = 0 , FIO_F_CLOSE , FIO_F_READ , FIO_F_WRITE ,
  FIO_F_LSEEK , FIO_F_IOCTL , FIO_F_REMOVE , FIO_F_MKDIR ,
  FIO_F_RMDIR , FIO_F_DOPEN , FIO_F_DCLOSE , FIO_F_DREAD ,
  FIO_F_GETSTAT , FIO_F_CHSTAT , FIO_F_FORMAT , FIO_F_ADDDRV ,
  FIO_F_DELDRV
}

Functions

struct _fio_open_arg __attribute__ ((aligned(16)))

Variables

int mode
char name [FIO_PATH_MAX]
int fd
void * ptr
int size
struct _fio_read_data * read_data
u32 mis
u8 aligned [16]
union  p
int offset
int whence
int request
u8 data [1024]
io_dirent_t * buf
struct _fio_chstat_arg __attribute__

Detailed Description

Common definitions for fileio between the client and server sides of the FILEIO protocol.

Definition in file fileio-common.h.

Macro Definition Documentation

◆ FIO_PATH_MAX

#define FIO_PATH_MAX   256

Definition at line 57 of file fileio-common.h.

Enumeration Type Documentation

◆ _fio_functions

enum _fio_functions

Definition at line 25 of file fileio-common.h.

Function Documentation

◆ __attribute__()

struct _fio_open_arg __attribute__ ( (aligned(16)) )

Definition at line 14 of file sifcmd.c.

Variable Documentation

◆ aligned

u8 aligned[16]

Definition at line 4 of file fileio-common.h.

◆ buf

Definition at line 5 of file fileio-common.h.

◆ data

char data ( )

Definition at line 6 of file fileio-common.h.

◆ fd

int fd

Definition at line 0 of file fileio-common.h.

◆ mis

u32 mis

Definition at line 3 of file fileio-common.h.

◆ mode

int mode

Definition at line 0 of file fileio-common.h.

◆ name

char name

Definition at line 1 of file fileio-common.h.

◆ offset

int offset

Definition at line 5 of file fileio-common.h.

◆ ptr

const void * ptr

Definition at line 1 of file fileio-common.h.

◆ read_data

struct _fio_read_data* read_data

Definition at line 3 of file fileio-common.h.

◆ request

int request

Definition at line 5 of file fileio-common.h.

◆ size

u32 size

Definition at line 2 of file fileio-common.h.

◆ whence

int whence

Definition at line 6 of file fileio-common.h.