PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
libcdvd-rpc.h File Reference
#include <tamtypes.h>
#include <libcdvd-common.h>
+ Include dependency graph for libcdvd-rpc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cdvdScmdParam
 
struct  cdvdDecSetParam
 
struct  cdvdReadWriteNvmParam
 
struct  cdvdNcmdParam
 
struct  cdvdReadKeyParam
 
struct  cdvdfsv_rpc1_inpacket_
 
struct  cdvdfsv_rpc1_outpacket_
 
struct  cdvdfsv_rpc2_inpacket_
 
struct  cdvdfsv_rpc2_outpacket_
 
struct  cdvdfsv_unaligned_data_outpacket_
 
struct  cdvdfsv_rpc4_sz12c_inpacket_
 
struct  cdvdfsv_rpc4_sz128_inpacket_
 
struct  cdvdfsv_rpc4_sz124_inpacket_
 
union  cdvdfsv_rpc4_inpacket_
 
struct  cdvdfsv_rpc4_outpacket_
 
struct  cdvdfsv_rpc3_05_inpacket_
 
struct  cdvdfsv_rpc3_0B_inpacket_
 
struct  cdvdfsv_rpc3_15_inpacket_
 
struct  cdvdfsv_rpc3_22_inpacket_
 
struct  cdvdfsv_rpc3_23_inpacket_
 
struct  cdvdfsv_rpc3_25_inpacket_
 
union  cdvdfsv_rpc3_inpacket_
 
struct  cdvdfsv_rpc3_01_outpacket_
 
struct  cdvdfsv_rpc3_05_outpacket_
 
struct  cdvdfsv_rpc3_06_outpacket_
 
struct  cdvdfsv_rpc3_0B_outpacket_
 
struct  cdvdfsv_rpc3_15_outpacket_
 
struct  cdvdfsv_rpc3_1A_outpacket_
 
struct  cdvdfsv_rpc3_21_outpacket_
 
struct  cdvdfsv_rpc3_24_outpacket_
 
struct  cdvdfsv_rpc3_26_outpacket_
 
struct  cdvdfsv_rpc3_27_outpacket_
 
union  cdvdfsv_rpc3_outpacket_
 
struct  cdvdfsv_rpc5_01_inpacket_
 
struct  cdvdfsv_rpc5_02_inpacket_
 
struct  cdvdfsv_rpc5_04_inpacket_
 
struct  cdvdfsv_rpc5_05_inpacket_
 
struct  cdvdfsv_rpc5_0C_inpacket_
 
struct  cdvdfsv_rpc5_0D_inpacket_
 
struct  cdvdfsv_rpc5_0F_inpacket_
 
union  cdvdfsv_rpc5_inpacket_
 
struct  cdvdfsv_rpc5_04_outpacket_
 
struct  cdvdfsv_rpc5_11_outpacket_
 
struct  cdvdfsv_rpc5_17_outpacket_
 
union  cdvdfsv_rpc5_outpacket_
 

Typedefs

typedef struct cdvdfsv_rpc1_inpacket_ cdvdfsv_rpc1_inpacket_t
 
typedef struct cdvdfsv_rpc1_outpacket_ cdvdfsv_rpc1_outpacket_t
 
typedef struct cdvdfsv_rpc2_inpacket_ cdvdfsv_rpc2_inpacket_t
 
typedef struct cdvdfsv_rpc2_outpacket_ cdvdfsv_rpc2_outpacket_t
 
typedef struct cdvdfsv_unaligned_data_outpacket_ cdvdfsv_unaligned_data_outpacket_t
 
typedef struct cdvdfsv_rpc4_sz12c_inpacket_ cdvdfsv_rpc4_sz12c_inpacket_t
 
typedef struct cdvdfsv_rpc4_sz128_inpacket_ cdvdfsv_rpc4_sz128_inpacket_t
 
typedef struct cdvdfsv_rpc4_sz124_inpacket_ cdvdfsv_rpc4_sz124_inpacket_t
 
typedef union cdvdfsv_rpc4_inpacket_ cdvdfsv_rpc4_inpacket_t
 
typedef struct cdvdfsv_rpc4_outpacket_ cdvdfsv_rpc4_outpacket_t
 
typedef struct cdvdfsv_rpc3_05_inpacket_ cdvdfsv_rpc3_05_inpacket_t
 
typedef struct cdvdfsv_rpc3_0B_inpacket_ cdvdfsv_rpc3_0B_inpacket_t
 
typedef struct cdvdfsv_rpc3_15_inpacket_ cdvdfsv_rpc3_15_inpacket_t
 
typedef struct cdvdfsv_rpc3_22_inpacket_ cdvdfsv_rpc3_22_inpacket_t
 
typedef struct cdvdfsv_rpc3_23_inpacket_ cdvdfsv_rpc3_23_inpacket_t
 
typedef struct cdvdfsv_rpc3_25_inpacket_ cdvdfsv_rpc3_25_inpacket_t
 
typedef union cdvdfsv_rpc3_inpacket_ cdvdfsv_rpc3_inpacket_t
 
typedef struct cdvdfsv_rpc3_01_outpacket_ cdvdfsv_rpc3_01_outpacket_t
 
typedef struct cdvdfsv_rpc3_05_outpacket_ cdvdfsv_rpc3_05_outpacket_t
 
typedef struct cdvdfsv_rpc3_06_outpacket_ cdvdfsv_rpc3_06_outpacket_t
 
typedef struct cdvdfsv_rpc3_0B_outpacket_ cdvdfsv_rpc3_0B_outpacket_t
 
typedef struct cdvdfsv_rpc3_15_outpacket_ cdvdfsv_rpc3_15_outpacket_t
 
typedef struct cdvdfsv_rpc3_1A_outpacket_ cdvdfsv_rpc3_1A_outpacket_t
 
typedef struct cdvdfsv_rpc3_21_outpacket_ cdvdfsv_rpc3_21_outpacket_t
 
typedef struct cdvdfsv_rpc3_24_outpacket_ cdvdfsv_rpc3_24_outpacket_t
 
typedef struct cdvdfsv_rpc3_26_outpacket_ cdvdfsv_rpc3_26_outpacket_t
 
typedef struct cdvdfsv_rpc3_27_outpacket_ cdvdfsv_rpc3_27_outpacket_t
 
typedef union cdvdfsv_rpc3_outpacket_ cdvdfsv_rpc3_outpacket_t
 
typedef struct cdvdfsv_rpc5_01_inpacket_ cdvdfsv_rpc5_01_inpacket_t
 
typedef struct cdvdfsv_rpc5_02_inpacket_ cdvdfsv_rpc5_02_inpacket_t
 
typedef struct cdvdfsv_rpc5_04_inpacket_ cdvdfsv_rpc5_04_inpacket_t
 
typedef struct cdvdfsv_rpc5_05_inpacket_ cdvdfsv_rpc5_05_inpacket_t
 
typedef struct cdvdfsv_rpc5_0C_inpacket_ cdvdfsv_rpc5_0C_inpacket_t
 
typedef struct cdvdfsv_rpc5_0D_inpacket_ cdvdfsv_rpc5_0D_inpacket_t
 
typedef struct cdvdfsv_rpc5_0F_inpacket_ cdvdfsv_rpc5_0F_inpacket_t
 
typedef union cdvdfsv_rpc5_inpacket_ cdvdfsv_rpc5_inpacket_t
 
typedef struct cdvdfsv_rpc5_04_outpacket_ cdvdfsv_rpc5_04_outpacket_t
 
typedef struct cdvdfsv_rpc5_11_outpacket_ cdvdfsv_rpc5_11_outpacket_t
 
typedef struct cdvdfsv_rpc5_17_outpacket_ cdvdfsv_rpc5_17_outpacket_t
 
typedef union cdvdfsv_rpc5_outpacket_ cdvdfsv_rpc5_outpacket_t
 

Detailed Description

Common definitions for the libcdvd RPC on the EE and IOP

Definition in file libcdvd-rpc.h.


Data Structure Documentation

◆ cdvdScmdParam

struct cdvdScmdParam

Definition at line 24 of file libcdvd-rpc.h.

Data Fields
u16 cmdNum
u16 inBuffSize
u8 inBuff[16]

◆ cdvdDecSetParam

struct cdvdDecSetParam

Definition at line 31 of file libcdvd-rpc.h.

Data Fields
u8 arg1
u8 arg2
u8 shift
u8 pad

◆ cdvdReadWriteNvmParam

struct cdvdReadWriteNvmParam

Definition at line 39 of file libcdvd-rpc.h.

Data Fields
u32 address
u16 value
u16 pad

◆ cdvdNcmdParam

struct cdvdNcmdParam

Definition at line 48 of file libcdvd-rpc.h.

Data Fields
u16 cmdNum
u16 inBuffSize
u8 inBuff[16]

◆ cdvdReadKeyParam

struct cdvdReadKeyParam

Definition at line 55 of file libcdvd-rpc.h.

Data Fields
u32 arg1
u32 arg2
u32 command

◆ cdvdfsv_rpc1_inpacket_

struct cdvdfsv_rpc1_inpacket_

Definition at line 64 of file libcdvd-rpc.h.

Data Fields
int m_mode

◆ cdvdfsv_rpc1_outpacket_

struct cdvdfsv_rpc1_outpacket_

Definition at line 69 of file libcdvd-rpc.h.

Data Fields
int m_retres
int m_cdvdfsv_ver
int m_cdvdman_ver
int m_debug_mode

◆ cdvdfsv_rpc2_inpacket_

struct cdvdfsv_rpc2_inpacket_

Definition at line 77 of file libcdvd-rpc.h.

Data Fields
int m_mode

◆ cdvdfsv_rpc2_outpacket_

struct cdvdfsv_rpc2_outpacket_

Definition at line 82 of file libcdvd-rpc.h.

Data Fields
int m_retres

◆ cdvdfsv_unaligned_data_outpacket_

struct cdvdfsv_unaligned_data_outpacket_

Definition at line 87 of file libcdvd-rpc.h.

Data Fields
u32 m_b1len
u32 m_b2len
u32 m_b1dst
u32 m_b2dst
u8 m_pbuf1[64]
u8 m_pbuf2[64]

◆ cdvdfsv_rpc4_sz12c_inpacket_

struct cdvdfsv_rpc4_sz12c_inpacket_

Definition at line 97 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc4_sz12c_inpacket_:
Data Fields
sceCdlFILE m_fp
int m_file_attributes
char m_path[256]
uiptr m_eedest
int m_layer

◆ cdvdfsv_rpc4_sz128_inpacket_

struct cdvdfsv_rpc4_sz128_inpacket_

Definition at line 106 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc4_sz128_inpacket_:
Data Fields
sceCdlFILE m_fp
int m_file_attributes
char m_path[256]
uiptr m_eedest

◆ cdvdfsv_rpc4_sz124_inpacket_

struct cdvdfsv_rpc4_sz124_inpacket_

Definition at line 114 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc4_sz124_inpacket_:
Data Fields
sceCdlFILE m_fp
char m_path[256]
uiptr m_eedest

◆ cdvdfsv_rpc4_inpacket_

union cdvdfsv_rpc4_inpacket_

Definition at line 121 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc4_inpacket_:
Data Fields
cdvdfsv_rpc4_sz12c_inpacket_t m_pkt_sz12c
cdvdfsv_rpc4_sz128_inpacket_t m_pkt_sz128
cdvdfsv_rpc4_sz124_inpacket_t m_pkt_sz124

◆ cdvdfsv_rpc4_outpacket_

struct cdvdfsv_rpc4_outpacket_

Definition at line 128 of file libcdvd-rpc.h.

Data Fields
int m_retres
int m_padding[3]

◆ cdvdfsv_rpc3_05_inpacket_

struct cdvdfsv_rpc3_05_inpacket_

Definition at line 134 of file libcdvd-rpc.h.

Data Fields
int m_param

◆ cdvdfsv_rpc3_0B_inpacket_

struct cdvdfsv_rpc3_0B_inpacket_

Definition at line 139 of file libcdvd-rpc.h.

Data Fields
u8 m_cmdNum
u8 m_gap1
u16 m_inBuffSize
u8 m_inBuff[16]

◆ cdvdfsv_rpc3_15_inpacket_

struct cdvdfsv_rpc3_15_inpacket_

Definition at line 147 of file libcdvd-rpc.h.

Data Fields
int m_mode

◆ cdvdfsv_rpc3_22_inpacket_

struct cdvdfsv_rpc3_22_inpacket_

Definition at line 152 of file libcdvd-rpc.h.

Data Fields
int m_media
char m_char4

◆ cdvdfsv_rpc3_23_inpacket_

struct cdvdfsv_rpc3_23_inpacket_

Definition at line 158 of file libcdvd-rpc.h.

Data Fields
int m_priority

◆ cdvdfsv_rpc3_25_inpacket_

struct cdvdfsv_rpc3_25_inpacket_

Definition at line 163 of file libcdvd-rpc.h.

Data Fields
int m_param
int m_timeout

◆ cdvdfsv_rpc3_inpacket_

union cdvdfsv_rpc3_inpacket_

Definition at line 169 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc3_inpacket_:
Data Fields
cdvdfsv_rpc3_05_inpacket_t m_pkt_05
cdvdfsv_rpc3_0B_inpacket_t m_pkt_0B
cdvdfsv_rpc3_15_inpacket_t m_pkt_15
cdvdfsv_rpc3_22_inpacket_t m_pkt_22
cdvdfsv_rpc3_23_inpacket_t m_pkt_23
cdvdfsv_rpc3_25_inpacket_t m_pkt_25

◆ cdvdfsv_rpc3_01_outpacket_

struct cdvdfsv_rpc3_01_outpacket_

Definition at line 179 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc3_01_outpacket_:
Data Fields
int m_retres
sceCdCLOCK m_clock

◆ cdvdfsv_rpc3_05_outpacket_

struct cdvdfsv_rpc3_05_outpacket_

Definition at line 185 of file libcdvd-rpc.h.

Data Fields
int m_retres
u32 m_traychk

◆ cdvdfsv_rpc3_06_outpacket_

struct cdvdfsv_rpc3_06_outpacket_

Definition at line 191 of file libcdvd-rpc.h.

Data Fields
int m_retres
u32 m_result
u8 m_buffer[8]

◆ cdvdfsv_rpc3_0B_outpacket_

struct cdvdfsv_rpc3_0B_outpacket_

Definition at line 198 of file libcdvd-rpc.h.

Data Fields
u8 m_outbuf[16]

◆ cdvdfsv_rpc3_15_outpacket_

struct cdvdfsv_rpc3_15_outpacket_

Definition at line 203 of file libcdvd-rpc.h.

Data Fields
int m_retres
u32 m_status

◆ cdvdfsv_rpc3_1A_outpacket_

struct cdvdfsv_rpc3_1A_outpacket_

Definition at line 209 of file libcdvd-rpc.h.

Data Fields
int m_retres
u32 m_status
char m_buffer[16]

◆ cdvdfsv_rpc3_21_outpacket_

struct cdvdfsv_rpc3_21_outpacket_

Definition at line 216 of file libcdvd-rpc.h.

Data Fields
int m_retres
u32 m_result

◆ cdvdfsv_rpc3_24_outpacket_

struct cdvdfsv_rpc3_24_outpacket_

Definition at line 222 of file libcdvd-rpc.h.

Data Fields
int m_retres
u64 m_guid

◆ cdvdfsv_rpc3_26_outpacket_

struct cdvdfsv_rpc3_26_outpacket_

Definition at line 228 of file libcdvd-rpc.h.

Data Fields
int m_retres
unsigned int m_id

◆ cdvdfsv_rpc3_27_outpacket_

struct cdvdfsv_rpc3_27_outpacket_

Definition at line 234 of file libcdvd-rpc.h.

Data Fields
int m_retres
int m_on_dual
unsigned int m_layer1_start

◆ cdvdfsv_rpc3_outpacket_

union cdvdfsv_rpc3_outpacket_

Definition at line 241 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc3_outpacket_:
Data Fields
int m_retres
cdvdfsv_rpc3_01_outpacket_t m_pkt_01
cdvdfsv_rpc3_05_outpacket_t m_pkt_05
cdvdfsv_rpc3_06_outpacket_t m_pkt_06
cdvdfsv_rpc3_0B_outpacket_t m_pkt_0B
cdvdfsv_rpc3_15_outpacket_t m_pkt_15
cdvdfsv_rpc3_1A_outpacket_t m_pkt_1A
cdvdfsv_rpc3_21_outpacket_t m_pkt_21
cdvdfsv_rpc3_24_outpacket_t m_pkt_24
cdvdfsv_rpc3_26_outpacket_t m_pkt_26
cdvdfsv_rpc3_27_outpacket_t m_pkt_27

◆ cdvdfsv_rpc5_01_inpacket_

struct cdvdfsv_rpc5_01_inpacket_

Definition at line 256 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc5_01_inpacket_:
Data Fields
u32 m_lbn
u32 m_sectors
uiptr m_paddr
sceCdRMode m_rmodeee
uiptr m_eeremaindest
uiptr m_eedest
u32 m_decval

◆ cdvdfsv_rpc5_02_inpacket_

struct cdvdfsv_rpc5_02_inpacket_

Definition at line 267 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc5_02_inpacket_:
Data Fields
u32 m_lbn
u32 m_sectors
uiptr m_buf
sceCdRMode m_mode
uiptr m_eeremaindest
uiptr m_eedest

◆ cdvdfsv_rpc5_04_inpacket_

struct cdvdfsv_rpc5_04_inpacket_

Definition at line 277 of file libcdvd-rpc.h.

Data Fields
uiptr m_eedest

◆ cdvdfsv_rpc5_05_inpacket_

struct cdvdfsv_rpc5_05_inpacket_

Definition at line 282 of file libcdvd-rpc.h.

Data Fields
u32 m_lbn

◆ cdvdfsv_rpc5_0C_inpacket_

struct cdvdfsv_rpc5_0C_inpacket_

Definition at line 287 of file libcdvd-rpc.h.

Data Fields
u8 m_cmdNum
u8 m_gap1
u16 m_inBuffSize
u8 m_inBuff[16]

◆ cdvdfsv_rpc5_0D_inpacket_

struct cdvdfsv_rpc5_0D_inpacket_

Definition at line 295 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc5_0D_inpacket_:
Data Fields
u32 m_lbn
u32 m_sectors
void * m_buf
sceCdRMode m_mode
u8 m_unused[4]
uiptr m_eedest

◆ cdvdfsv_rpc5_0F_inpacket_

struct cdvdfsv_rpc5_0F_inpacket_

Definition at line 305 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc5_0F_inpacket_:
Data Fields
sceCdRChain m_readChain[65]
sceCdRMode m_mode
uiptr m_eedest

◆ cdvdfsv_rpc5_inpacket_

union cdvdfsv_rpc5_inpacket_

Definition at line 312 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc5_inpacket_:
Data Fields
cdvdfsv_rpc5_01_inpacket_t m_pkt_01
cdvdfsv_rpc5_02_inpacket_t m_pkt_02
cdvdfsv_rpc5_04_inpacket_t m_pkt_04
cdvdfsv_rpc5_05_inpacket_t m_pkt_05
cdvdfsv_rpc5_0C_inpacket_t m_pkt_0C
cdvdfsv_rpc5_0D_inpacket_t m_pkt_0D
cdvdfsv_rpc5_0F_inpacket_t m_pkt_0F

◆ cdvdfsv_rpc5_04_outpacket_

struct cdvdfsv_rpc5_04_outpacket_

Definition at line 323 of file libcdvd-rpc.h.

Data Fields
int m_retres
int m_isdvd

◆ cdvdfsv_rpc5_11_outpacket_

struct cdvdfsv_rpc5_11_outpacket_

Definition at line 329 of file libcdvd-rpc.h.

Data Fields
int m_retres
u8 m_diskid[5]

◆ cdvdfsv_rpc5_17_outpacket_

struct cdvdfsv_rpc5_17_outpacket_

Definition at line 335 of file libcdvd-rpc.h.

Data Fields
int m_retres
u32 m_status

◆ cdvdfsv_rpc5_outpacket_

union cdvdfsv_rpc5_outpacket_

Definition at line 341 of file libcdvd-rpc.h.

+ Collaboration diagram for cdvdfsv_rpc5_outpacket_:
Data Fields
int m_retres
cdvdfsv_rpc5_04_outpacket_t m_pkt_04
cdvdfsv_rpc5_11_outpacket_t m_pkt_11
cdvdfsv_rpc5_17_outpacket_t m_pkt_17