summaryrefslogtreecommitdiff
path: root/sys/arch/arm
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2005-01-04 23:37:14 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2005-01-04 23:37:14 +0000
commit72cab32b6393b1f1a5f9aeca3aaf38634bf681bc (patch)
treeee5ab431f532e812a11b1491536b5da86899b402 /sys/arch/arm
parent969585e9d94a90393c784e69a0aae615fb01de0c (diff)
add prototype for disestablish function (coming soon), remove useless
includes, some #if 0 code.
Diffstat (limited to 'sys/arch/arm')
-rw-r--r--sys/arch/arm/xscale/pxa2x0_intr.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_intr.h b/sys/arch/arm/xscale/pxa2x0_intr.h
index 6f3f183b64d..0fbc5ac1005 100644
--- a/sys/arch/arm/xscale/pxa2x0_intr.h
+++ b/sys/arch/arm/xscale/pxa2x0_intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa2x0_intr.h,v 1.3 2005/01/04 02:08:41 drahn Exp $ */
+/* $OpenBSD: pxa2x0_intr.h,v 1.4 2005/01/04 23:37:13 drahn Exp $ */
/* $NetBSD: pxa2x0_intr.h,v 1.4 2003/07/05 06:53:08 dogcow Exp $ */
/* Derived from i80321_intr.h */
@@ -49,15 +49,9 @@
#include <arm/armreg.h>
#include <arm/cpufunc.h>
-#if 0
-#include <arm/cpu.h>
-#include <machine/atomic.h>
-#endif
#include <machine/intr.h>
#include <arm/softintr.h>
-#include <arm/xscale/pxa2x0reg.h>
-
extern vaddr_t pxaic_base; /* Shared with pxa2x0_irq.S */
#define read_icu(offset) (*(volatile uint32_t *)(pxaic_base+(offset)))
#define write_icu(offset,value) \
@@ -183,8 +177,10 @@ void _setsoftintr(int);
void pxa2x0_intr_bootstrap(vaddr_t);
void pxa2x0_irq_handler(void *);
-void *pxa2x0_intr_establish(int irqno, int level,
- int (*func)(void *), void *cookie, char *name);
+void *pxa2x0_intr_establish(int irqno, int level, int (*func)(void *),
+ void *cookie, char *name);
+void pxa2x0_intr_disestablish(void *cookie);
+
void pxa2x0_update_intr_masks(int irqno, int level);
extern __volatile int current_spl_level;