summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-07-17 00:28:06 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:16 +0200
commitc94759ba7930feda649e73aabf710a4dcfcd0403 (patch)
treec6aa69d72673d8d71d67268e6ddad32623e8ace6 /vm
parent2580af6c44c6b6dd9f714e764a0f74958bb20ea2 (diff)
2008-07-15 Barry deFreese <bddebian@comcast.net>
* i386/i386/model_dep.h: New header. * i386/i386at/model_dep.c: Include <i386/model_dep.h>. * kern/debug.c: Include <machine/model_dep.h>. * kern/mach_clock.c: Likewise. * kern/sched_prim.c: Likewise. * kern/startup.c: Likewise. * kern/machine.c: Likewise. (halt_cpu): Remove prototype. * vm/pmap.h (pmap_grab_page): Add prototype.
Diffstat (limited to 'vm')
-rw-r--r--vm/pmap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/vm/pmap.h b/vm/pmap.h
index 04ab4e9..66818a1 100644
--- a/vm/pmap.h
+++ b/vm/pmap.h
@@ -209,6 +209,15 @@ extern kern_return_t pmap_attribute();
#endif /* pmap_attribute */
/*
+ * Grab a physical page:
+ * the standard memory allocation mechanism
+ * during system initialization.
+ */
+extern vm_offset_t pmap_grab_page (void);
+
+extern boolean_t pmap_valid_page(vm_offset_t x);
+
+/*
* Routines defined as macros.
*/
#ifndef PMAP_ACTIVATE_USER