home *** CD-ROM | disk | FTP | other *** search
- IFND EXEC_INTERRUPTS_I@
- EXEC_INTERRUPTS_I@ = 1
- ;*********************************************************************
- ;
- ; Commodore Amiga -- ROM Operating System Executive Include File
- ;
- ;*********************************************************************
- ;
- ; Source Control:
- ;
- ; $Header: interrupts.i,v 33.1 86/04/08 21:55:26 neil Exp $
- ;
- ; $Locker: $
- ;
- ;*********************************************************************
-
- IFND EXEC_NODES_I@
- INCLUDE "exec/nodes.i"
- ENDIF
-
- IFND EXEC_LISTS_I@
- INCLUDE "exec/lists.i"
- ENDIF
-
-
- ;----------------------------------------------------------------
- ;
- ; Interrupt Structure
- ;
- ;----------------------------------------------------------------
-
- STRUCTURE IS,LN_SIZE
- APTR IS_DATA
- APTR IS_CODE
- LABEL IS_SIZE
-
-
- ;---------------------------------------------------------------------
- ;
- ; Exec Internal Interrupt Vectors
- ;
- ;---------------------------------------------------------------------
-
- STRUCTURE IV,0
- APTR IV_DATA
- APTR IV_CODE
- APTR IV_NODE
- LABEL IV_SIZE
-
-
- ;------ System Flag bits (in SysBase.SysFlags )
-
- ; BITDEF S,SAR,15 ; scheduling attention required
- SB_SAR = 15 ; scheduling attention required
- SF_SAR = 1<<15 ; scheduling attention required
- ; BITDEF S,TQE,14 ; time quantum expended -- time to resched
- SB_TQE = 14 ; time quantum expended -- time to resched
- SF_TQE = 1<<14 ; time quantum expended -- time to resched
- ; BITDEF S,SINT,13
- SB_SINT = 13
- SF_SINT = 1<<13
-
-
- ;---------------------------------------------------------------------
- ;
- ; Software Interrupt List Headers
- ;
- ;---------------------------------------------------------------------
-
- STRUCTURE SH,LH_SIZE
- UWORD SH_PAD
- LABEL SH_SIZE
-
- SIH_PRIMASK EQU $0F0
- SIH_QUEUES EQU 5
-
- ;; this is a fake INT definition, used only for AddIntServer and the like
- ; BITDEF INT,NMI,15
- INTB_NMI = 15
- INTF_NMI = 1<<15
-
- ENDIF
- END
-