summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-02-17 18:07:37 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-02-17 18:07:37 +0000
commit717e61d6ef53f4915800f75cf141fc9c5d3805d0 (patch)
treeb6771340e02005916ed804903393d2c0cf130745 /sys/arch/mvme88k
parentc2a0b11fbf08ad8e38335c406d293e705f42a3a1 (diff)
Constify struct cmmu.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/mvme88k/m187_machdep.c4
-rw-r--r--sys/arch/mvme88k/mvme88k/m188_machdep.c4
-rw-r--r--sys/arch/mvme88k/mvme88k/m197_machdep.c6
-rw-r--r--sys/arch/mvme88k/mvme88k/m88110.c6
4 files changed, 10 insertions, 10 deletions
diff --git a/sys/arch/mvme88k/mvme88k/m187_machdep.c b/sys/arch/mvme88k/mvme88k/m187_machdep.c
index 16be5792d1b..6036e9e2476 100644
--- a/sys/arch/mvme88k/mvme88k/m187_machdep.c
+++ b/sys/arch/mvme88k/mvme88k/m187_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m187_machdep.c,v 1.22 2010/12/31 21:38:08 miod Exp $ */
+/* $OpenBSD: m187_machdep.c,v 1.23 2013/02/17 18:07:36 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -224,7 +224,7 @@ void
m187_bootstrap()
{
extern int cpuspeed;
- extern struct cmmu_p cmmu8820x;
+ extern const struct cmmu_p cmmu8820x;
/*
* Find out the processor speed, from the PCC2 prescaler
diff --git a/sys/arch/mvme88k/mvme88k/m188_machdep.c b/sys/arch/mvme88k/mvme88k/m188_machdep.c
index 1fe5637cd38..b673ce6b383 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.54 2010/12/31 21:38:08 miod Exp $ */
+/* $OpenBSD: m188_machdep.c,v 1.55 2013/02/17 18:07:36 miod Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
*
@@ -221,7 +221,7 @@ m188_memsize()
void
m188_bootstrap()
{
- extern struct cmmu_p cmmu8820x;
+ extern const struct cmmu_p cmmu8820x;
cmmu = &cmmu8820x;
md_interrupt_func_ptr = m188_ext_int;
diff --git a/sys/arch/mvme88k/mvme88k/m197_machdep.c b/sys/arch/mvme88k/mvme88k/m197_machdep.c
index 2d1a8e88730..1df0582bfa2 100644
--- a/sys/arch/mvme88k/mvme88k/m197_machdep.c
+++ b/sys/arch/mvme88k/mvme88k/m197_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m197_machdep.c,v 1.46 2011/10/25 18:38:06 miod Exp $ */
+/* $OpenBSD: m197_machdep.c,v 1.47 2013/02/17 18:07:36 miod Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -326,8 +326,8 @@ m197_raiseipl(u_int level)
void
m197_bootstrap()
{
- extern struct cmmu_p cmmu88110;
- extern struct cmmu_p cmmu88410;
+ extern const struct cmmu_p cmmu88110;
+ extern const struct cmmu_p cmmu88410;
extern int cpuspeed;
u_int16_t cpu;
u_int8_t version, btimer, pbt;
diff --git a/sys/arch/mvme88k/mvme88k/m88110.c b/sys/arch/mvme88k/mvme88k/m88110.c
index 8791b922ba0..7f98f4cfb5b 100644
--- a/sys/arch/mvme88k/mvme88k/m88110.c
+++ b/sys/arch/mvme88k/mvme88k/m88110.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m88110.c,v 1.76 2011/10/25 18:38:06 miod Exp $ */
+/* $OpenBSD: m88110.c,v 1.77 2013/02/17 18:07:36 miod Exp $ */
/*
* Copyright (c) 2010, 2011, Miodrag Vallat.
@@ -122,7 +122,7 @@ void m88410_initialize_cpu(cpuid_t);
* This is the function table for the MC88110 built-in CMMUs without
* external 88410.
*/
-struct cmmu_p cmmu88110 = {
+const struct cmmu_p cmmu88110 = {
m88110_init,
m88110_setup_board_config,
m88110_cpu_configuration_print,
@@ -147,7 +147,7 @@ struct cmmu_p cmmu88110 = {
* This is the function table for the MC88110 built-in CMMUs with
* external 88410.
*/
-struct cmmu_p cmmu88410 = {
+const struct cmmu_p cmmu88410 = {
m88410_init,
m88410_setup_board_config,
m88410_cpu_configuration_print,