2 * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
9 enum { IRQ_READ
, IRQ_WRITE
};
11 extern void sigio_handler(int sig
, union uml_pt_regs
*regs
);
12 extern int activate_fd(int irq
, int fd
, int type
, void *dev_id
);
13 extern void free_irq_by_irq_and_dev(unsigned int irq
, void *dev_id
);
14 extern void free_irq_by_fd(int fd
);
15 extern void reactivate_fd(int fd
, int irqnum
);
16 extern void deactivate_fd(int fd
, int irqnum
);
17 extern int deactivate_all_fds(void);
18 extern void forward_interrupts(int pid
);
19 extern void init_irq_signals(int on_sigstack
);
20 extern void forward_ipi(int fd
, int pid
);
21 extern void free_irq_later(int irq
, void *dev_id
);
22 extern int activate_ipi(int fd
, int pid
);
23 extern unsigned long irq_lock(void);
24 extern void irq_unlock(unsigned long flags
);
28 * Overrides for Emacs so that we follow Linus's tabbing style.
29 * Emacs will notice this stuff at the end of the file and automatically
30 * adjust the settings for this buffer only. This must remain at the end
32 * ---------------------------------------------------------------------------
34 * c-file-style: "linux"