Defines | Enumerations | Functions

pspinit.h File Reference

Go to the source code of this file.

Defines

#define sceKernelInitKeyConfig   InitForKernel_7233B5BC

Enumerations

enum  PSPBootFrom { PSP_BOOT_FLASH = 0, PSP_BOOT_DISC = 0x20, PSP_BOOT_MS = 0x40 }
enum  PSPInitApitype {
  PSP_INIT_APITYPE_DISC = 0x120, PSP_INIT_APITYPE_DISC_UPDATER = 0x121, PSP_INIT_APITYPE_MS1 = 0x140, PSP_INIT_APITYPE_MS2 = 0x141,
  PSP_INIT_APITYPE_MS3 = 0x142, PSP_INIT_APITYPE_MS4 = 0x143, PSP_INIT_APITYPE_MS5 = 0x144, PSP_INIT_APITYPE_VSH1 = 0x210,
  PSP_INIT_APITYPE_VSH2 = 0x220
}
enum  PSPKeyConfig { PSP_INIT_KEYCONFIG_VSH = 0x100, PSP_INIT_KEYCONFIG_GAME = 0x200, PSP_INIT_KEYCONFIG_POPS = 0x300 }

Functions

int sceKernelInitApitype ()
 Gets the api type.
char * sceKernelInitFileName ()
 Gets the filename of the executable to be launched after all modules of the api.
int sceKernelBootFrom ()
 Gets the device in which the application was launched.
int InitForKernel_7233B5BC ()
 Get the key configuration in which the system has booted.

Define Documentation

#define sceKernelInitKeyConfig   InitForKernel_7233B5BC

Enumeration Type Documentation

Enumerator:
PSP_BOOT_FLASH 
PSP_BOOT_DISC 
PSP_BOOT_MS 
Enumerator:
PSP_INIT_APITYPE_DISC 
PSP_INIT_APITYPE_DISC_UPDATER 
PSP_INIT_APITYPE_MS1 
PSP_INIT_APITYPE_MS2 
PSP_INIT_APITYPE_MS3 
PSP_INIT_APITYPE_MS4 
PSP_INIT_APITYPE_MS5 
PSP_INIT_APITYPE_VSH1 
PSP_INIT_APITYPE_VSH2 
Enumerator:
PSP_INIT_KEYCONFIG_VSH 
PSP_INIT_KEYCONFIG_GAME 
PSP_INIT_KEYCONFIG_POPS 

Function Documentation

int InitForKernel_7233B5BC (  ) 

Get the key configuration in which the system has booted.

Returns:
the key configuration code, one of PSPKeyConfig values
int sceKernelBootFrom (  ) 

Gets the device in which the application was launched.

Returns:
the device code, one of PSPBootFrom values.
int sceKernelInitApitype (  ) 

Gets the api type.

Returns:
the api type in which the system has booted
char* sceKernelInitFileName (  ) 

Gets the filename of the executable to be launched after all modules of the api.

Returns:
filename of executable or NULL if no executable found.