10#define OS_MODULE_VERSION 3
68#if (2 <= OS_MODULE_VERSION)
74#if (3 <= OS_MODULE_VERSION)
79#define OSGetSectionInfo(module) ((OSSectionInfo*)(((OSModuleInfo*)(module))->sectionInfoOffset))
81#define OS_SECTIONINFO_EXEC 0x1
82#define OS_SECTIONINFO_OFFSET(offset) ((offset) & ~0x1)
96#define R_DOLPHIN_NOP 201
97#define R_DOLPHIN_SECTION 202
98#define R_DOLPHIN_END 203
99#define R_DOLPHIN_MRKREF 204
BOOL OSUnlink(OSModuleInfo *module)
Definition OSLink.c:422
void __OSModuleInit(void)
Definition OSLink.c:481
u32 OSModuleID
Definition OSLink.h:14
BOOL OSLinkFixed(OSModuleInfo *newModule, void *bss)
Definition OSLink.c:322
void OSSetStringTable(void *string_table)
Definition OSLink.c:123
BOOL OSLink(OSModuleInfo *newModule, void *bss)
Definition OSLink.c:317
OSModuleQueue __OSModuleList AT_ADDRESS(0x800030C8)
T cLib_calcTimer(T *value)
Definition c_lib.h:74
OSModuleID id
Definition OSLink.h:85
u32 offset
Definition OSLink.h:86
u32 version
Definition OSLink.h:47
u32 numSections
Definition OSLink.h:43
OSModuleLink link
Definition OSLink.h:42
u32 sectionInfoOffset
Definition OSLink.h:44
OSModuleID id
Definition OSLink.h:41
u32 nameSize
Definition OSLink.h:46
u32 nameOffset
Definition OSLink.h:45
OSModuleInfo * next
Definition OSLink.h:31
OSModuleInfo * prev
Definition OSLink.h:32
OSModuleInfo * tail
Definition OSLink.h:24
OSModuleInfo * head
Definition OSLink.h:23
u8 section
Definition OSLink.h:92
u32 addend
Definition OSLink.h:93
u16 offset
Definition OSLink.h:90
u8 type
Definition OSLink.h:91
u32 size
Definition OSLink.h:37
u32 offset
Definition OSLink.h:36
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8