summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-07-13 14:51:30 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-07-13 14:51:30 +0000
commitcaaa004d3305f4bd44dfccc00895c7a3baa34e89 (patch)
treee6b077266f61c8ccb72335f73e74326414c31652 /sys/arch/powerpc/include
parenta05972145b227fa9159f06d260a6b0dc5786230d (diff)
#define __HAVE_PMAP_DIRECT and use it. requested by art
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r--sys/arch/powerpc/include/pmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h
index e3725de4621..30afd6d892d 100644
--- a/sys/arch/powerpc/include/pmap.h
+++ b/sys/arch/powerpc/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.36 2004/06/09 20:17:23 tedu Exp $ */
+/* $OpenBSD: pmap.h,v 1.37 2004/07/13 14:51:29 tedu Exp $ */
/* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */
/*-
@@ -121,6 +121,7 @@ boolean_t pteclrbits(paddr_t pa, u_int mask, u_int clear);
*/
#define pmap_map_direct(pg) ((vaddr_t)VM_PAGE_TO_PHYS(pg))
#define pmap_unmap_direct(va) PHYS_TO_VM_PAGE((paddr_t)va)
+#define __HAVE_PMAP_DIRECT
void pmap_bootstrap(u_int kernelstart, u_int kernelend);