summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2007-11-17 05:37:51 +0000
committermiod <miod@openbsd.org>2007-11-17 05:37:51 +0000
commit57793bfccae9f4dde37bfc20d1cbe0686ff4a1c5 (patch)
tree7375e4c5c81c5193cdb82e9e01ec037e8b300741
parentReplace many ``unsigned'' variables with ``unsigned int'', ``u_int'' or other (diff)
downloadwireguard-openbsd-57793bfccae9f4dde37bfc20d1cbe0686ff4a1c5.tar.xz
wireguard-openbsd-57793bfccae9f4dde37bfc20d1cbe0686ff4a1c5.zip
The initial ipl on luna/mvme188 like interrupt arbiters is IPL_HIGH, not
IPL_NONE; fixes a false splassert warning on boot.
-rw-r--r--sys/arch/aviion/aviion/av400_machdep.c4
-rw-r--r--sys/arch/luna88k/luna88k/machdep.c4
-rw-r--r--sys/arch/mvme88k/mvme88k/m188_machdep.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/aviion/aviion/av400_machdep.c b/sys/arch/aviion/aviion/av400_machdep.c
index b495812a29d..90bab40ace3 100644
--- a/sys/arch/aviion/aviion/av400_machdep.c
+++ b/sys/arch/aviion/aviion/av400_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: av400_machdep.c,v 1.7 2007/11/17 05:36:21 miod Exp $ */
+/* $OpenBSD: av400_machdep.c,v 1.8 2007/11/17 05:37:51 miod Exp $ */
/*
* Copyright (c) 2006, Miodrag Vallat.
*
@@ -197,7 +197,7 @@ const struct board board_av400 = {
*/
u_int32_t int_mask_reg[] = { 0, 0, 0, 0 };
-u_int av400_curspl[] = { IPL_NONE, IPL_NONE, IPL_NONE, IPL_NONE };
+u_int av400_curspl[] = { IPL_HIGH, IPL_HIGH, IPL_HIGH, IPL_HIGH };
/*
* external interrupt masks per spl.
diff --git a/sys/arch/luna88k/luna88k/machdep.c b/sys/arch/luna88k/luna88k/machdep.c
index 23ea2b41035..6c76ed61998 100644
--- a/sys/arch/luna88k/luna88k/machdep.c
+++ b/sys/arch/luna88k/luna88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.51 2007/11/17 05:36:23 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.52 2007/11/17 05:37:53 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -136,7 +136,7 @@ u_int32_t *volatile int_mask_reg[] = {
(u_int32_t *)INT_ST_MASK3
};
-u_int luna88k_curspl[] = { IPL_NONE, IPL_NONE, IPL_NONE, IPL_NONE };
+u_int luna88k_curspl[] = { IPL_HIGH, IPL_HIGH, IPL_HIGH, IPL_HIGH };
u_int32_t int_set_val[INT_LEVEL] = {
INT_SET_LV0,
diff --git a/sys/arch/mvme88k/mvme88k/m188_machdep.c b/sys/arch/mvme88k/mvme88k/m188_machdep.c
index 52a290c48a1..11e7183a7b0 100644
--- a/sys/arch/mvme88k/mvme88k/m188_machdep.c
+++ b/sys/arch/mvme88k/mvme88k/m188_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m188_machdep.c,v 1.42 2007/11/17 05:36:23 miod Exp $ */
+/* $OpenBSD: m188_machdep.c,v 1.43 2007/11/17 05:37:53 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -159,7 +159,7 @@ void m188_startup(void);
*/
u_int32_t int_mask_reg[] = { 0, 0, 0, 0 };
-u_int m188_curspl[] = { IPL_NONE, IPL_NONE, IPL_NONE, IPL_NONE };
+u_int m188_curspl[] = { IPL_HIGH, IPL_HIGH, IPL_HIGH, IPL_HIGH };
/*
* external interrupt masks per spl.