mgh: fix for default HDD DMA mode, that wasn't correctly set
[open-ps2-loader.git] / ee_core / include / asm.h
blob16883015ee5ed1b29ead3ff8bae4c03a1169efef
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 ASM_H
11 #define ASM_H
13 #include <tamtypes.h>
14 #include <kernel.h>
15 #include <sifdma.h>
17 void Hook_LoadExecPS2(const char *filename, int argc, char *argv[]);
18 u32 Hook_SifSetDma(SifDmaTransfer_t *sdd, s32 len);
19 int Hook_SifSetReg(u32 register_num, int register_value);
20 int Hook_ExecPS2(void *entry, void *gp, int num_args, char *args[]);
21 int Hook_CreateThread(ee_thread_t *thread_param);
23 #endif /* ASM */