[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

#ifndef EXEC_INTERRUPTS_H
#define EXEC_INTERRUPTS_H
/*
**      $VER: interrupts.h 39.1 (18.9.1992)
**      Includes Release 44.1
**
**      Callback structures used by hardware & software interrupts
**
**      (C) Copyright 1985-1999 Amiga, Inc.
**          All Rights Reserved
*/

#ifndef EXEC_NODES_H
#include <exec/nodes.h>
#endif /* EXEC_NODES_H */

#ifndef EXEC_LISTS_H
#include <exec/lists.h>
#endif /* EXEC_LISTS_H */


struct Interrupt {
    struct  Node is_Node;
    APTR    is_Data;                /* server data segment  */
    VOID    (*is_Code)();           /* server code entry    */
};


struct IntVector {              /* For EXEC use ONLY! */
    APTR    iv_Data;
    VOID    (*iv_Code)();
    struct  Node *iv_Node;
};


struct SoftIntList {            /* For EXEC use ONLY! */
    struct List sh_List;
    UWORD  sh_Pad;
};

#define SIH_PRIMASK (0xf0)

/* this is a fake INT definition, used only for AddIntServer and the like */
#define INTB_NMI        15
#define INTF_NMI        (1L<<15)

#endif  /* EXEC_INTERRUPTS_H */