PS2SDK
PS2 Homebrew Libraries
rmman.h
Go to the documentation of this file.
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
9 */
10 
16 #ifndef __RMMAN_H__
17 #define __RMMAN_H__
18 
19 #include <types.h>
20 #include <irx.h>
21 #include <librm-common.h>
22 
23 extern int rmmanInit(void);
24 extern int rmmanOpen(int port, int slot, void *buffer);
25 extern int rmmanClose(int port, int slot);
26 extern int rmmanEnd(void);
27 
28 #define rmman_IMPORTS_start DECLARE_IMPORT_TABLE(rmman, 1, 1)
29 #define rmman_IMPORTS_end END_IMPORT_TABLE
30 
31 #define I_rmmanInit DECLARE_IMPORT(4, rmmanInit)
32 #define I_rmmanOpen DECLARE_IMPORT(5, rmmanOpen)
33 #define I_rmmanClose DECLARE_IMPORT(6, rmmanClose)
34 #define I_rmmanEnd DECLARE_IMPORT(7, rmmanEnd)
35 
36 #endif /* __RMMAN_H__ */
irx.h
librm-common.h