2019-08-25 10:49:19 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2005-04-16 15:20:36 -07:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __IRQ_KERN_H__
|
|
|
|
#define __IRQ_KERN_H__
|
|
|
|
|
2012-10-08 03:27:32 +01:00
|
|
|
#include <linux/interrupt.h>
|
|
|
|
#include <asm/ptrace.h>
|
2020-12-02 12:59:55 +01:00
|
|
|
#include "irq_user.h"
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2020-12-02 12:59:50 +01:00
|
|
|
#define UM_IRQ_ALLOC -1
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2020-12-02 12:59:55 +01:00
|
|
|
int um_request_irq(int irq, int fd, enum um_irq_type type,
|
|
|
|
irq_handler_t handler, unsigned long irqflags,
|
|
|
|
const char *devname, void *dev_id);
|
2020-12-02 12:59:50 +01:00
|
|
|
void um_free_irq(int irq, void *dev_id);
|
|
|
|
#endif
|