WIP FPC-III support
[linux/fpc-iii.git] / arch / um / include / shared / irq_user.h
blob07239e801a5b03624af823d8eb34ed9d5e94a53d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
4 */
6 #ifndef __IRQ_USER_H__
7 #define __IRQ_USER_H__
9 #include <sysdep/ptrace.h>
10 #include <stdbool.h>
12 enum um_irq_type {
13 IRQ_READ,
14 IRQ_WRITE,
15 NUM_IRQ_TYPES,
18 struct siginfo;
19 extern void sigio_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
20 extern void free_irq_by_fd(int fd);
21 extern void deactivate_fd(int fd, int irqnum);
22 extern int deactivate_all_fds(void);
23 extern int activate_ipi(int fd, int pid);
25 #endif