sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
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
25typedef struct _smod_mod_info {
26 struct _smod_mod_info *next;
28 char *name;
29 u16 version;
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;
44
45#ifdef __cplusplus
46extern "C" {
47#endif
48
50extern int smod_get_next_mod(smod_mod_info_t *cur_mod, smod_mod_info_t *next_mod);
51
53extern 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__ */
ModuleInfo_t * smod_get_next_mod(ModuleInfo_t *cur_mod)
Definition smod.c:39
ModuleInfo_t * smod_get_mod_by_name(const char *name)
Definition smod.c:63
struct _smod_mod_info smod_mod_info_t
u16 newflags
Definition smod.h:31
char * name
Definition smod.h:28
u32 entry
Definition smod.h:35