2 * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
20 enum { IRQ_READ, IRQ_WRITE };
22 extern void sigio_handler(int sig, union uml_pt_regs *regs);
23 extern int activate_fd(int irq, int fd, int type, void *dev_id);
24 extern void free_irq_by_irq_and_dev(unsigned int irq, void *dev_id);
25 extern void free_irq_by_fd(int fd);
26 extern void reactivate_fd(int fd, int irqnum);
27 extern void deactivate_fd(int fd, int irqnum);
28 extern int deactivate_all_fds(void);
29 extern void forward_interrupts(int pid);
30 extern int activate_ipi(int fd, int pid);
31 extern unsigned long irq_lock(void);
32 extern void irq_unlock(unsigned long flags);