sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
smod.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright (c) 2003 Marcus R. Brown <mrbrown@0xd6.org>
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
16
17
#ifndef __SMOD_H__
18
#define __SMOD_H__
19
20
#include <
tamtypes.h
>
21
25
typedef
struct
_smod_mod_info
{
26
struct
_smod_mod_info
*next;
28
char
*
name
;
29
u16 version;
31
u16
newflags
;
32
u16 id;
33
u16 unused;
35
u32
entry
;
36
u32 gp;
37
u32 text_start;
38
u32 text_size;
39
u32 data_size;
40
u32 bss_size;
41
u32 unused1;
42
u32 unused2;
43
}
smod_mod_info_t
;
44
45
#ifdef __cplusplus
46
extern
"C"
{
47
#endif
48
50
extern
int
smod_get_next_mod
(
smod_mod_info_t
*cur_mod,
smod_mod_info_t
*next_mod);
51
53
extern
int
smod_get_mod_by_name
(
const
char
*name,
smod_mod_info_t
*info);
54
55
#ifdef __cplusplus
56
}
57
#endif
58
59
#endif
/* __SMOD_H__ */
smod_get_next_mod
ModuleInfo_t * smod_get_next_mod(ModuleInfo_t *cur_mod)
Definition
smod.c:39
smod_get_mod_by_name
ModuleInfo_t * smod_get_mod_by_name(const char *name)
Definition
smod.c:63
smod_mod_info_t
struct _smod_mod_info smod_mod_info_t
_smod_mod_info
Definition
smod.h:25
_smod_mod_info::newflags
u16 newflags
Definition
smod.h:31
_smod_mod_info::name
char * name
Definition
smod.h:28
_smod_mod_info::entry
u32 entry
Definition
smod.h:35
tamtypes.h
core
sbv
include
smod.h
Generated by
1.18.0