summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriane van der Steldt <ariane@cvs.openbsd.org>2011-04-28 20:43:42 +0000
committerAriane van der Steldt <ariane@cvs.openbsd.org>2011-04-28 20:43:42 +0000
commit6a424431dcfe5509b844f93b4b20d8814efd077d (patch)
tree67ad0541782a5f4cf2638b488211e10a7dcaeaa1
parentc8fc538151be9faa7d04505ce0656d4bae3fe259 (diff)
Expose pmap_prefer parameters.
This will enable future uvm_map to make intelligent allocation decisions.
-rw-r--r--sys/arch/hppa64/include/pmap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/hppa64/include/pmap.h b/sys/arch/hppa64/include/pmap.h
index 9c71dc29be2..3f8b7c03e05 100644
--- a/sys/arch/hppa64/include/pmap.h
+++ b/sys/arch/hppa64/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.4 2010/12/26 15:40:59 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.5 2011/04/28 20:43:41 ariane Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -68,6 +68,11 @@ pmap_prefer(vaddr_t offs, vaddr_t hint)
return pmap_prefer_hint;
}
+/* pmap prefer alignment */
+#define PMAP_PREFER_ALIGN() (HPPA_PGALIAS)
+/* pmap prefer offset within alignment */
+#define PMAP_PREFER_OFFSET(of) ((of) & HPPA_PGAOFF)
+
#define PMAP_GROWKERNEL
#define PMAP_STEAL_MEMORY