irq_user.h (532B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 4 */ 5 6#ifndef __IRQ_USER_H__ 7#define __IRQ_USER_H__ 8 9#include <sysdep/ptrace.h> 10 11enum um_irq_type { 12 IRQ_READ, 13 IRQ_WRITE, 14 NUM_IRQ_TYPES, 15}; 16 17struct siginfo; 18extern void sigio_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs); 19void sigio_run_timetravel_handlers(void); 20extern void free_irq_by_fd(int fd); 21extern void deactivate_fd(int fd, int irqnum); 22extern int deactivate_all_fds(void); 23 24#endif