summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include/pmap.h
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>2004-09-23 08:42:39 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>2004-09-23 08:42:39 +0000
commite083531d6f2e128a1b8903afe2436350fa7818b5 (patch)
treed867c1d8de66cde58b1bc5ce6b63e96a182cb8df /sys/arch/mips64/include/pmap.h
parentc7855bd25894126d167a659dfd49d90d6725fd8d (diff)
More pmap bugs cleaned out. Some old, some new.
Better structured pmap.c. Evil still in there, more work to do.
Diffstat (limited to 'sys/arch/mips64/include/pmap.h')
-rw-r--r--sys/arch/mips64/include/pmap.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/mips64/include/pmap.h b/sys/arch/mips64/include/pmap.h
index a67011ac8db..6514b8831dd 100644
--- a/sys/arch/mips64/include/pmap.h
+++ b/sys/arch/mips64/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.4 2004/09/17 19:19:05 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.5 2004/09/23 08:42:38 pefo Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@@ -93,11 +93,12 @@ extern struct pmap kernel_pmap_store;
#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_kernel() (&kernel_pmap_store)
+#define pmap_phys_address(ppn) ptoa(ppn)
#define PMAP_STEAL_MEMORY /* Enable 'stealing' during boot */
-#define PMAP_PREFER(pa, va) pmap_prefer(pa, va)
+#define PMAP_PREFER(pa, va) pmap_prefer(pa, va)
#define pmap_update(x) /* nothing */