|
PS2SDK
PS2 Homebrew Libraries
|
#include <modload.h>
Include dependency graph for xmodload.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | ModuleStatus |
| struct | LDfilefunc |
| struct | LMWOoption |
Functions | |
| int | GetModuleIdList (int *readbuf, int readbufsize, int *modulecount) |
| int | ReferModuleStatus (int modid, ModuleStatus *status) |
| int | GetModuleIdListByName (const char *name, int *readbuf, int readbufsize, int *modulecount) |
| int | LoadModuleWithOption (const char *filename, const LMWOoption *option) |
| int | StopModule (int modid, int arglen, const char *args, int *result) |
| int | UnloadModule (int modid) |
| int | SearchModuleByName (const char *name) |
| int | SearchModuleByAddress (const void *addr) |
| int | SelfStopModule (int arglen, const char *args, int *result) |
| void | SelfUnloadModule (void) |
| void * | AllocLoadMemory (int type, unsigned int size, void *addr) |
| int | FreeLoadMemory (void *area) |
| int | SetModuleFlags (int modid, int flag) |
Additional modload functions only found in newer IOPRP images
Definition in file xmodload.h.
| struct ModuleStatus |
Definition at line 28 of file xmodload.h.
| Data Fields | ||
|---|---|---|
| char | name[56] | |
| u16 | version | |
| u16 | flags | |
| int | id | |
| u32 | entry_addr | |
| u32 | gp_value | |
| u32 | text_addr | |
| u32 | text_size | |
| u32 | data_size | |
| u32 | bss_size | |
| u32 | lreserve[2] | |
| struct LMWOoption |
Definition at line 56 of file xmodload.h.
Collaboration diagram for LMWOoption:| Data Fields | ||
|---|---|---|
| char | position | |
| char | access | |
| char | creserved[2] | |
| void * | distaddr | |
| int | distoffset | |
| LDfilefunc * | functable | |
| void * | funcopt | |
| int | ireserved[3] | |