ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
#include <tamtypes.h>
Go to the source code of this file.
Data Structures | |
struct | t_ExecData |
Macros | |
#define | LF_PATH_MAX 252 |
#define | LF_ARG_MAX 252 |
#define | SCE_EBINDMISS 0x10000 |
#define | SCE_ECALLMISS 0x10001 |
#define | SCE_ELOADMISS 0x10003 |
Enumerations | |
enum | _lf_val_types { LF_VAL_BYTE = 0 , LF_VAL_SHORT , LF_VAL_LONG } |
enum | _lf_functions { LF_F_MOD_LOAD = 0 , LF_F_ELF_LOAD , LF_F_SET_ADDR , LF_F_GET_ADDR , LF_F_MG_MOD_LOAD , LF_F_MG_ELF_LOAD , LF_F_MOD_BUF_LOAD , LF_F_MOD_STOP , LF_F_MOD_UNLOAD , LF_F_SEARCH_MOD_BY_NAME , LF_F_SEARCH_MOD_BY_ADDRESS } |
Functions | |
int | SifLoadFileInit (void) |
void | SifLoadFileExit (void) |
int | SifLoadModule (const char *path, int arg_len, const char *args) |
int | SifLoadStartModule (const char *path, int arg_len, const char *args, int *mod_res) |
int | SifLoadModuleEncrypted (const char *path, int arg_len, const char *args) |
int | SifLoadModuleBuffer (void *ptr, int arg_len, const char *args) |
int | SifLoadStartModuleBuffer (void *ptr, int arg_len, const char *args, int *mod_res) |
int | SifStopModule (int id, int arg_len, const char *args, int *mod_res) |
int | SifUnloadModule (int id) |
int | SifSearchModuleByName (const char *name) |
int | SifSearchModuleByAddress (const void *ptr) |
int | SifLoadElfPart (const char *path, const char *secname, t_ExecData *data) |
int | SifLoadElf (const char *path, t_ExecData *data) |
int | SifLoadElfEncrypted (const char *path, t_ExecData *data) |
int | SifIopSetVal (u32 iop_addr, int val, int type) |
int | SifIopGetVal (u32 iop_addr, void *val, int type) |
int | SifExecModuleBuffer (void *ptr, u32 size, u32 arg_len, const char *args, int *mod_res) |
int | SifExecModuleFile (const char *path, u32 arg_len, const char *args, int *mod_res) |
int | _SifLoadModule (const char *path, int arg_len, const char *args, int *modres, int fno, int dontwait) |
IOP executable file loader.
Definition in file loadfile.h.
#define LF_ARG_MAX 252 |
Definition at line 22 of file loadfile.h.
#define LF_PATH_MAX 252 |
Definition at line 21 of file loadfile.h.
#define SCE_EBINDMISS 0x10000 |
Could not bind with RPC server
Definition at line 59 of file loadfile.h.
#define SCE_ECALLMISS 0x10001 |
Could not call the RPC function
Definition at line 61 of file loadfile.h.
#define SCE_ELOADMISS 0x10003 |
ELF/Module load failed
Definition at line 63 of file loadfile.h.
enum _lf_functions |
Enumerator | |
---|---|
LF_F_MOD_LOAD | |
LF_F_ELF_LOAD | |
LF_F_SET_ADDR | |
LF_F_GET_ADDR | |
LF_F_MG_MOD_LOAD | |
LF_F_MG_ELF_LOAD | |
LF_F_MOD_BUF_LOAD | |
LF_F_MOD_STOP | |
LF_F_MOD_UNLOAD | |
LF_F_SEARCH_MOD_BY_NAME | |
LF_F_SEARCH_MOD_BY_ADDRESS |
Definition at line 30 of file loadfile.h.
enum _lf_val_types |
int SifSearchModuleByAddress | ( | const void * | ptr | ) |
int SifSearchModuleByName | ( | const char * | name | ) |
int SifStopModule | ( | int | id, |
int | arg_len, | ||
const char * | args, | ||
int * | mod_res | ||
) |
int SifUnloadModule | ( | int | id | ) |