PS2SDK
PS2 Homebrew Libraries
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
c
d
e
f
g
i
l
m
n
p
q
r
s
t
u
v
Variables
_
c
d
f
g
i
k
m
n
p
q
r
s
t
u
v
w
Typedefs
a
d
h
i
l
m
n
p
r
s
t
w
Enumerations
_
a
c
d
g
i
l
m
n
o
p
s
t
v
Enumerator
c
d
e
g
i
n
p
s
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
z
▼
PS2SDK
PS2SDK - PS2DEV Open Source Project
PS2SDK - KERNEL LIBRARY
remote
►
Topics
►
Data Structures
▼
Files
▼
File List
▼
common
▼
include
►
sys
►
aifregs.h
as_reg_compat.h
►
atahw.h
►
cdvd-ioctl.h
►
dev5_mmio_hwport.h
►
dev9regs.h
►
ee_cop0_defs.h
►
ee_regs.h
►
errno.h
►
fileio-common.h
►
fileXio.h
►
gif_registers.h
►
gif_tags.h
►
gs_gp.h
►
gs_privileged.h
►
gs_psm.h
►
hdd-ioctl.h
►
io_common.h
►
iop_cop0_defs.h
►
iop_low_memory_globals.h
►
iop_mmio_hwport.h
►
iop_regs.h
►
iopheap-common.h
►
iox_stat.h
►
libcdvd-common.h
►
libcdvd-rpc.h
►
libmc-common.h
►
librm-common.h
►
libsd-common.h
►
libsecr-common.h
►
loadfile-common.h
►
netman.h
►
netman_rpc.h
►
ps2_debug.h
►
ps2_reg_defs.h
►
ps2ip_rpc.h
►
ps2lib_err.h
►
ps2smb.h
ps2snd.h
pwroff_rpc.h
secrsif.h
►
sif_mmio_hwport.h
►
sifcmd-common.h
►
sifrpc-common.h
►
sior-common.h
►
smapregs.h
►
speedregs.h
►
spu2_mmio_hwport.h
tamtypes.h
►
tcpip.h
►
usbhdfsd-common.h
►
vif_codes.h
►
vif_registers.h
►
sbus
►
ee
►
iop
►
tools
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
librm-common.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 __LIBRM_COMMON_H__
17
#define __LIBRM_COMMON_H__
18
19
#include <
tamtypes.h
>
20
21
struct
rmRpcPacket
22
{
23
union
24
{
25
struct
26
{
27
s32 command;
28
union
29
{
30
struct
31
{
32
s32 port, slot;
33
s32 result;
34
void
*data;
35
} cmd1;
30
struct
{
…
};
36
struct
37
{
38
s32 result;
39
void
*data;
40
} cmd2;
36
struct
{
…
};
41
} u;
28
union
{
…
};
42
} cmd;
25
struct
{
…
};
43
u8 buffer[128];
44
};
23
union
{
…
};
45
};
21
struct
rmRpcPacket
{
…
};
46
47
struct
rmEEData
48
{
49
u8 data[32];
50
u32 frame;
51
u32 unused;
52
u32 connected;
53
u32 state;
54
};
47
struct
rmEEData
{
…
};
55
56
struct
rmEEData2
57
{
58
u8 data[32];
59
u32 connected;
60
u32 state;
61
u32 unused;
62
u32 frame;
63
};
56
struct
rmEEData2
{
…
};
64
65
#define RMMAN_RPC_ID 0x80000C00
66
#define RMMAN2_RPC_ID 0x80000C01
67
#define RMMANX_RPC_ID 0x80000C02
68
69
enum
RMMAN_RPCFUNC {
70
RMMAN_RPCFUNC_END = 1,
71
RMMAN_RPCFUNC_INIT = 3,
72
RMMAN_RPCFUNC_CLOSE,
73
RMMAN_RPCFUNC_OPEN,
74
RMMAN_RPCFUNC_VERSION = 7
75
};
76
77
enum
RMMAN2_RPCFUNC {
78
RMMAN2_RPCFUNC_END = 1,
79
RMMAN2_RPCFUNC_INIT,
80
RMMAN2_RPCFUNC_CLOSE,
81
RMMAN2_RPCFUNC_OPEN,
82
RMMAN2_RPCFUNC_VERSION,
83
RMMAN2_RPCFUNC_REMOTE2_6,
84
};
85
86
enum
RM_RSTATE {
87
RM_RSTATE_COMPLETE = 0,
88
RM_RSTATE_FAILED,
89
RM_RSTATE_BUSY
90
};
91
92
enum
RM_STATE {
93
RM_STATE_DISCONN = 0,
94
RM_STATE_FINDRM,
95
RM_STATE_EXECCMD,
96
RM_STATE_STABLE
97
};
98
99
#endif
/* _LIBRM_COMMON_H_ */
rmEEData
Definition
librm-common.h:48
rmEEData2
Definition
librm-common.h:57
rmRpcPacket
Definition
librm-common.h:22
tamtypes.h
common
include
librm-common.h
Generated on Wed Feb 19 2025 02:05:14 for PS2SDK by
1.12.0