PS2SDK
PS2 Homebrew Libraries
|
#include <types.h>
Go to the source code of this file.
Data Structures | |
struct | irx_id |
struct | irx_import_table |
struct | irx_import_stub |
struct | irx_export_table |
Macros | |
#define | IRX_VER(major, minor) ((((major) & 0xff) << 8) + ((minor) & 0xff)) |
#define | IRX_ID(name, major, minor) |
#define | IMPORT_MAGIC 0x41e00000 |
#define | DECLARE_IMPORT_TABLE(modname, major, minor) |
#define | STR(val) #val |
#define | DECLARE_IMPORT(ord, name) |
#define | END_IMPORT_TABLE __asm__ (".section\t.text\n\t.word\t0, 0"); |
#define | EXPORT_MAGIC 0x41c00000 |
#define | DECLARE_EXPORT_TABLE(modname, major, minor) |
#define | DECLARE_EXPORT(fptr) __asm__ (".section\t.text\n\t.word\t" STR(fptr)); |
#define | END_EXPORT_TABLE __asm__ (".section\t.text\n\t.word\t0"); |
Functions | |
struct irx_import_table | __attribute ((packed)) |
void | __attribute__ ((unused)) _retonly() |
Variables | |
u32 | magic |
struct irx_import_table * | next |
u16 | version |
u16 | mode |
char | name [8] |
void * | stubs [] |
u32 | jump |
u16 | fno |
u16 | ori_zero |
struct irx_export_table | __attribute |
Convienence macros for IRX modules.
Definition in file irx.h.
struct irx_import_table |
Data Fields | ||
---|---|---|
u32 | magic | |
struct irx_import_table * | next | |
u16 | version | |
u16 | mode | |
char | name[8] | |
void * | stubs[] |
struct irx_import_stub |
struct irx_export_table |
Data Fields | ||
---|---|---|
u32 | magic | |
struct irx_export_table * | next | |
u16 | version | |
u16 | mode | |
u8 | name[8] | |
void * | fptrs[] |
#define IRX_VER | ( | major, | |
minor | |||
) | ((((major) & 0xff) << 8) + ((minor) & 0xff)) |
#define IRX_ID | ( | name, | |
major, | |||
minor | |||
) |
#define DECLARE_IMPORT_TABLE | ( | modname, | |
major, | |||
minor | |||
) |
#define DECLARE_IMPORT | ( | ord, | |
name | |||
) |
#define END_IMPORT_TABLE __asm__ (".section\t.text\n\t.word\t0, 0"); |
#define DECLARE_EXPORT_TABLE | ( | modname, | |
major, | |||
minor | |||
) |
#define DECLARE_EXPORT | ( | fptr | ) | __asm__ (".section\t.text\n\t.word\t" STR(fptr)); |
#define END_EXPORT_TABLE __asm__ (".section\t.text\n\t.word\t0"); |
struct irx_import_table* next |