From c94759ba7930feda649e73aabf710a4dcfcd0403 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 17 Jul 2008 00:28:06 +0000 Subject: 2008-07-15 Barry deFreese * i386/i386/model_dep.h: New header. * i386/i386at/model_dep.c: Include . * kern/debug.c: Include . * 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. --- vm/pmap.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vm/pmap.h') diff --git a/vm/pmap.h b/vm/pmap.h index 04ab4e9..66818a1 100644 --- a/vm/pmap.h +++ b/vm/pmap.h @@ -208,6 +208,15 @@ extern void pmap_copy(pmap_t, pmap_t, vm_offset_t, vm_size_t, 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. */ -- cgit v1.2.3