home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sd386v50.zip / sd386src.zip / GO.H < prev    next >
Text File  |  1995-06-17  |  5KB  |  75 lines

  1. /*****************************************************************************/
  2. /* File:                                             IBM INTERNAL USE ONLY   */
  3. /*   go.h                                                                    */
  4. /*                                                                           */
  5. /* Description:                                                              */
  6. /*   Definations for interface with the GO procedure                         */
  7. /*                                                                           */
  8. /* History:                                                                  */
  9. /*                                                                           */
  10. /*   02/08/91 Creation of 32-bit SD86, from 16-bit version.                  */
  11. /*                                                                           */
  12. /*...Release 1.00                                                            */
  13. /*...                                                                        */
  14. /*... 02/08/91  100   made changes for 32-bit compilation.                   */
  15. /*... 10/09/91  246   Srinivas  proper message if not able resolve exp.      */
  16. /*...                                                                        */
  17. /*...Release 1.00 (03/03/92)                                                 */
  18. /*...                                                                        */
  19. /*... 03/10/92  602   Srinivas  Hooking up watch points.                     */
  20. /*****************************************************************************/
  21.  
  22. #define GODATA  6                       /* Go until data break condition true*/
  23. #define GOTID   7                       /* switch focus to new another thread*/
  24.  
  25. #define OVERCALL 0                      /*                                827*/
  26. #define INTOCALL 1                      /*                                827*/
  27.  
  28. #define LOAD_MODULES      0x0001        /* handle dll loads.              827*/
  29. #define RUNNING_DEFERRED  0x0002        /* return on dll notify.          827*/
  30.  
  31. #define TRAP_SS         1               /* Single step interrupt             */
  32. #define TRAP_NMI        2               /* Non-maskable interrupt            */
  33. #define TRAP_BPT        3               /* Breakpoint interrupt (3)          */
  34. #define TRAP_ASYNC      4               /* Breakpoint interrupt (3)          */
  35. #define TRAP_FP        16               /* Floating point exception          */
  36. #define TRAP_DATA      92               /* Data Breakpoint condition true    */
  37. #define TRAP_ENTR      93               /* 1st procedure entry               */
  38. #define TRAP_SIG       94               /* Signal waiting for proces         */
  39. #define TRAP_KEYB      95               /* Interrupt from keyboard           */
  40. #define TRAP_ENDT      96               /* Thread has ended                  */
  41. #define TRAP_CALL      97               /* Fault on missing procedure        */
  42. #define TRAP_NEW       98               /* Application starting              */
  43. #define TRAP_EXIT      99               /* Application exit                  */
  44. #define TRAP_GP        100              /* General protection exception      */
  45. #define TRAP_IDIV      101              /* Interrupt Divide overflow         */
  46. #define TRAP_IOVR      102              /* Interrupt Overflow                */
  47. #define TRAP_IBND      103              /* Interrupt Bound                   */
  48. #define TRAP_IOPC      104              /* Interrupt Invalid opcode          */
  49. #define TRAP_IPXA      105              /* Intrpt Processor extenon not avail*/
  50. #define TRAP_IPXE      106              /* Intrpt Processor extension error  */
  51. #define TRAP_ISYS      107              /* Interrupted System Call           */
  52. #define TRAP_ABEND     108              /* Ptrace abnormal return code       */
  53. #define TRAP_INTERLOCK 109              /* Resource interlock.            901*/
  54. #define TRAP_SS_ERROR  110              /* Resource interlock.            901*/
  55. #define TRAP_STMT      999              /* Should never happen...            */
  56. #define TRAP_PROC      111              /* Error trying to start thread      */
  57. #define TRAP_INIT      200              /* initialization has been done   236*/
  58. #define TRAP_EXP       0xFFFFFFFF       /* exception resolving abnormal   246*/
  59.  
  60. #define TRAP_ADDR_LOAD 112              /* Address load break.               */
  61. #define TRAP_DLL_LOAD  113              /* Dll load break.                   */
  62.                                         /* return code.                   246*/
  63. #define TRAP_WATCH 250                  /* watch point hit                602*/
  64.  
  65. /* WARNING -- The following MUST match the definitions in SYMTAB.H */
  66.  
  67. #define STUBTYPEMASK 0x7
  68.  
  69. #define PRIVSTUB 0                      /* PrivStub                          */
  70. #define PS2EXIT 10                      /* # bytes from start to exiting JMP */
  71.  
  72. #define CODESTUB 1                      /* CodeStub                          */
  73. #define FAULTSTUB 0x10                  /* Code for module not loaded        */
  74. #define DEBUGSTUB 0x40
  75.