home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / sdk / winh / mips / ksmips.h next >
Encoding:
C/C++ Source or Header  |  1995-07-11  |  2.4 KB  |  105 lines

  1. #include <kxmips.h>
  2.  
  3. //
  4. // Context Frame Offset and Flag Definitions
  5. //
  6.  
  7. #define CONTEXT_FULL 0x10007
  8. #define CONTEXT_CONTROL 0x10001
  9. #define CONTEXT_FLOATING_POINT 0x10002
  10. #define CONTEXT_INTEGER 0x10004
  11.  
  12. #define CxFltF0 0x10
  13. #define CxFltF1 0x14
  14. #define CxFltF2 0x18
  15. #define CxFltF3 0x1c
  16. #define CxFltF4 0x20
  17. #define CxFltF5 0x24
  18. #define CxFltF6 0x28
  19. #define CxFltF7 0x2c
  20. #define CxFltF8 0x30
  21. #define CxFltF9 0x34
  22. #define CxFltF10 0x38
  23. #define CxFltF11 0x3c
  24. #define CxFltF12 0x40
  25. #define CxFltF13 0x44
  26. #define CxFltF14 0x48
  27. #define CxFltF15 0x4c
  28. #define CxFltF16 0x50
  29. #define CxFltF17 0x54
  30. #define CxFltF18 0x58
  31. #define CxFltF19 0x5c
  32. #define CxFltF20 0x60
  33. #define CxFltF21 0x64
  34. #define CxFltF22 0x68
  35. #define CxFltF23 0x6c
  36. #define CxFltF24 0x70
  37. #define CxFltF25 0x74
  38. #define CxFltF26 0x78
  39. #define CxFltF27 0x7c
  40. #define CxFltF28 0x80
  41. #define CxFltF29 0x84
  42. #define CxFltF30 0x88
  43. #define CxFltF31 0x8c
  44. #define CxIntZero 0x90
  45. #define CxIntAt 0x94
  46. #define CxIntV0 0x98
  47. #define CxIntV1 0x9c
  48. #define CxIntA0 0xa0
  49. #define CxIntA1 0xa4
  50. #define CxIntA2 0xa8
  51. #define CxIntA3 0xac
  52. #define CxIntT0 0xb0
  53. #define CxIntT1 0xb4
  54. #define CxIntT2 0xb8
  55. #define CxIntT3 0xbc
  56. #define CxIntT4 0xc0
  57. #define CxIntT5 0xc4
  58. #define CxIntT6 0xc8
  59. #define CxIntT7 0xcc
  60. #define CxIntS0 0xd0
  61. #define CxIntS1 0xd4
  62. #define CxIntS2 0xd8
  63. #define CxIntS3 0xdc
  64. #define CxIntS4 0xe0
  65. #define CxIntS5 0xe4
  66. #define CxIntS6 0xe8
  67. #define CxIntS7 0xec
  68. #define CxIntT8 0xf0
  69. #define CxIntT9 0xf4
  70. #define CxIntK0 0xf8
  71. #define CxIntK1 0xfc
  72. #define CxIntGp 0x100
  73. #define CxIntSp 0x104
  74. #define CxIntS8 0x108
  75. #define CxIntRa 0x10c
  76. #define CxIntLo 0x110
  77. #define CxIntHi 0x114
  78. #define CxFsr 0x118
  79. #define CxFir 0x11c
  80. #define CxPsr 0x120
  81. #define CxContextFlags 0x124
  82. #define ContextFrameLength 0x130
  83.  
  84. //
  85. // Breakpoint Definitions
  86. //
  87.  
  88. #define USER_BREAKPOINT 0x0
  89. #define KERNEL_BREAKPOINT 0x1
  90. #define BREAKIN_BREAKPOINT 0x2
  91. #define BRANCH_TAKEN_BREAKPOINT 0x3
  92. #define BRANCH_NOT_TAKEN_BREAKPOINT 0x4
  93. #define SINGLE_STEP_BREAKPOINT 0x5
  94. #define DIVIDE_OVERFLOW_BREAKPOINT 0x6
  95. #define DIVIDE_BY_ZERO_BREAKPOINT 0x7
  96. #define RANGE_CHECK_BREAKPOINT 0x8
  97. #define STACK_OVERFLOW_BREAKPOINT 0x9
  98. #define MULTIPLY_OVERFLOW_BREAKPOINT 0xa
  99. #define DEBUG_PRINT_BREAKPOINT 0x14
  100. #define DEBUG_PROMPT_BREAKPOINT 0x15
  101. #define DEBUG_STOP_BREAKPOINT 0x16
  102. #define DEBUG_LOAD_SYMBOLS_BREAKPOINT 0x17
  103. #define DEBUG_UNLOAD_SYMBOLS_BREAKPOINT 0x18
  104.  
  105.