irq_impl.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. #include <linux/interrupt.h>
  11. #include <linux/irq.h>
  12. #include <linux/profile.h>
  13. #define RTC_IRQ 8
  14. extern void isa_device_interrupt(unsigned long);
  15. extern void isa_no_iack_sc_device_interrupt(unsigned long);
  16. extern void srm_device_interrupt(unsigned long);
  17. extern void pyxis_device_interrupt(unsigned long);
  18. extern struct irqaction timer_irqaction;
  19. extern struct irqaction isa_cascade_irqaction;
  20. extern struct irqaction timer_cascade_irqaction;
  21. extern struct irqaction halt_switch_irqaction;
  22. extern void init_srm_irqs(long, unsigned long);
  23. extern void init_pyxis_irqs(unsigned long);
  24. extern void init_rtc_irq(void);
  25. extern void common_init_isa_dma(void);
  26. extern void i8259a_enable_irq(struct irq_data *d);
  27. extern void i8259a_disable_irq(struct irq_data *d);
  28. extern void i8259a_mask_and_ack_irq(struct irq_data *d);
  29. extern struct irq_chip i8259a_irq_type;
  30. extern void init_i8259a_irqs(void);
  31. extern void handle_irq(int irq);