summaryrefslogtreecommitdiff
path: root/sys/arch/aviion/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-10-07 19:09:12 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-10-07 19:09:12 +0000
commitdbbf61eef3034e473ac3e644b18eb25300b5a305 (patch)
treecbb01bd1fd405d197dccf31b0eb05c1fbd25cfc2 /sys/arch/aviion/include
parentedc1ff103d5ba755688e8b41409418d73262758e (diff)
Split the 64-bit interrupt source mask code into two 32-bit `interrupt' and
`extended interrupt' masks. This is how the hardware works, and this makes the code simpler than attempting to aggregate them. No functional change.
Diffstat (limited to 'sys/arch/aviion/include')
-rw-r--r--sys/arch/aviion/include/board.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/aviion/include/board.h b/sys/arch/aviion/include/board.h
index c6478ef1884..4c843947bd3 100644
--- a/sys/arch/aviion/include/board.h
+++ b/sys/arch/aviion/include/board.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: board.h,v 1.9 2011/01/02 13:40:07 miod Exp $ */
+/* $OpenBSD: board.h,v 1.10 2013/10/07 19:09:11 miod Exp $ */
/*
* Copyright (c) 2006, 2007, Miodrag Vallat
*
@@ -89,7 +89,8 @@ struct board {
void (*smp_setup)(struct cpu_info *);
#endif
- u_int64_t (*intsrc)(int);
+ u_int32_t (*intsrc)(int);
+ u_int32_t (*exintsrc)(int);
const struct vme_range *(*get_vme_ranges)(void);
const struct pmap_table *ptable;
@@ -109,7 +110,8 @@ u_int av##b##_setipl(u_int); \
u_int av##b##_raiseipl(u_int); \
void av##b##_send_ipi(int, cpuid_t); \
void av##b##_smp_setup(struct cpu_info *); \
-u_int64_t av##b##_intsrc(int); \
+u_int32_t av##b##_intsrc(int); \
+u_int32_t av##b##_exintsrc(int); \
const struct vme_range *av##b##_get_vme_ranges(void);
DECLARE_BOARD(400);