summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-05-02 22:01:48 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-05-02 22:01:48 +0000
commitcd1ab31ea8de29fbe1aedad865b3dd09dfad134e (patch)
tree8628232a94cba95328b1acf6513ca48429e61b3f /sys/arch/m88k/include
parent5833cbf03dce94628ed0be9936c20981ec523b80 (diff)
Precompute the userland process apr cache bits into a global variable.
On AViiON systems with the 6:1 CMMU:CPU configuration, force cached mappings to be writethrough - this probably hides a bug in the code, but that's the only way so far to get such a system running stably.
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r--sys/arch/m88k/include/pmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/m88k/include/pmap.h b/sys/arch/m88k/include/pmap.h
index 7561a9a5e78..f3a2b82e812 100644
--- a/sys/arch/m88k/include/pmap.h
+++ b/sys/arch/m88k/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.14 2009/05/02 14:32:27 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.15 2010/05/02 22:01:46 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1991 Carnegie Mellon University
@@ -48,6 +48,7 @@ typedef struct pv_entry *pv_entry_t;
extern pmap_t kernel_pmap;
extern struct pmap kernel_pmap_store;
extern caddr_t vmmap;
+extern apr_t default_apr;
#define pmap_kernel() (&kernel_pmap_store)
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)