home *** CD-ROM | disk | FTP | other *** search
- #include <kxmips.h>
-
- //
- // Context Frame Offset and Flag Definitions
- //
-
- #define CONTEXT_FULL 0x10007
- #define CONTEXT_CONTROL 0x10001
- #define CONTEXT_FLOATING_POINT 0x10002
- #define CONTEXT_INTEGER 0x10004
-
- #define CxFltF0 0x10
- #define CxFltF1 0x14
- #define CxFltF2 0x18
- #define CxFltF3 0x1c
- #define CxFltF4 0x20
- #define CxFltF5 0x24
- #define CxFltF6 0x28
- #define CxFltF7 0x2c
- #define CxFltF8 0x30
- #define CxFltF9 0x34
- #define CxFltF10 0x38
- #define CxFltF11 0x3c
- #define CxFltF12 0x40
- #define CxFltF13 0x44
- #define CxFltF14 0x48
- #define CxFltF15 0x4c
- #define CxFltF16 0x50
- #define CxFltF17 0x54
- #define CxFltF18 0x58
- #define CxFltF19 0x5c
- #define CxFltF20 0x60
- #define CxFltF21 0x64
- #define CxFltF22 0x68
- #define CxFltF23 0x6c
- #define CxFltF24 0x70
- #define CxFltF25 0x74
- #define CxFltF26 0x78
- #define CxFltF27 0x7c
- #define CxFltF28 0x80
- #define CxFltF29 0x84
- #define CxFltF30 0x88
- #define CxFltF31 0x8c
- #define CxIntZero 0x90
- #define CxIntAt 0x94
- #define CxIntV0 0x98
- #define CxIntV1 0x9c
- #define CxIntA0 0xa0
- #define CxIntA1 0xa4
- #define CxIntA2 0xa8
- #define CxIntA3 0xac
- #define CxIntT0 0xb0
- #define CxIntT1 0xb4
- #define CxIntT2 0xb8
- #define CxIntT3 0xbc
- #define CxIntT4 0xc0
- #define CxIntT5 0xc4
- #define CxIntT6 0xc8
- #define CxIntT7 0xcc
- #define CxIntS0 0xd0
- #define CxIntS1 0xd4
- #define CxIntS2 0xd8
- #define CxIntS3 0xdc
- #define CxIntS4 0xe0
- #define CxIntS5 0xe4
- #define CxIntS6 0xe8
- #define CxIntS7 0xec
- #define CxIntT8 0xf0
- #define CxIntT9 0xf4
- #define CxIntK0 0xf8
- #define CxIntK1 0xfc
- #define CxIntGp 0x100
- #define CxIntSp 0x104
- #define CxIntS8 0x108
- #define CxIntRa 0x10c
- #define CxIntLo 0x110
- #define CxIntHi 0x114
- #define CxFsr 0x118
- #define CxFir 0x11c
- #define CxPsr 0x120
- #define CxContextFlags 0x124
- #define ContextFrameLength 0x130
-
- //
- // Breakpoint Definitions
- //
-
- #define USER_BREAKPOINT 0x0
- #define KERNEL_BREAKPOINT 0x1
- #define BREAKIN_BREAKPOINT 0x2
- #define BRANCH_TAKEN_BREAKPOINT 0x3
- #define BRANCH_NOT_TAKEN_BREAKPOINT 0x4
- #define SINGLE_STEP_BREAKPOINT 0x5
- #define DIVIDE_OVERFLOW_BREAKPOINT 0x6
- #define DIVIDE_BY_ZERO_BREAKPOINT 0x7
- #define RANGE_CHECK_BREAKPOINT 0x8
- #define STACK_OVERFLOW_BREAKPOINT 0x9
- #define MULTIPLY_OVERFLOW_BREAKPOINT 0xa
- #define DEBUG_PRINT_BREAKPOINT 0x14
- #define DEBUG_PROMPT_BREAKPOINT 0x15
- #define DEBUG_STOP_BREAKPOINT 0x16
- #define DEBUG_LOAD_SYMBOLS_BREAKPOINT 0x17
- #define DEBUG_UNLOAD_SYMBOLS_BREAKPOINT 0x18
-
-