PS2SDK
PS2 Homebrew Libraries
|
Go to the source code of this file.
Data Structures | |
struct | _iomanX_iop_file |
struct | _iomanX_iop_device |
struct | _iomanX_iop_device_ops |
Macros | |
#define | IOMANX_OLD_NAME_COMPATIBILITY 0 |
#define | IOMANX_OLD_NAME_ADDDELDRV 0 |
#define | IOP_DT_CHAR 0x01 |
#define | IOP_DT_CONS 0x02 |
#define | IOP_DT_BLOCK 0x04 |
#define | IOP_DT_RAW 0x08 |
#define | IOP_DT_FS 0x10 |
#define | IOP_DT_FSEXT 0x10000000 |
#define | IOMANX_RETURN_VALUE_IMPL(val) |
#define | IOMANX_RETURN_VALUE(val) ((void*)&my_iomanx_retval_##val##_int) |
#define | IOMANX_RETURN_VALUE_S64(val) ((void*)&my_iomanx_retval_##val##_s64) |
Typedefs | |
typedef struct _iomanX_iop_file | iomanX_iop_file_t |
typedef struct _iomanX_iop_device | iomanX_iop_device_t |
typedef struct _iomanX_iop_device_ops | iomanX_iop_device_ops_t |
Functions | |
iomanX_iop_device_t ** | iomanX_GetDeviceList (void) |
int | iomanX_open (const char *name, int flags,...) |
int | iomanX_close (int fd) |
int | iomanX_read (int fd, void *ptr, int size) |
int | iomanX_write (int fd, void *ptr, int size) |
int | iomanX_lseek (int fd, int offset, int mode) |
int | iomanX_ioctl (int fd, int cmd, void *param) |
int | iomanX_remove (const char *name) |
int | iomanX_mkdir (const char *path, int mode) |
int | iomanX_rmdir (const char *path) |
int | iomanX_dopen (const char *path) |
int | iomanX_dclose (int fd) |
int | iomanX_dread (int fd, iox_dirent_t *buf) |
int | iomanX_getstat (const char *name, iox_stat_t *stat) |
int | iomanX_chstat (const char *name, iox_stat_t *stat, unsigned int statmask) |
int | iomanX_format (const char *dev, const char *blockdev, void *arg, int arglen) |
int | iomanX_rename (const char *old, const char *new) |
int | iomanX_chdir (const char *name) |
int | iomanX_sync (const char *dev, int flag) |
int | iomanX_mount (const char *fsname, const char *devname, int flag, void *arg, int arglen) |
int | iomanX_umount (const char *fsname) |
s64 | iomanX_lseek64 (int fd, s64 offset, int whence) |
int | iomanX_devctl (const char *name, int cmd, void *arg, unsigned int arglen, void *buf, unsigned int buflen) |
int | iomanX_symlink (const char *old, const char *new) |
int | iomanX_readlink (const char *path, char *buf, unsigned int buflen) |
int | iomanX_ioctl2 (int fd, int cmd, void *arg, unsigned int arglen, void *buf, unsigned int buflen) |
int | iomanX_AddDrv (iomanX_iop_device_t *device) |
int | iomanX_DelDrv (const char *name) |
void | iomanX_StdioInit (int mode) |
Definitions and imports for iomanX.
Definition in file iomanX.h.
struct _iomanX_iop_file |
Data Fields | ||
---|---|---|
int | mode |
File open mode. |
int | unit |
HW device unit number. |
struct _iomanX_iop_device * | device |
Device driver. |
void * | privdata |
The device driver can use this however it wants. |
struct _iomanX_iop_device |
Data Fields | ||
---|---|---|
const char * | name | |
unsigned int | type | |
unsigned int | version |
Not so sure about this one. |
const char * | desc | |
struct _iomanX_iop_device_ops * | ops |
#define IOP_DT_FSEXT 0x10000000 |
#define IOMANX_RETURN_VALUE_IMPL | ( | val | ) |
#define IOMANX_RETURN_VALUE | ( | val | ) | ((void*)&my_iomanx_retval_##val##_int) |
#define IOMANX_RETURN_VALUE_S64 | ( | val | ) | ((void*)&my_iomanx_retval_##val##_s64) |
typedef struct _iomanX_iop_file iomanX_iop_file_t |
File objects passed to driver operations.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
This can take take more than one form.
Definition at line 716 of file iomanX.c.
References _iomanX_iop_file::device, EMFILE, ENODEV, and _iomanX_iop_file::unit.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |