summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include/pmap.h
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-06-09 20:17:25 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-06-09 20:17:25 +0000
commit9637ef0a1e557491619d6e5e20fe656ae1780859 (patch)
tree6274c62878e66896eb7333b4a5173622a0aabb07 /sys/arch/powerpc/include/pmap.h
parent53fb7c67e695643c91d9cfcbd9c85786ac8e5038 (diff)
rename POOLPAGE macros to pmap_map_direct
break out uvm_km_page bits for this case, no thread here lots of testing tech@, deraadt@, naddy@, mickey@, ...
Diffstat (limited to 'sys/arch/powerpc/include/pmap.h')
-rw-r--r--sys/arch/powerpc/include/pmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h
index d68eaa69ec6..e3725de4621 100644
--- a/sys/arch/powerpc/include/pmap.h
+++ b/sys/arch/powerpc/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.35 2004/05/20 09:20:42 kettenis Exp $ */
+/* $OpenBSD: pmap.h,v 1.36 2004/06/09 20:17:23 tedu Exp $ */
/* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */
/*-
@@ -119,8 +119,8 @@ boolean_t pteclrbits(paddr_t pa, u_int mask, u_int clear);
* Really simple. 0x0->0x80000000 contain 1->1 mappings of the physical
* memory. - XXX
*/
-#define PMAP_MAP_POOLPAGE(pg) ((vaddr_t)VM_PAGE_TO_PHYS(pg))
-#define PMAP_UNMAP_POOLPAGE(va) PHYS_TO_VM_PAGE((paddr_t)va)
+#define pmap_map_direct(pg) ((vaddr_t)VM_PAGE_TO_PHYS(pg))
+#define pmap_unmap_direct(va) PHYS_TO_VM_PAGE((paddr_t)va)
void pmap_bootstrap(u_int kernelstart, u_int kernelend);