PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
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
{
25
u16 cmdNum;
26
u16 inBuffSize;
27
u8 inBuff[16];
28
};
29
30
struct
cdvdDecSetParam
31
{
32
u8 arg1;
33
u8 arg2;
34
u8 shift;
35
u8 pad;
36
};
37
38
struct
cdvdReadWriteNvmParam
39
{
40
u32 address;
41
u16 value;
42
u16 pad;
43
};
44
45
/* N-command parameters */
46
47
struct
cdvdNcmdParam
48
{
49
u16 cmdNum;
50
u16 inBuffSize;
51
u8 inBuff[16];
52
};
53
54
struct
cdvdReadKeyParam
55
{
56
u32 arg1;
57
u32 arg2;
58
u32 command;
59
};
60
61
#endif
/* _LIBCDVD_RPC_H_ */
cdvdDecSetParam
Definition
libcdvd-rpc.h:31
cdvdNcmdParam
Definition
libcdvd-rpc.h:48
cdvdReadKeyParam
Definition
libcdvd-rpc.h:55
cdvdReadWriteNvmParam
Definition
libcdvd-rpc.h:39
cdvdScmdParam
Definition
libcdvd-rpc.h:24
tamtypes.h
common
include
libcdvd-rpc.h
Generated on Thu Nov 14 2024 05:25:24 for PS2SDK by
1.9.8