summaryrefslogtreecommitdiff
path: root/sys/arch/m88k
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-09-25 15:10:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-09-25 15:10:49 +0000
commitef1c96b85595c481c502c34b50963b24491e6656 (patch)
treeeecdca77255a8420c91bc2132b3429996c3988c7 /sys/arch/m88k
parentf88f9d6e95546ec87e6c42631dffe8a923e9e107 (diff)
miod notes T_USER needs to be a bit, it was not.
The "snowflake" uniqueness of every MD trap impl often gets in the way of precisely & correctly interfacing to MI layers. The differences also complicates review, and causes new MI requirements to be incorrectly written. Thus an architecture will fall behind, not just because they are slow or rare, but because the code behaviour becomes increasingly incorrect. It is sad.
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r--sys/arch/m88k/include/trap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/m88k/include/trap.h b/sys/arch/m88k/include/trap.h
index 5a164427625..6a03c5c8f27 100644
--- a/sys/arch/m88k/include/trap.h
+++ b/sys/arch/m88k/include/trap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.h,v 1.11 2013/09/05 20:40:32 miod Exp $ */
+/* $OpenBSD: trap.h,v 1.12 2020/09/25 15:10:48 deraadt Exp $ */
/*
* Mach Operating System
* Copyright (c) 1992 Carnegie Mellon University
@@ -52,7 +52,7 @@
#define T_110_DWM 18 /* 88110 data write miss (sw table walk) */
#define T_110_IAM 19 /* 88110 inst ATC miss (sw table walk) */
-#define T_USER 20 /* added to trap code if user mode fault */
+#define T_USER 0x40 /* or'd to trap code if user mode fault */
#ifndef _LOCORE