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

Go to the source code of this file.

Classes

struct  rests_pkt
struct  fileXioDirEntry
struct  fileXioDevice
struct  fxio_devlist_packet
struct  fxio_getdir_packet
struct  fxio_mount_packet
struct  fxio_unmount_packet
struct  fxio_copyfile_packet
struct  fxio_mkdir_packet
struct  fxio_pathsel_packet
struct  fxio_rename_packet
struct  fxio_open_packet
struct  fxio_close_packet
struct  fxio_read_packet
struct  fxio_write_packet
struct  fxio_lseek_packet
struct  fxio_lseek64_packet
struct  fxio_chstat_packet
struct  fxio_getstat_packet
struct  fxio_format_packet
struct  fxio_sync_packet
struct  fxio_dread_packet
struct  fxio_devctl_packet
struct  fxio_ioctl_packet
struct  fxio_ioctl2_packet
struct  fxio_ctl_return_pkt
struct  fxio_lseek64_return_pkt
struct  fxio_rwbuff

Macros

#define FILEXIO_IRX   0xb0b0b00
#define FILEXIO_MOUNTFLAG_NORMAL   0
#define FILEXIO_MOUNTFLAG_READONLY   1
#define FILEXIO_MOUNTFLAG_ROBUST   2
#define FILEXIO_DIRFLAGS_DIR   0xa0
#define FILEXIO_DIRFLAGS_FILE   0x80
#define CTL_BUF_SIZE   2048
#define IOCTL_BUF_SIZE   1024
#define FILEXIO_MAX_DEVICES   32
#define FILEXIO_DT_CHAR   0x01
#define FILEXIO_DT_CONS   0x02
#define FILEXIO_DT_BLOCK   0x04
#define FILEXIO_DT_RAW   0x08
#define FILEXIO_DT_FS   0x10
#define FILEXIO_DT_FSEXT   0x10000000

Enumerations

enum  FILEXIO_CMDS {
  FILEXIO_DOPEN = 0x01 , FILEXIO_DREAD , FILEXIO_DCLOSE , FILEXIO_MOUNT ,
  FILEXIO_UMOUNT , FILEXIO_GETDIR , FILEXIO_STOP , FILEXIO_COPYFILE ,
  FILEXIO_OPEN , FILEXIO_CLOSE , FILEXIO_READ , FILEXIO_WRITE ,
  FILEXIO_LSEEK , FILEXIO_IOCTL , FILEXIO_RMDIR , FILEXIO_GETSTAT ,
  FILEXIO_CHSTAT , FILEXIO_FORMAT , FILEXIO_ADDDRV , FILEXIO_DELDRV ,
  FILEXIO_RENAME , FILEXIO_CHDIR , FILEXIO_SYNC , FILEXIO_DEVCTL ,
  FILEXIO_SYMLINK , FILEXIO_READLINK , FILEXIO_IOCTL2 , FILEXIO_LSEEK64 ,
  FILEXIO_MKDIR , FILEXIO_REMOVE , FILEXIO_GETDEVICELIST , FILEXIO_SETRWBUFFSIZE
}

Functions

struct fileXioDirEntry __attribute__ ((aligned(64)))

Variables

u32 fileSize
u8 fileProperties
char filename [128+1]
char name [16]
unsigned int type
unsigned int version
char desc [128]
struct fxio_devlist_packet __attribute__

Detailed Description

fileXio RPC client/server shared includes This header contains the common definitions for fileXio that are used by both IOP and EE sides. This header conflicts with ps2ip_rpc.h

Definition in file fileXio.h.

Macro Definition Documentation

◆ CTL_BUF_SIZE

#define CTL_BUF_SIZE   2048

Definition at line 87 of file fileXio.h.

◆ FILEXIO_DIRFLAGS_DIR

#define FILEXIO_DIRFLAGS_DIR   0xa0

Definition at line 84 of file fileXio.h.

◆ FILEXIO_DIRFLAGS_FILE

#define FILEXIO_DIRFLAGS_FILE   0x80

Definition at line 85 of file fileXio.h.

◆ FILEXIO_DT_BLOCK

#define FILEXIO_DT_BLOCK   0x04

Definition at line 94 of file fileXio.h.

◆ FILEXIO_DT_CHAR

#define FILEXIO_DT_CHAR   0x01

Definition at line 92 of file fileXio.h.

◆ FILEXIO_DT_CONS

#define FILEXIO_DT_CONS   0x02

Definition at line 93 of file fileXio.h.

◆ FILEXIO_DT_FS

#define FILEXIO_DT_FS   0x10

Definition at line 96 of file fileXio.h.

◆ FILEXIO_DT_FSEXT

#define FILEXIO_DT_FSEXT   0x10000000

Supports calls after chstat().

Definition at line 98 of file fileXio.h.

◆ FILEXIO_DT_RAW

#define FILEXIO_DT_RAW   0x08

Definition at line 95 of file fileXio.h.

◆ FILEXIO_IRX

#define FILEXIO_IRX   0xb0b0b00

Definition at line 33 of file fileXio.h.

◆ FILEXIO_MAX_DEVICES

#define FILEXIO_MAX_DEVICES   32

Definition at line 90 of file fileXio.h.

◆ FILEXIO_MOUNTFLAG_NORMAL

#define FILEXIO_MOUNTFLAG_NORMAL   0

Definition at line 80 of file fileXio.h.

◆ FILEXIO_MOUNTFLAG_READONLY

#define FILEXIO_MOUNTFLAG_READONLY   1

Definition at line 81 of file fileXio.h.

◆ FILEXIO_MOUNTFLAG_ROBUST

#define FILEXIO_MOUNTFLAG_ROBUST   2

Definition at line 82 of file fileXio.h.

◆ IOCTL_BUF_SIZE

#define IOCTL_BUF_SIZE   1024

Definition at line 88 of file fileXio.h.

Enumeration Type Documentation

◆ FILEXIO_CMDS

enum FILEXIO_CMDS

Definition at line 34 of file fileXio.h.

Variable Documentation

◆ desc

char desc[128]

Definition at line 4 of file fileXio.h.

◆ filename

char filename[128+1]

Definition at line 2 of file fileXio.h.

◆ fileProperties

u8 fileProperties

Definition at line 1 of file fileXio.h.

◆ fileSize

u32 fileSize

Definition at line 0 of file fileXio.h.

◆ name

char name[16]

Definition at line 0 of file fileXio.h.

◆ type

unsigned int type

Definition at line 1 of file fileXio.h.

◆ version

unsigned int version

Not so sure about this one.

Definition at line 3 of file fileXio.h.