Sony PlayStation2 Study
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
992 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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. /**
  11. * @file
  12. * RMMAN definitions
  13. */
  14. #ifndef __RMMAN_H__
  15. #define __RMMAN_H__
  16. #include <types.h>
  17. #include <irx.h>
  18. #include <librm-common.h>
  19. int rmmanInit(void);
  20. int rmmanOpen(int port, int slot, void *buffer);
  21. int rmmanClose(int port, int slot);
  22. int rmmanEnd(void);
  23. #define rmman_IMPORTS_start DECLARE_IMPORT_TABLE(rmman, 1, 1)
  24. #define rmman_IMPORTS_end END_IMPORT_TABLE
  25. #define I_rmmanInit DECLARE_IMPORT(4, rmmanInit)
  26. #define I_rmmanOpen DECLARE_IMPORT(5, rmmanOpen)
  27. #define I_rmmanClose DECLARE_IMPORT(6, rmmanClose)
  28. #define I_rmmanEnd DECLARE_IMPORT(7, rmmanEnd)
  29. #endif /* __RMMAN_H__ */