1 #ifndef EXEC_INTERRUPTS_H
    2 #define EXEC_INTERRUPTS_H
    3 
    4 /*
    5 	exec interrupt definitions (V50)
    6 
    7 	Copyright © 2002 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 #ifndef EXEC_NODES_H
   11 # include <exec/nodes.h>
   12 #endif
   13 
   14 #ifndef EXEC_LISTS_H
   15 # include <exec/lists.h>
   16 #endif
   17 
   18 #pragma pack(2)
   19 
   20 
   21 struct Interrupt
   22 {
   23 	struct  Node   is_Node;
   24 	APTR           is_Data;
   25 	VOID         (*is_Code)(VOID);
   26 };
   27 
   28 struct IntVector
   29 {
   30 	APTR          iv_Data;
   31 	VOID        (*iv_Code)(VOID);
   32 	struct Node  *iv_Node;
   33 };
   34 
   35 
   36 struct SoftIntList
   37 {
   38 	struct List sh_List;
   39 	UWORD       sh_Pad;
   40 };
   41 
   42 #define SIH_PRIMASK  (0xf0)
   43 
   44 #define INTB_NMI  15
   45 #define INTF_NMI  (1<<INTB_NMI)
   46 
   47 
   48 #pragma pack()
   49 
   50 #endif