summaryrefslogtreecommitdiffstats
path: root/sys/sun4v
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2008-05-09 23:31:42 +0000
committeralc <alc@FreeBSD.org>2008-05-09 23:31:42 +0000
commit783a45362fa0dea62f9e097467969e65e18a553a (patch)
treefd9c1cc1a13b2c79a8845c03939ea8aaec4e6baa /sys/sun4v
parent1fa19ac1a8e921b39bbefb77bf7ffc50dc1b3b2b (diff)
downloadFreeBSD-src-783a45362fa0dea62f9e097467969e65e18a553a.zip
FreeBSD-src-783a45362fa0dea62f9e097467969e65e18a553a.tar.gz
Add a stub for pmap_align_superpage() on machines that don't (yet)
implement pmap-level support for superpages.
Diffstat (limited to 'sys/sun4v')
-rw-r--r--sys/sun4v/sun4v/pmap.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/sun4v/sun4v/pmap.c b/sys/sun4v/sun4v/pmap.c
index 1b74374..3fe21dd 100644
--- a/sys/sun4v/sun4v/pmap.c
+++ b/sys/sun4v/sun4v/pmap.c
@@ -431,6 +431,16 @@ pmap_addr_hint(vm_object_t object, vm_offset_t va, vm_size_t size)
}
/*
+ * Increase the starting virtual address of the given mapping if a
+ * different alignment might result in more superpage mappings.
+ */
+void
+pmap_align_superpage(vm_object_t object, vm_ooffset_t offset,
+ vm_offset_t *addr, vm_size_t size)
+{
+}
+
+/*
* Bootstrap the system enough to run with virtual memory.
*/
void
OpenPOWER on IntegriCloud