PS2SDK
PS2 Homebrew Libraries
sifcmd.h
Go to the documentation of this file.
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright (c) 2003 Marcus R. Brown <mrbrown@0xd6.org>
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
9 */
10 
16 #ifndef __SIFCMD_H__
17 #define __SIFCMD_H__
18 
19 #include <types.h>
20 #include <irx.h>
21 
22 #include <sifcmd-common.h>
23 #include <sifrpc-common.h>
24 
25 #define sifcmd_IMPORTS_start DECLARE_IMPORT_TABLE(sifcmd, 1, 1)
26 #define sifcmd_IMPORTS_end END_IMPORT_TABLE
27 
28 #define I_sceSifInitCmd DECLARE_IMPORT(4, sceSifInitCmd)
29 #define I_sceSifExitCmd DECLARE_IMPORT(5, sceSifExitCmd)
30 #define I_sceSifGetSreg DECLARE_IMPORT(6, sceSifGetSreg)
31 #define I_sceSifSetSreg DECLARE_IMPORT(7, sceSifSetSreg)
32 #define I_sceSifSetCmdBuffer DECLARE_IMPORT(8, sceSifSetCmdBuffer)
33 #define I_sceSifSetSysCmdBuffer DECLARE_IMPORT(9, sceSifSetSysCmdBuffer)
34 #define I_sceSifAddCmdHandler DECLARE_IMPORT(10, sceSifAddCmdHandler)
35 #define I_sceSifRemoveCmdHandler DECLARE_IMPORT(11, sceSifRemoveCmdHandler)
36 #define I_sceSifSendCmd DECLARE_IMPORT(12, sceSifSendCmd)
37 #define I_isceSifSendCmd DECLARE_IMPORT(13, isceSifSendCmd)
38 #define I_sceSifInitRpc DECLARE_IMPORT(14, sceSifInitRpc)
39 #define I_sceSifBindRpc DECLARE_IMPORT(15, sceSifBindRpc)
40 #define I_sceSifCallRpc DECLARE_IMPORT(16, sceSifCallRpc)
41 #define I_sceSifRegisterRpc DECLARE_IMPORT(17, sceSifRegisterRpc)
42 #define I_sceSifCheckStatRpc DECLARE_IMPORT(18, sceSifCheckStatRpc)
43 #define I_sceSifSetRpcQueue DECLARE_IMPORT(19, sceSifSetRpcQueue)
44 #define I_sceSifGetNextRequest DECLARE_IMPORT(20, sceSifGetNextRequest)
45 #define I_sceSifExecRequest DECLARE_IMPORT(21, sceSifExecRequest)
46 #define I_sceSifRpcLoop DECLARE_IMPORT(22, sceSifRpcLoop)
47 #define I_sceSifGetOtherData DECLARE_IMPORT(23, sceSifGetOtherData)
48 #define I_sceSifRemoveRpc DECLARE_IMPORT(24, sceSifRemoveRpc)
49 #define I_sceSifRemoveRpcQueue DECLARE_IMPORT(25, sceSifRemoveRpcQueue)
50 #define I_sceSifSetSif1CB DECLARE_IMPORT(26, sceSifSetSif1CB)
51 #define I_sceSifClearSif1CB DECLARE_IMPORT(27, sceSifClearSif1CB)
52 #define I_sceSifSendCmdIntr DECLARE_IMPORT(28, sceSifSendCmdIntr)
53 #define I_isceSifSendCmdIntr DECLARE_IMPORT(29, isceSifSendCmdIntr)
54 
55 #endif /* __SIFCMD_H__ */
sifrpc-common.h
sifcmd-common.h
irx.h