PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
cdvd-ioctl.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 __CDVD_IOCTL_H__
17
#define __CDVD_IOCTL_H__
18
19
#include <
libcdvd-common.h
>
20
22
// CDVDMAN.IRX
23
24
//
25
// IOCTL2 commands
26
//
27
#define CIOCSTREAMPAUSE 0x630D
28
#define CIOCSTREAMRESUME 0x630E
29
#define CIOCSTREAMSTAT 0x630F
30
31
//
32
// DEVCTL commands
33
//
34
#define CDIOC_READCLOCK 0x430C
35
#define CDIOC_GETDISKTYP 0x431F
36
#define CDIOC_GETERROR 0x4320
37
#define CDIOC_TRAYREQ 0x4321
38
#define CDIOC_STATUS 0x4322
39
#define CDIOC_POWEROFF 0x4323
40
#define CDIOC_MMODE 0x4324
41
#define CDIOC_DISKRDY 0x4325
42
#define CDIOC_STREAMINIT 0x4327
43
#define CDIOC_BREAK 0x4328
44
45
#define CDIOC_SPINNOM 0x4380
46
#define CDIOC_SPINSTM 0x4381
47
#define CDIOC_TRYCNT 0x4382
48
#define CDIOC_STANDBY 0x4384
49
#define CDIOC_STOP 0x4385
50
#define CDIOC_PAUSE 0x4386
51
#define CDIOC_GETTOC 0x4387
52
#define CDIOC_SETTIMEOUT 0x4388
53
#define CDIOC_READDVDDUALINFO 0x4389
54
#define CDIOC_INIT 0x438A
55
#define CDIOC_FSCACHEINIT 0x4395
56
#define CDIOC_FSCACHEDELETE 0x4397
57
59
// CDVDSTM.IRX
60
61
typedef
struct
cdrom_stm_devctl_
62
{
63
u32 m_posszarg1;
64
u32 m_posszarg2;
65
void
*m_buffer;
66
u32 m_cmdid;
67
sceCdRMode
m_rmode;
68
u32 m_error;
69
}
cdrom_stm_devctl_t
;
70
71
72
#endif
/* __CDVD_IOCTL_H__ */
cdrom_stm_devctl_
Definition
cdvd-ioctl.h:62
libcdvd-common.h
sceCdRMode
Definition
libcdvd-common.h:234
common
include
cdvd-ioctl.h
Generated on Mon Jan 20 2025 17:33:22 for PS2SDK by
1.9.8