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.

56 lines
1.5 KiB

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. * Common CDVD DEVCTL and IOCTL2 command definitions
  13. */
  14. #ifndef __CDVD_IOCTL_H__
  15. #define __CDVD_IOCTL_H__
  16. ///////////////////////////////////////////////////////////////////////////////
  17. // CDVDMAN.IRX
  18. //
  19. // IOCTL2 commands
  20. //
  21. #define CIOCSTREAMPAUSE 0x630D
  22. #define CIOCSTREAMRESUME 0x630E
  23. #define CIOCSTREAMSTAT 0x630F
  24. //
  25. // DEVCTL commands
  26. //
  27. #define CDIOC_READCLOCK 0x430C
  28. #define CDIOC_GETDISKTYP 0x431F
  29. #define CDIOC_GETERROR 0x4320
  30. #define CDIOC_TRAYREQ 0x4321
  31. #define CDIOC_STATUS 0x4322
  32. #define CDIOC_POWEROFF 0x4323
  33. #define CDIOC_MMODE 0x4324
  34. #define CDIOC_DISKRDY 0x4325
  35. #define CDIOC_STREAMINIT 0x4327
  36. #define CDIOC_BREAK 0x4328
  37. #define CDIOC_SPINNOM 0x4380
  38. #define CDIOC_SPINSTM 0x4381
  39. #define CDIOC_TRYCNT 0x4382
  40. #define CDIOC_STANDBY 0x4384
  41. #define CDIOC_STOP 0x4385
  42. #define CDIOC_PAUSE 0x4386
  43. #define CDIOC_GETTOC 0x4387
  44. #define CDIOC_SETTIMEOUT 0x4388
  45. #define CDIOC_READDVDDUALINFO 0x4389
  46. #define CDIOC_INIT 0x438A
  47. #define CDIOC_FSCACHEINIT 0x4395
  48. #define CDIOC_FSCACHEDELETE 0x4397
  49. #endif /* __CDVD_IOCTL_H__ */