aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/irq_user.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/irq_user.h')
-rw-r--r--arch/um/include/irq_user.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/um/include/irq_user.h b/arch/um/include/irq_user.h
new file mode 100644
index 000000000000..f724b717213f
--- /dev/null
+++ b/arch/um/include/irq_user.h
@@ -0,0 +1,36 @@
1/*
2 * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
4 */
5
6#ifndef __IRQ_USER_H__
7#define __IRQ_USER_H__
8
9enum { IRQ_READ, IRQ_WRITE };
10
11extern void sigio_handler(int sig, union uml_pt_regs *regs);
12extern int activate_fd(int irq, int fd, int type, void *dev_id);
13extern void free_irq_by_irq_and_dev(unsigned int irq, void *dev_id);
14extern void free_irq_by_fd(int fd);
15extern void reactivate_fd(int fd, int irqnum);
16extern void deactivate_fd(int fd, int irqnum);
17extern int deactivate_all_fds(void);
18extern void forward_interrupts(int pid);
19extern void init_irq_signals(int on_sigstack);
20extern void forward_ipi(int fd, int pid);
21extern void free_irq_later(int irq, void *dev_id);
22extern int activate_ipi(int fd, int pid);
23extern unsigned long irq_lock(void);
24extern void irq_unlock(unsigned long flags);
25#endif
26
27/*
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
31 * of the file.
32 * ---------------------------------------------------------------------------
33 * Local variables:
34 * c-file-style: "linux"
35 * End:
36 */