ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
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  union{
23  struct {
27  void *data;
28  } cmd;
29  u8 buffer[128];
30  };
31 };
32 
33 struct rmEEData
34 {
35  u8 data[32];
40 };
41 
42 #define RMMAN_RPC_ID 0x80000C00
43 
50 };
51 
52 enum RM_RSTATE {
56 };
57 
58 enum RM_STATE {
63 };
64 
65 #endif /* _LIBRM_COMMON_H_ */
RM_STATE
Definition: librm-common.h:58
@ RM_STATE_EXECCMD
Definition: librm-common.h:61
@ RM_STATE_FINDRM
Definition: librm-common.h:60
@ RM_STATE_STABLE
Definition: librm-common.h:62
@ RM_STATE_DISCONN
Definition: librm-common.h:59
RMMAN_RPCFUNC
Definition: librm-common.h:44
@ RMMAN_RPCFUNC_CLOSE
Definition: librm-common.h:47
@ RMMAN_RPCFUNC_OPEN
Definition: librm-common.h:48
@ RMMAN_RPCFUNC_VERSION
Definition: librm-common.h:49
@ RMMAN_RPCFUNC_END
Definition: librm-common.h:45
@ RMMAN_RPCFUNC_INIT
Definition: librm-common.h:46
RM_RSTATE
Definition: librm-common.h:52
@ RM_RSTATE_COMPLETE
Definition: librm-common.h:53
@ RM_RSTATE_BUSY
Definition: librm-common.h:55
@ RM_RSTATE_FAILED
Definition: librm-common.h:54
u32 unused
Definition: librm-common.h:37
u32 connected
Definition: librm-common.h:38
u8 data[32]
Definition: librm-common.h:35
struct rmRpcPacket::@61::@63 cmd
void * data
Definition: librm-common.h:27
u8 buffer[128]
Definition: librm-common.h:29
signed int s32
Definition: tamtypes.h:58
unsigned int u32
Definition: tamtypes.h:30
unsigned char u8
Definition: tamtypes.h:23