sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
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
17
#ifndef __CDVD_IOCTL_H__
18
#define __CDVD_IOCTL_H__
19
20
#include <
libcdvd-common.h
>
21
23
// CDVDMAN.IRX
24
25
//
26
// IOCTL2 commands
27
//
28
#define CIOCSTREAMPAUSE 0x630D
29
#define CIOCSTREAMRESUME 0x630E
30
#define CIOCSTREAMSTAT 0x630F
31
32
//
33
// DEVCTL commands
34
//
35
#define CDIOC_READCLOCK 0x430C
36
#define CDIOC_GETDISKTYP 0x431F
37
#define CDIOC_GETERROR 0x4320
38
#define CDIOC_TRAYREQ 0x4321
39
#define CDIOC_STATUS 0x4322
40
#define CDIOC_POWEROFF 0x4323
41
#define CDIOC_MMODE 0x4324
42
#define CDIOC_DISKRDY 0x4325
43
#define CDIOC_STREAMINIT 0x4327
44
#define CDIOC_BREAK 0x4328
45
46
#define CDIOC_SPINNOM 0x4380
47
#define CDIOC_SPINSTM 0x4381
48
#define CDIOC_TRYCNT 0x4382
49
#define CDIOC_STANDBY 0x4384
50
#define CDIOC_STOP 0x4385
51
#define CDIOC_PAUSE 0x4386
52
#define CDIOC_GETTOC 0x4387
53
#define CDIOC_SETTIMEOUT 0x4388
54
#define CDIOC_READDVDDUALINFO 0x4389
55
#define CDIOC_INIT 0x438A
56
#define CDIOC_FSCACHEINIT 0x4395
57
#define CDIOC_FSCACHEDELETE 0x4397
58
60
// CDVDSTM.IRX
61
62
typedef
struct
cdrom_stm_devctl_
63
{
64
u32 m_posszarg1;
65
u32 m_posszarg2;
66
void
*m_buffer;
67
u32 m_cmdid;
68
sceCdRMode
m_rmode;
69
u32 m_error;
70
} cdrom_stm_devctl_t;
71
72
73
#endif
/* __CDVD_IOCTL_H__ */
libcdvd-common.h
cdrom_stm_devctl_
Definition
cdvd-ioctl.h:63
sceCdRMode
Definition
libcdvd-common.h:235
core
common
include
cdvd-ioctl.h
Generated by
1.18.0