diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-08-18 22:17:27 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-08-18 22:17:27 +0000 |
commit | 060f1aa4bb74c58e0402c7e2d5e0045b284f158e (patch) | |
tree | 82d2038d48910a5056ef4d50f5dff103bb733206 | |
parent | 5ce339cd64b39024bdd7773ad7e82415db71ea58 (diff) |
data_access_emulation() may fault. Be sure to clear pcb_onfault before
invoking it.
While there, rework the return-to-pcb_onfault logic to avoid falling through
the DAE code. This allows us to get rid of the bogus DMT_SKIP flag as well:
DAE is only necessary if DMT_VALID is set in DMT0, and DMT0 is reset to zero
afterwards.
-rw-r--r-- | sys/arch/m88k/include/m88100.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/m88k/include/m88100.h b/sys/arch/m88k/include/m88100.h index dfcb71c0c87..7841b3e5ece 100644 --- a/sys/arch/m88k/include/m88100.h +++ b/sys/arch/m88k/include/m88100.h @@ -1,4 +1,4 @@ -/* $OpenBSD: m88100.h,v 1.7 2013/08/18 22:04:51 miod Exp $ */ +/* $OpenBSD: m88100.h,v 1.8 2013/08/18 22:17:26 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1992 Carnegie Mellon University @@ -34,12 +34,7 @@ /* * DMT0, DMT1, DMT2 layout - * - * The DMT_SKIP bit is never set by the cpu. It is used to mark 'known' - * transactions so that they don't get processed a second time by - * data_access_emulation(). */ -#define DMT_SKIP 0x00010000 /* skip this dmt */ #define DMT_BO 0x00008000 /* Byte-Ordering */ #define DMT_DAS 0x00004000 /* Data Access Space */ #define DMT_DOUB1 0x00002000 /* Double Word */ |