Fuji/Source/Drivers/PSP/MFSystem_PSP.cpp
__attribute__ ((constructor))
void loaderInit()
{
    pspKernelSetKernelPC();
    pspSdkInstallNoDeviceCheckPatch();
	pspSdkInstallNoPlainModuleCheckPatch();
	pspSdkInstallKernelLoadModulePatch();
    pspDebugInstallKprintfHandler(NULL);

	pspDebugInstallErrorHandler(ExceptionHandler);

#if defined(_PSP_GDB)
	pspDebugGdbStubInit();
#endif
}
/**
 * Function that is called from _init in kernelmode before the
 * main thread is started in usermode.
 */
Function that is called from _init in kernelmode before the
main thread is started in usermode.
Function that is called from _init in kernelmode before the main thread is started in usermode .
__attribute__ ((constructor))
void loaderInit()
{
    pspKernelSetKernelPC();
    pspSdkInstallNoDeviceCheckPatch();
	pspSdkInstallNoPlainModuleCheckPatch();
	pspSdkInstallKernelLoadModulePatch();
    pspDebugInstallKprintfHandler(NULL);
	pspDebugInstallErrorHandler(ExceptionHandler);
#if defined(_PSP_GDB)
	pspDebugGdbStubInit();
#endif
}
__attribute__ ( ( constructor ) ) void loaderInit ( ) { pspKernelSetKernelPC ( ) ; pspSdkInstallNoDeviceCheckPatch ( ) ; pspSdkInstallNoPlainModuleCheckPatch ( ) ; pspSdkInstallKernelLoadModulePatch ( ) ; pspDebugInstallKprintfHandler ( NULL ) ; pspDebugInstallErrorHandler ( ExceptionHandler ) ; #if defined ( _PSP_GDB ) pspDebugGdbStubInit ( ) ; #endif }
Function that is called from _init in kernelmode before the
 main thread is started in usermode.
Function that is called from _init in kernelmode before the main thread is started in usermode .