PS2SDK
PS2 Homebrew Libraries
|
#include <tamtypes.h>
Go to the source code of this file.
Data Structures | |
struct | erl_record_t |
struct | symbol_t |
Macros | |
#define | ERL_FLAG_STICKY 1 |
#define | ERL_FLAG_STATIC 2 |
#define | ERL_FLAG_CLEAR 4 |
#define | ERL_DYN_ADDR 0 |
Typedefs | |
typedef struct erl_record_t *(* | erl_loader_t) (char *erl_id) |
Functions | |
struct erl_record_t * | load_erl_from_mem (u8 *mem, int argc, char **argv) |
struct erl_record_t * | load_erl_from_file (const char *fname, int argc, char **argv) |
struct erl_record_t * | _init_load_erl_from_file (const char *fname, char *erl_id) |
struct erl_record_t * | load_erl_from_mem_to_addr (u8 *mem, u32 addr, int argc, char **argv) |
struct erl_record_t * | load_erl_from_file_to_addr (const char *fname, u32 addr, int argc, char **argv) |
struct erl_record_t * | _init_load_erl_from_file_to_addr (const char *fname, u32 addr, char *erl_id) |
int | unload_erl (struct erl_record_t *erl) |
int | erl_add_global_symbol (const char *symbol, u32 address) |
struct erl_record_t * | find_erl (const char *name) |
struct erl_record_t * | erl_resolve (u32 address) |
struct symbol_t * | erl_find_local_symbol (const char *symbol, struct erl_record_t *erl) |
struct symbol_t * | erl_find_symbol (const char *symbol) |
void | erl_flush_symbols (struct erl_record_t *erl) |
Variables | |
char | _init_erl_prefix [] |
erl_loader_t | _init_load_erl |
The relocatable elf loader/linker.
Definition in file erl.h.
struct erl_record_t |
Data Fields | ||
---|---|---|
u8 * | bytes | |
u32 | fullsize | |
char * | name | |
char ** | dependancies | |
u32 | flags | |
struct htab * | symbols | |
struct erl_record_t * | next | |
struct erl_record_t * | prev |
struct symbol_t |
#define ERL_FLAG_STATIC 2 |
typedef struct erl_record_t *(* erl_loader_t) (char *erl_id) |
struct erl_record_t * load_erl_from_mem | ( | u8 * | mem, |
int | argc, | ||
char ** | argv | ||
) |
struct erl_record_t * load_erl_from_file | ( | const char * | fname, |
int | argc, | ||
char ** | argv | ||
) |
struct erl_record_t * _init_load_erl_from_file | ( | const char * | fname, |
char * | erl_id | ||
) |
struct erl_record_t * load_erl_from_mem_to_addr | ( | u8 * | mem, |
u32 | addr, | ||
int | argc, | ||
char ** | argv | ||
) |
struct erl_record_t * load_erl_from_file_to_addr | ( | const char * | fname, |
u32 | addr, | ||
int | argc, | ||
char ** | argv | ||
) |
struct erl_record_t * _init_load_erl_from_file_to_addr | ( | const char * | fname, |
u32 | addr, | ||
char * | erl_id | ||
) |
int unload_erl | ( | struct erl_record_t * | erl | ) |
int erl_add_global_symbol | ( | const char * | symbol, |
u32 | address | ||
) |
struct erl_record_t * find_erl | ( | const char * | name | ) |
struct erl_record_t * erl_resolve | ( | u32 | address | ) |
struct symbol_t * erl_find_local_symbol | ( | const char * | symbol, |
struct erl_record_t * | erl | ||
) |
void erl_flush_symbols | ( | struct erl_record_t * | erl | ) |