patch-2.1.110 linux/arch/i386/kernel/irq.h
Next file: linux/arch/i386/kernel/mtrr.c
Previous file: linux/arch/i386/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Jul 16 18:11:35 1998
- Orig file:
v2.1.109/linux/arch/i386/kernel/irq.h
- Orig date:
Sun Jun 7 11:16:27 1998
diff -u --recursive --new-file v2.1.109/linux/arch/i386/kernel/irq.h linux/arch/i386/kernel/irq.h
@@ -39,8 +39,12 @@
unsigned int unused[3];
} irq_desc_t;
+#define IRQ0_TRAP_VECTOR 0x51
+
extern irq_desc_t irq_desc[NR_IRQS];
+extern int irq_vector[NR_IRQS];
+extern void init_IRQ_SMP(void);
extern int handle_IRQ_event(unsigned int, struct pt_regs *);
/*
@@ -68,10 +72,10 @@
void init_pic_mode (void);
void print_IO_APIC (void);
-extern unsigned int io_apic_irqs;
-extern unsigned int cached_irq_mask;
+extern unsigned long long io_apic_irqs;
+extern unsigned long long cached_irq_mask;
-#define IO_APIC_VECTOR(irq) (0x51+((irq)<<3))
+#define IO_APIC_VECTOR(irq) irq_vector[irq]
#define MAX_IRQ_SOURCES 128
#define MAX_MP_BUSSES 32
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov