summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-01-15 05:53:14 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-01-15 05:53:14 +0000
commitf82cd60124e6c3acbf652ab4bc86808d52aebc00 (patch)
treeb461d2820292a7bdd6b81494626a43b0074d6d48 /sys
parent5686adeeecf54af5745ac8eb833c392f2deeb358 (diff)
Undo backout of this piece of 'SR restores', this feature is used by
on pegasos.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/include/pmap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h
index 1433597a71b..eafa469005b 100644
--- a/sys/arch/powerpc/include/pmap.h
+++ b/sys/arch/powerpc/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.33 2004/01/03 00:57:06 pvalchev Exp $ */
+/* $OpenBSD: pmap.h,v 1.34 2004/01/15 05:53:13 drahn Exp $ */
/* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */
/*-
@@ -71,7 +71,9 @@ typedef u_int sr_t;
#define VP_IDX2_MASK (VP_IDX2_SIZE-1)
#define VP_IDX2_POS 12
-void pmap_kenter_cache( vaddr_t va, paddr_t pa, vm_prot_t prot, int cacheable);
+/* functions used by the bus layer for device accesses */
+void pmap_kenter_cache(vaddr_t va, paddr_t pa, vm_prot_t prot, int cacheable);
+void pmap_kremove_pg(vaddr_t va);
/* cache flags */
#define PMAP_CACHE_DEFAULT 0 /* WB cache managed mem, devices not */