home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / at-inc-bin.lha / os-include / exec / interrupts.i < prev    next >
Text File  |  1993-10-15  |  2KB  |  71 lines

  1.     IFND    EXEC_INTERRUPTS_I
  2. EXEC_INTERRUPTS_I    SET    1
  3. **
  4. **    $VER: interrupts.i 39.0 (15.10.91)
  5. **    Includes Release 40.15
  6. **
  7. **    Callback structures used by hardware & software interrupts
  8. **
  9. **    (C) Copyright 1985-1993 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.     IFND EXEC_NODES_I
  14.     INCLUDE "exec/nodes.i"
  15.     ENDC    ; EXEC_NODES_I
  16.  
  17.     IFND EXEC_LISTS_I
  18.     INCLUDE "exec/lists.i"
  19.     ENDC    ; EXEC_LISTS_I
  20.  
  21.  
  22. *----------------------------------------------------------------
  23. *
  24. *   Interrupt Structure
  25. *
  26. *----------------------------------------------------------------
  27.  
  28.  STRUCTURE  IS,LN_SIZE
  29.     APTR    IS_DATA
  30.     APTR    IS_CODE
  31.     LABEL   IS_SIZE
  32.  
  33.  
  34. *---------------------------------------------------------------------
  35. *
  36. *   Exec Internal Interrupt Vectors
  37. *
  38. *---------------------------------------------------------------------
  39.  
  40.  STRUCTURE  IV,0
  41.     APTR    IV_DATA
  42.     APTR    IV_CODE
  43.     APTR    IV_NODE
  44.     LABEL   IV_SIZE
  45.  
  46.  
  47. *------ System Flag bits (in SysBase.SysFlags )
  48.  
  49.     BITDEF  S,SAR,15        ; scheduling attention required (TOP BIT)
  50.     BITDEF  S,TQE,14        ; time quantum expended -- time to resched
  51.     BITDEF  S,SINT,13
  52.  
  53.  
  54. *---------------------------------------------------------------------
  55. *
  56. *   Software Interrupt List Headers
  57. *
  58. *---------------------------------------------------------------------
  59.  
  60.  STRUCTURE  SH,LH_SIZE
  61.     UWORD   SH_PAD
  62.     LABEL   SH_SIZE
  63.  
  64. SIH_PRIMASK  EQU    $0F0
  65. SIH_QUEUES   EQU    5
  66.  
  67. ** this is a fake INT definition, used only for AddIntServer and the like
  68.     BITDEF    INT,NMI,15
  69.  
  70.     ENDC    ; EXEC_INTERRUPTS_I
  71.