ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
common.h
Go to the documentation of this file.
1
#define SMEM_BUF_SIZE 0x300
//Must be large enough to accommodate all operations.
2
3
struct
smem_buf
{
4
union
{
5
u8
bytes
[
SMEM_BUF_SIZE
/
sizeof
(
u8
)];
6
u32
words
[
SMEM_BUF_SIZE
/
sizeof
(
u32
)];
7
smod_mod_info_t
mod_info
;
8
slib_exp_lib_t
exp_lib
;
9
};
10
};
11
12
int
smem_write_word
(
void
*address,
u32
value);
13
int
__memcmp
(
const
void
*
s1
,
const
void
*
s2
,
unsigned
int
length);
s1
#define s1
Definition:
as_reg_compat.h:73
s2
#define s2
Definition:
as_reg_compat.h:74
__memcmp
int __memcmp(const void *s1, const void *s2, unsigned int length)
Definition:
common.c:27
smem_write_word
int smem_write_word(void *address, u32 value)
Definition:
common.c:40
SMEM_BUF_SIZE
#define SMEM_BUF_SIZE
Definition:
common.h:1
slib_exp_lib_t
Definition:
slib.h:32
smem_buf
Definition:
common.h:3
smem_buf::bytes
u8 bytes[SMEM_BUF_SIZE/sizeof(u8)]
Definition:
common.h:5
smem_buf::words
u32 words[SMEM_BUF_SIZE/sizeof(u32)]
Definition:
common.h:6
smem_buf::exp_lib
slib_exp_lib_t exp_lib
Definition:
common.h:8
smem_buf::mod_info
smod_mod_info_t mod_info
Definition:
common.h:7
smod_mod_info_t
Definition:
smod.h:24
u32
unsigned int u32
Definition:
tamtypes.h:30
u8
unsigned char u8
Definition:
tamtypes.h:23
ee
sbv
src
common.h
Generated on Thu Feb 11 2021 11:42:23 for ps2sdk by
1.9.2