xref: /386bsd/usr/src/kernel/include/dev/isa_irq.h (revision a2142627)
1 /*-
2  * ISA Interrupt Request assignments.
3  *
4  * Copyright (C) 1989-1994, William F. Jolitz. All Rights Reserved.
5  */
6 
7 #ifndef	__ISA_ICU__
8 #define	__ISA_ICU__
9 
10 /*
11  * Interrupt enable bits -- in order of priority
12  */
13 #define	IRQ0		0x00001		/* highest priority - timer */
14 #define	IRQ1		0x00002
15 #define	IRQ_SLAVE	0x00004
16 #define	IRQ8		0x00100
17 #define	IRQ9		0x00200
18 #define	IRQ2		IRQ9
19 #define	IRQ10		0x00400
20 #define	IRQ11		0x00800
21 #define	IRQ12		0x01000
22 #define	IRQ13		0x02000
23 #define	IRQ14		0x04000
24 #define	IRQ15		0x08000
25 #define	IRQ3		0x00008
26 #define	IRQ4		0x00010
27 #define	IRQ5		0x00020
28 #define	IRQ6		0x00040
29 #define	IRQ7		0x00080		/* lowest - parallel printer */
30 
31 #define	IRNET		0x10000		/* software - only, network */
32 #define	IRSCLK		0x20000		/* software - only, softclock */
33 
34 #define	IRHIGH		0x3ffff		/* all masked off */
35 
36 /*
37  * Interrupt Control offset into Interrupt descriptor table (IDT)
38  * (should be moved to nonstd/pc/irq XXX)
39  */
40 #define	ICU_OFFSET	32		/* 0-31 are processor exceptions */
41 #define	ICU_LEN		16		/* 32-47 are ISA interrupts */
42 
43 #endif	/* __ISA_ICU__ */
44