PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
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 "
timer.h
"
17
#include "string.h"
18
#include <timer_alarm.h>
19
20
#ifdef F__InitSys
21
void
_InitSys(
void
)
22
{
23
InitAlarm();
24
InitTimer(2);
25
StartTimerSystemTime();
26
InitThread();
27
InitExecPS2();
28
InitTLBFunctions();
29
}
30
#endif
31
32
#ifdef F_TerminateLibrary
33
void
TerminateLibrary(
void
)
34
{
35
StopTimerSystemTime();
36
EndTimer();
37
InitTLB();
38
}
39
#endif
kernel.h
timer.h
ee
kernel
src
initsys.c
Generated on Thu Nov 14 2024 05:25:24 for PS2SDK by
1.9.8