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

Go to the source code of this file.

Macros

#define SCE_EBINDMISS   0x10000
#define SCE_ECALLMISS   0x10001
#define SCE_ELOADMISS   0x10003

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)

Detailed Description

IOP executable file loader.

Definition in file loadfile.h.

Macro Definition Documentation

◆ SCE_EBINDMISS

#define SCE_EBINDMISS   0x10000

Could not bind with RPC server

Definition at line 25 of file loadfile.h.

◆ SCE_ECALLMISS

#define SCE_ECALLMISS   0x10001

Could not call the RPC function

Definition at line 27 of file loadfile.h.

◆ SCE_ELOADMISS

#define SCE_ELOADMISS   0x10003

ELF/Module load failed

Definition at line 29 of file loadfile.h.

Function Documentation

◆ SifSearchModuleByAddress()

int SifSearchModuleByAddress ( const void * ptr)
extern

Definition at line 161 of file loadfile.c.

◆ SifSearchModuleByName()

int SifSearchModuleByName ( const char * name)
extern

Definition at line 147 of file loadfile.c.

◆ SifStopModule()

int SifStopModule ( int id,
int arg_len,
const char * args,
int * mod_res )
extern

Definition at line 107 of file loadfile.c.

◆ SifUnloadModule()

int SifUnloadModule ( int id)
extern

Definition at line 132 of file loadfile.c.