summaryrefslogtreecommitdiff
path: root/sys/arch/pica/include/pmap.h
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-01 18:23:56 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-01 18:23:56 +0000
commit6b6246809ac6053dbb9f493725682d6117fcd3d7 (patch)
tree9613ea4421941dd35bfbb6ee0e637aa5fa12d0f5 /sys/arch/pica/include/pmap.h
parent6cbb60168a996de51d7554674f06b76eeaaf7afa (diff)
Updated to new configure.
Diffstat (limited to 'sys/arch/pica/include/pmap.h')
-rw-r--r--sys/arch/pica/include/pmap.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/pica/include/pmap.h b/sys/arch/pica/include/pmap.h
index 39c51eea199..bc06048c681 100644
--- a/sys/arch/pica/include/pmap.h
+++ b/sys/arch/pica/include/pmap.h
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)pmap.h 8.1 (Berkeley) 6/10/93
- * $Id: pmap.h,v 1.1 1995/10/18 10:39:13 deraadt Exp $
+ * $Id: pmap.h,v 1.2 1996/05/01 18:23:46 pefo Exp $
*/
#ifndef _PMAP_MACHINE_
@@ -97,8 +97,12 @@ typedef struct pmap {
extern char *pmap_attributes; /* reference and modify bits */
extern struct pmap kernel_pmap_store;
-#define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count)
+#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
+#define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count)
#define pmap_kernel() (&kernel_pmap_store)
+
+#define PMAP_PREFER(pa, va) pmap_prefer((pa), (va))
+
#endif /* _KERNEL */
#endif /* _PMAP_MACHINE_ */