summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/include
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2017-02-24 17:16:42 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2017-02-24 17:16:42 +0000
commit7a5decb32f19d95f27a80e11009c0bd11229339e (patch)
tree5cec223d25083866c7b381ce16ca0ca3aff42383 /sys/arch/arm64/include
parentf9be7298243478ab375c6df63421bdf8de2795fb (diff)
Retire the global interrupt establish and disestablish API. It has been
of good use for supporting multiple SoCs with each their own interrupt controllers, but as of now we have replaced it wit the FDT-enabled API. ok kettenis@
Diffstat (limited to 'sys/arch/arm64/include')
-rw-r--r--sys/arch/arm64/include/intr.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/arm64/include/intr.h b/sys/arch/arm64/include/intr.h
index f4c91ef4231..a4f2a65a463 100644
--- a/sys/arch/arm64/include/intr.h
+++ b/sys/arch/arm64/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.2 2017/02/24 17:10:59 patrick Exp $ */
+/* $OpenBSD: intr.h,v 1.3 2017/02/24 17:16:41 patrick Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -85,9 +85,6 @@ void splx(int);
void arm_do_pending_intr(int);
void arm_set_intr_handler(int (*raise)(int), int (*lower)(int),
void (*x)(int), void (*setipl)(int),
- void *(*intr_establish)(int irqno, int level, int (*func)(void *),
- void *cookie, char *name),
- void (*intr_disestablish)(void *cookie),
void (*intr_handle)(void *));
struct arm_intr_func {
@@ -95,9 +92,6 @@ struct arm_intr_func {
int (*lower)(int);
void (*x)(int);
void (*setipl)(int);
- void *(*intr_establish)(int irqno, int level, int (*func)(void *),
- void *cookie, char *name);
- void (*intr_disestablish)(void *cookie);
};
extern struct arm_intr_func arm_intr_func;
@@ -131,10 +125,6 @@ extern uint32_t arm_smask[NIPL];
#include <machine/softintr.h>
-void *arm_intr_establish(int irqno, int level, int (*func)(void *),
- void *cookie, char *name);
-void arm_intr_disestablish(void *cookie);
-
/* XXX - this is probably the wrong location for this */
void arm_clock_register(void (*)(void), void (*)(u_int), void (*)(int),
void (*)(void));