pspsdk-1.0+beta2
|
#include "pspdebug.h"
Data Structures | |
struct | _returnCache |
Macros | |
#define | RESTORE_RETURNVAL 0x8fbf0000 |
#define | RESTORE_RETURNVAL_MASK 0xffff0000 |
#define | RESTORE_RETURNVAL2 0xdfbf0000 |
#define | RESTORE_RETURNVAL3 0x7bbf0000 |
#define | ADJUST_STACKP_C 0x27bd0000 |
#define | ADJUST_STACKP_C_MASK 0xffff0000 |
#define | ADJUST_STACKP_V 0x03a1e821 |
#define | ADJUST_STACKP_V_MASK 0xffffffff |
#define | SET_UPPER_C 0x3c010000 |
#define | SET_UPPER_C_MASK 0xffff0000 |
#define | OR_LOWER_C 0x34210000 |
#define | OR_LOWER_C_MASK 0xffff0000 |
#define | SET_LOWER_C 0x34010000 |
#define | SET_LOWER_C_MASK 0xffff0000 |
#define | RETURN 0x03e00008 |
#define | CALL(f) (0x0c000000 | (((int) (f)) >> 2)) |
#define | HASH_SIZE 256 |
#define | HASH(ra) ((((int) (ra)) >> 2) & (HASH_SIZE - 1)) |
#define | TRUE 1 |
#define | FALSE 0 |
Typedefs | |
typedef struct _returnCache | ReturnCacheRec |
typedef struct _returnCache * | ReturnCachePtr |
typedef int | Bool |
Functions | |
unsigned int * | pspGetReturnAddress () |
unsigned int * | pspGetStackPointer () |
int | main () |
int | pspDebugGetStackTrace (unsigned int *results, int max) |
Get a MIPS stack trace (might work :P) |
#define ADJUST_STACKP_C 0x27bd0000 |
Referenced by pspDebugGetStackTrace().
#define ADJUST_STACKP_C_MASK 0xffff0000 |
Referenced by pspDebugGetStackTrace().
#define ADJUST_STACKP_V 0x03a1e821 |
Referenced by pspDebugGetStackTrace().
#define ADJUST_STACKP_V_MASK 0xffffffff |
Referenced by pspDebugGetStackTrace().
#define CALL | ( | f | ) | (0x0c000000 | (((int) (f)) >> 2)) |
Referenced by pspDebugGetStackTrace().
#define FALSE 0 |
Referenced by pspDebugGetStackTrace().
Referenced by pspDebugGetStackTrace().
#define HASH_SIZE 256 |
#define OR_LOWER_C 0x34210000 |
Referenced by pspDebugGetStackTrace().
#define OR_LOWER_C_MASK 0xffff0000 |
Referenced by pspDebugGetStackTrace().
#define RESTORE_RETURNVAL 0x8fbf0000 |
Referenced by pspDebugGetStackTrace().
#define RESTORE_RETURNVAL2 0xdfbf0000 |
Referenced by pspDebugGetStackTrace().
#define RESTORE_RETURNVAL3 0x7bbf0000 |
Referenced by pspDebugGetStackTrace().
#define RESTORE_RETURNVAL_MASK 0xffff0000 |
Referenced by pspDebugGetStackTrace().
#define RETURN 0x03e00008 |
Referenced by pspDebugGetStackTrace().
#define SET_LOWER_C 0x34010000 |
Referenced by pspDebugGetStackTrace().
#define SET_LOWER_C_MASK 0xffff0000 |
Referenced by pspDebugGetStackTrace().
#define SET_UPPER_C 0x3c010000 |
Referenced by pspDebugGetStackTrace().
#define SET_UPPER_C_MASK 0xffff0000 |
Referenced by pspDebugGetStackTrace().
#define TRUE 1 |
Referenced by pspDebugGetStackTrace().
typedef int Bool |
typedef struct _returnCache * ReturnCachePtr |
typedef struct _returnCache ReturnCacheRec |
int main | ( | ) |
Referenced by _main(), and pspDebugGetStackTrace().
unsigned int* pspGetReturnAddress | ( | ) |
Referenced by pspDebugGetStackTrace().
unsigned int* pspGetStackPointer | ( | ) |
Referenced by pspDebugGetStackTrace().