Suggestion from "mgh".
[open-ps2-loader.git] / ee_core / include / syshook.h
bloba0a7d1c9e4af6c817a0d3e584ce6f08b4a4d3e26
1 /*
2 Copyright 2009-2010, Ifcaro, jimmikaelkael & Polo
3 Copyright 2006-2008 Polo
4 Licenced under Academic Free License version 3.0
5 Review Open-Ps2-Loader README & LICENSE files for further details.
7 Some parts of the code are taken from HD Project by Polo
8 */
10 #ifndef SYSHOOK_H
11 #define SYSHOOK_H
13 #include <tamtypes.h>
15 void Install_Kernel_Hooks(void);
16 void Remove_Kernel_Hooks(void);
18 u32 (*Old_SifSetDma)(SifDmaTransfer_t *sdd, s32 len);
19 int (*Old_SifSetReg)(u32 register_num, int register_value);
20 void (*Old_LoadExecPS2)(const char *filename, int argc, char *argv[]);
21 int (*Old_ExecPS2)(void *entry, void *gp, int num_args, char *args[]);
22 int (*Old_CreateThread)(ee_thread_t *thread_param);
24 #endif /* SYSHOOK */