summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-11-20 21:46:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-11-20 21:46:19 +0000
commit535dc56e42611d9dfa39f309485d2ed8edc5d7db (patch)
tree0713b51ad2a11d444225b8fa7ee34573b028adcf /sys
parentb9e4f2e07354ce131ea0186c6ca99b60fa924ce3 (diff)
In data_access_emulation(), make sure that if we want the pipeline replay
to be disabled, this effectively disables the three slots, instead of only the first. This will only make (rare) things faster.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/m88k/m88k/m88100_machdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/m88k/m88k/m88100_machdep.c b/sys/arch/m88k/m88k/m88100_machdep.c
index bc324f982bc..e00fed95207 100644
--- a/sys/arch/m88k/m88k/m88100_machdep.c
+++ b/sys/arch/m88k/m88k/m88100_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m88100_machdep.c,v 1.4 2007/11/17 05:36:23 miod Exp $ */
+/* $OpenBSD: m88100_machdep.c,v 1.5 2007/11/20 21:46:18 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1991 Carnegie Mellon University
@@ -104,12 +104,12 @@ data_access_emulation(u_int *eframe)
u_int v, reg;
dmtx = eframe[EF_DMT0];
- if (!ISSET(dmtx, DMT_VALID))
+ if (!ISSET(dmtx, DMT_VALID) || ISSET(dmtx, DMT_SKIP))
return;
for (x = 0; x < 3; x++) {
dmtx = eframe[EF_DMT0 + x * 3];
- if (!ISSET(dmtx, DMT_VALID) || ISSET(dmtx, DMT_SKIP))
+ if (!ISSET(dmtx, DMT_VALID))
continue;
dmdx = eframe[EF_DMD0 + x * 3];
@@ -259,7 +259,7 @@ data_access_emulation(u_int *eframe)
}
}
}
- eframe[EF_DMT0] = 0;
+ eframe[EF_DMT0] |= DMT_SKIP;
}
/*