Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/alpha/kernel/irq_impl.h |
| 3 | * |
| 4 | * Copyright (C) 1995 Linus Torvalds |
| 5 | * Copyright (C) 1998, 2000 Richard Henderson |
| 6 | * |
| 7 | * This file contains declarations and inline functions for interfacing |
| 8 | * with the IRQ handling routines in irq.c. |
| 9 | */ |
| 10 | |
| 11 | #include <linux/interrupt.h> |
| 12 | #include <linux/irq.h> |
| 13 | #include <linux/profile.h> |
| 14 | |
| 15 | |
| 16 | #define RTC_IRQ 8 |
| 17 | |
Al Viro | 7ca5605 | 2006-10-08 14:36:08 +0100 | [diff] [blame] | 18 | extern void isa_device_interrupt(unsigned long); |
Al Viro | 3dbb8c6 | 2006-10-08 14:37:32 +0100 | [diff] [blame] | 19 | extern void isa_no_iack_sc_device_interrupt(unsigned long); |
Al Viro | 7ca5605 | 2006-10-08 14:36:08 +0100 | [diff] [blame] | 20 | extern void srm_device_interrupt(unsigned long); |
| 21 | extern void pyxis_device_interrupt(unsigned long); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | |
| 23 | extern struct irqaction timer_irqaction; |
| 24 | extern struct irqaction isa_cascade_irqaction; |
| 25 | extern struct irqaction timer_cascade_irqaction; |
| 26 | extern struct irqaction halt_switch_irqaction; |
| 27 | |
| 28 | extern void init_srm_irqs(long, unsigned long); |
| 29 | extern void init_pyxis_irqs(unsigned long); |
| 30 | extern void init_rtc_irq(void); |
| 31 | |
| 32 | extern void common_init_isa_dma(void); |
| 33 | |
| 34 | extern void i8259a_enable_irq(unsigned int); |
| 35 | extern void i8259a_disable_irq(unsigned int); |
| 36 | extern void i8259a_mask_and_ack_irq(unsigned int); |
| 37 | extern unsigned int i8259a_startup_irq(unsigned int); |
| 38 | extern void i8259a_end_irq(unsigned int); |
Thomas Gleixner | 44377f6 | 2009-06-16 15:33:25 -0700 | [diff] [blame] | 39 | extern struct irq_chip i8259a_irq_type; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | extern void init_i8259a_irqs(void); |
| 41 | |
Al Viro | 3dbb8c6 | 2006-10-08 14:37:32 +0100 | [diff] [blame] | 42 | extern void handle_irq(int irq); |