ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
libcdvd-rpc.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 __LIBCDVD_RPC_H__
17
#define __LIBCDVD_RPC_H__
18
19
#include <
tamtypes.h
>
20
21
/* S-command parameters */
22
23
struct
cdvdScmdParam
{
24
u16
cmdNum
;
25
u16
inBuffSize
;
26
u8
inBuff
[16];
27
};
28
29
struct
cdvdDecSetParam
{
30
u8
arg1
;
31
u8
arg2
;
32
u8
shift
;
33
u8
pad
;
34
};
35
36
struct
cdvdReadWriteNvmParam
{
37
u32
address
;
38
u16
value
;
39
u16
pad
;
40
};
41
42
/* N-command parameters */
43
44
struct
cdvdNcmdParam
{
45
u16
cmdNum
;
46
u16
inBuffSize
;
47
u8
inBuff
[16];
48
};
49
50
struct
cdvdReadKeyParam
{
51
u32
arg1
;
52
u32
arg2
;
53
u32
command
;
54
};
55
56
#endif
/* _LIBCDVD_RPC_H_ */
cdvdDecSetParam
Definition:
libcdvd-rpc.h:29
cdvdDecSetParam::arg2
u8 arg2
Definition:
libcdvd-rpc.h:31
cdvdDecSetParam::arg1
u8 arg1
Definition:
libcdvd-rpc.h:30
cdvdDecSetParam::pad
u8 pad
Definition:
libcdvd-rpc.h:33
cdvdDecSetParam::shift
u8 shift
Definition:
libcdvd-rpc.h:32
cdvdNcmdParam
Definition:
libcdvd-rpc.h:44
cdvdNcmdParam::inBuff
u8 inBuff[16]
Definition:
libcdvd-rpc.h:47
cdvdNcmdParam::inBuffSize
u16 inBuffSize
Definition:
libcdvd-rpc.h:46
cdvdNcmdParam::cmdNum
u16 cmdNum
Definition:
libcdvd-rpc.h:45
cdvdReadKeyParam
Definition:
libcdvd-rpc.h:50
cdvdReadKeyParam::arg2
u32 arg2
Definition:
libcdvd-rpc.h:52
cdvdReadKeyParam::arg1
u32 arg1
Definition:
libcdvd-rpc.h:51
cdvdReadKeyParam::command
u32 command
Definition:
libcdvd-rpc.h:53
cdvdReadWriteNvmParam
Definition:
libcdvd-rpc.h:36
cdvdReadWriteNvmParam::pad
u16 pad
Definition:
libcdvd-rpc.h:39
cdvdReadWriteNvmParam::value
u16 value
Definition:
libcdvd-rpc.h:38
cdvdReadWriteNvmParam::address
u32 address
Definition:
libcdvd-rpc.h:37
cdvdScmdParam
Definition:
libcdvd-rpc.h:23
cdvdScmdParam::cmdNum
u16 cmdNum
Definition:
libcdvd-rpc.h:24
cdvdScmdParam::inBuffSize
u16 inBuffSize
Definition:
libcdvd-rpc.h:25
cdvdScmdParam::inBuff
u8 inBuff[16]
Definition:
libcdvd-rpc.h:26
tamtypes.h
u32
unsigned int u32
Definition:
tamtypes.h:30
u16
unsigned short u16
Definition:
tamtypes.h:24
u8
unsigned char u8
Definition:
tamtypes.h:23
common
include
libcdvd-rpc.h
Generated on Thu Feb 11 2021 11:42:21 for ps2sdk by
1.9.2