pspsdk-1.0+beta2
Interface to the LoadExecForKernel library.

Data Structures

struct  SceKernelLoadExecVSHParam
 Structure for LoadExecVSH* functions. More...

Functions

int sceKernelLoadExecBufferPlain (SceSize bufsize, void *buf, struct SceKernelLoadExecParam *param)
 Executes a new executable from a buffer.
int sceKernelExitVSHVSH (struct SceKernelLoadExecVSHParam *param)
 Restart the vsh.
int sceKernelLoadExecVSHDisc (const char *file, struct SceKernelLoadExecVSHParam *param)
 Executes a new executable from a disc.
int sceKernelLoadExecVSHDiscUpdater (const char *file, struct SceKernelLoadExecVSHParam *param)
 Executes a new executable from a disc.
int sceKernelLoadExecVSHMs1 (const char *file, struct SceKernelLoadExecVSHParam *param)
 Executes a new executable from a memory stick.
int sceKernelLoadExecVSHMs2 (const char *file, struct SceKernelLoadExecVSHParam *param)
 Executes a new executable from a memory stick.
int sceKernelLoadExecVSHMs3 (const char *file, struct SceKernelLoadExecVSHParam *param)
 Executes a new executable from a memory stick.

Detailed Description

Function Documentation

int sceKernelExitVSHVSH ( struct SceKernelLoadExecVSHParam param)

Restart the vsh.

Parameters
param- Pointer to a SceKernelLoadExecVSHParam structure, or NULL
Returns
< 0 on some errors.
Note
- when called in game mode it will have the same effect that sceKernelExitGame
int sceKernelLoadExecBufferPlain ( SceSize  bufsize,
void *  buf,
struct SceKernelLoadExecParam param 
)

Executes a new executable from a buffer.

Parameters
bufsize- Size in bytes of the buffer pointed by buf.
buf- Pointer to a buffer containing the module to execute.
param- Pointer to a SceKernelLoadExecParam structure, or NULL.
Returns
< 0 on some errors.
int sceKernelLoadExecVSHDisc ( const char *  file,
struct SceKernelLoadExecVSHParam param 
)

Executes a new executable from a disc.

It is the function used by the firmware to execute the EBOOT.BIN from a disc.

Parameters
file- The file to execute.
param- Pointer to a SceKernelLoadExecVSHParam structure, or NULL.
Returns
< 0 on some errors.
int sceKernelLoadExecVSHDiscUpdater ( const char *  file,
struct SceKernelLoadExecVSHParam param 
)

Executes a new executable from a disc.

It is the function used by the firmware to execute an updater from a disc.

Parameters
file- The file to execute.
param- Pointer to a SceKernelLoadExecVSHParam structure, or NULL.
Returns
< 0 on some errors.
int sceKernelLoadExecVSHMs1 ( const char *  file,
struct SceKernelLoadExecVSHParam param 
)

Executes a new executable from a memory stick.

It is the function used by the firmware to execute an updater from a memory stick.

Parameters
file- The file to execute.
param- Pointer to a SceKernelLoadExecVSHParam structure, or NULL.
Returns
< 0 on some errors.
int sceKernelLoadExecVSHMs2 ( const char *  file,
struct SceKernelLoadExecVSHParam param 
)

Executes a new executable from a memory stick.

It is the function used by the firmware to execute games (and homebrew :P) from a memory stick.

Parameters
file- The file to execute.
param- Pointer to a SceKernelLoadExecVSHParam structure, or NULL.
Returns
< 0 on some errors.
int sceKernelLoadExecVSHMs3 ( const char *  file,
struct SceKernelLoadExecVSHParam param 
)

Executes a new executable from a memory stick.

It is the function used by the firmware to execute ... ?

Parameters
file- The file to execute.
param- Pointer to a SceKernelLoadExecVSHParam structure, or NULL.
Returns
< 0 on some errors.