ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
initsys.c
Go to the documentation of this file.
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Licenced under Academic Free License version 2.0
7 # Review ps2sdk README & LICENSE files for further details.
8 */
9 
15 #include "kernel.h"
16 #include "string.h"
17 
18 #ifdef F__InitSys
19 void _InitSys(void)
20 {
21 #ifndef KERNEL_NO_PATCHES
22  InitAlarm();
23  InitThread();
24  InitExecPS2();
26 #endif
27 }
28 #endif
29 
30 #ifdef F_TerminateLibrary
31 void TerminateLibrary(void)
32 {
33 #ifndef KERNEL_NO_PATCHES
34  InitTLB();
35 #endif
36 }
37 #endif
void TerminateLibrary(void)
void InitExecPS2(void)
Definition: libosd.c:47
void InitAlarm(void)
Definition: alarm.c:43
void InitTLB(void)
Definition: tlbfunc.c:57
int InitThread(void)
void InitTLBFunctions(void)
Definition: tlbfunc.c:41
void _InitSys(void)