added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / .unmaintained / generic / hidd / irq / irq.h
blobce13bbaa54d1fc22b79a28d5c9202535ab094f3a
1 #ifndef _HIDD_IRQ_H
2 #define _HIDD_IRQ_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Include for the irq system HIDD.
9 Lang: English.
12 #include <asm/linkage.h>
13 //#include <asm/init.h>
14 #include <asm/irq.h>
16 #include <asm/segments.h>
17 #include <hidd/irq.h>
18 #include <exec/lists.h>
20 #ifndef EXEC_LIBRARIES_H
21 # include <exec/libraries.h>
22 #endif
24 #ifndef OOP_OOP_H
25 # include <oop/oop.h>
26 #endif
28 #include <asm/ptrace.h>
30 /***** IRQ system HIDD *******************/
32 /* IDs */
33 #define IID_Hidd_IRQ "hidd.bus.irq"
34 #define CLID_Hidd_IRQ "hidd.bus.irq"
36 /* misc */
38 struct irq_staticdata
40 struct Library *oopbase;
41 struct Library *utilitybase;
42 struct ExecBase *sysbase;
43 OOP_Class *irqclass;
45 struct List irqlist[vHidd_IRQ_NumIRQ];
46 ULONG transtable[16];
49 OOP_Class *init_irqclass ( struct irq_staticdata * );
50 VOID free_irqclass ( struct irq_staticdata * );
52 #define ISD(cl) ((struct irq_staticdata *)cl->UserData)
54 #define OOPBase ((struct Library *)ISD(cl)->oopbase)
55 #define UtilityBase ((struct Library *)ISD(cl)->utilitybase)
56 #define SysBase (ISD(cl)->sysbase)
58 #endif /* _HIDD_IRQ_H */