summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-09-07 13:52:18 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-09-07 13:52:18 +0000
commitdc610acf459d7a6a8287417ced436fd5dfc4d546 (patch)
treea0f887f39d50731735c5386cb3ccb58993188877 /sys
parent2f5f8cba460804d959b5542f9cd555577b9ba5a4 (diff)
The PTE bit used to flag wiring is zeroed behind our back on 88110, so
switch to another, safe, unused bit. From the MC88110UM via deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme88k/include/mmu.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/include/mmu.h b/sys/arch/mvme88k/include/mmu.h
index a1bd7dba0d0..e887e8a63c3 100644
--- a/sys/arch/mvme88k/include/mmu.h
+++ b/sys/arch/mvme88k/include/mmu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mmu.h,v 1.19 2003/06/02 23:27:52 millert Exp $ */
+/* $OpenBSD: mmu.h,v 1.20 2003/09/07 13:52:17 miod Exp $ */
/*
* This file bears almost no resemblance to the original m68k file,
@@ -155,7 +155,8 @@ typedef u_int32_t pt_entry_t;
#define PG_RO 0x00000004
#define PG_RW 0x00000000
#define PG_SO 0x00000100
-#define PG_W 0x00000400 /* XXX unused but reserved field */
+#define PG_W 0x00000020 /* XXX unused but reserved field */
+#define PG_U0 0x00000400 /* U0 bit for M88110 */
#define PG_U1 0x00000800 /* U1 bit for M88110 */
#define PDT_VALID(pte) (*(pte) & PG_V)