summaryrefslogtreecommitdiff
path: root/i386/i386/irq.h
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2020-07-09 23:11:44 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-07-09 23:28:39 +0200
commitc0240fcf66e7dc74bcebedfa75bb685fbff705cc (patch)
treedd701d76dd8bbc83ecaa929a602bf710dac8c855 /i386/i386/irq.h
parent6cd23e1aa4f3557260e0cf75a2de2c142f8d8f48 (diff)
Fix RPC interface
Diffstat (limited to 'i386/i386/irq.h')
-rw-r--r--i386/i386/irq.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/i386/i386/irq.h b/i386/i386/irq.h
new file mode 100644
index 00000000..d48a8e92
--- /dev/null
+++ b/i386/i386/irq.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2020 Free Software Foundation, Inc.
+ *
+ * Permission to use, copy, modify and distribute this software and its
+ * documentation is hereby granted, provided that both the copyright
+ * notice and this permission notice appear in all copies of the
+ * software, derivative works or modified versions, and any portions
+ * thereof, and that both notices appear in supporting documentation.
+ *
+ * THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
+ * CONDITION. THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY LIABILITY OF ANY KIND
+ * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
+ */
+
+#ifndef _I386_IRQ_H
+#define _I386_IRQ_H
+
+#include <i386/pic.h>
+
+typedef unsigned int irq_t;
+
+void __enable_irq (irq_t irq);
+void __disable_irq (irq_t irq);
+
+extern struct irqdev irqtab;
+
+#endif