PS2SDK
PS2 Homebrew Libraries
|
Go to the source code of this file.
Data Structures | |
struct | _iop_device_ops_short |
Macros | |
#define | MODNAME "imgdrv" |
#define | MAX_IMAGES 2 |
Typedefs | |
typedef struct _iop_device_ops_short | iop_device_ops_short_t |
Functions | |
IRX_ID (MODNAME, 1, 1) | |
static int | imgdrv_read (iop_file_t *f, void *buf, int size) |
static int | imgdrv_lseek (iop_file_t *f, int offset, int whence) |
IOMAN_RETURN_VALUE_IMPL (0) | |
int | _start (int argc, char *argv[]) |
Variables | |
static iop_device_ops_short_t | imgdrv_ops |
void * | img [MAX_IMAGES] = {(void *)0xDEC1DEC1, 0} |
int | img_size [MAX_IMAGES] = {0xDEC2DEC2, 0} |
static iop_device_t | img_device |
Image device driver (IMGDRV) Used by the special IOP reboot sequence, to reboot the IOP with a buffered IOPRP image.
Definition in file imgdrv.c.
struct _iop_device_ops_short |
Data Fields | ||
---|---|---|
int(*)(iop_device_t *) | init | |
int(*)(iop_device_t *) | deinit | |
int(*)(iop_file_t *) | format | |
int(*)(iop_file_t *, const char *, int) | open | |
int(*)(iop_file_t *) | close | |
int(*)(iop_file_t *, void *, int) | read | |
int(*)(iop_file_t *, void *, int) | write | |
int(*)(iop_file_t *, int, int) | lseek |
|
static |
|
static |
|
static |
|
static |