ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
sior-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 __SIOR_COMMON_H__
17 #define __SIOR_COMMON_H__
18 
19 #include <tamtypes.h>
20 
21 #define SIOR_IRX 0xC001510
22 
23 enum {
24  SIOR_INIT = 1,
34 };
35 
36 struct siorInitArgs {
42 };
43 
44 struct siorReadArgs {
45  char *buf;
47 };
48 
49 struct siorWriteArgs {
50  const char *buf;
52 };
53 
55  u8 data[64];
56  int result;
57  struct siorInitArgs init;
58  struct siorReadArgs read;
59  struct siorWriteArgs write;
60  const char *cstr;
61  char *str;
62  int c;
63 };
64 
65 #endif /* __SIOR_COMMON_H__ */
@ SIOR_INIT
Definition: sior-common.h:24
@ SIOR_PUTS
Definition: sior-common.h:30
@ SIOR_WRITE
Definition: sior-common.h:28
@ SIOR_GETC
Definition: sior-common.h:26
@ SIOR_FLUSH
Definition: sior-common.h:33
@ SIOR_READ
Definition: sior-common.h:29
@ SIOR_GETCBLOCK
Definition: sior-common.h:27
@ SIOR_PUTSN
Definition: sior-common.h:31
@ SIOR_PUTC
Definition: sior-common.h:25
@ SIOR_GETS
Definition: sior-common.h:32
char * buf
Definition: sior-common.h:45
const char * buf
Definition: sior-common.h:50
signed int s32
Definition: tamtypes.h:58
unsigned int u32
Definition: tamtypes.h:30
unsigned char u8
Definition: tamtypes.h:23
struct siorReadArgs read
Definition: sior-common.h:58
const char * cstr
Definition: sior-common.h:60
struct siorInitArgs init
Definition: sior-common.h:57
struct siorWriteArgs write
Definition: sior-common.h:59