PS2SDK
PS2 Homebrew Libraries
|
#include <types.h>
Go to the source code of this file.
Macros | |
#define | NULL ((void *)0) |
#define | ALIGN(x, align) (((x)+((align)-1))&~((align)-1)) |
#define | PHYSADDR(a) (((u32)(a)) & 0x1fffffff) |
#define | KSEG1 0xa0000000 |
#define | KSEG1ADDR(a) ((__typeof__(a))(((u32)(a) & 0x1fffffff) | KSEG1)) |
#define | USE_GP_REGISTER 1 |
#define | SetModuleGP() ChangeGP(&_gp) |
Functions | |
static __inline__ void | SetGP (void *gp) |
static __inline__ void * | GetGP (void) |
static __inline__ void * | ChangeGP (void *gp) |
static void * | iop_memcpy (void *dest, const void *src, int size) |
Variables | |
void * | _gp |
IOPkit standard definitions.
Definition in file defs.h.
#define KSEG1ADDR | ( | a | ) | ((__typeof__(a))(((u32)(a) & 0x1fffffff) | KSEG1)) |