summaryrefslogtreecommitdiff
path: root/vm/pmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm/pmap.h')
-rw-r--r--vm/pmap.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/vm/pmap.h b/vm/pmap.h
index 134f9c6..3dece5e 100644
--- a/vm/pmap.h
+++ b/vm/pmap.h
@@ -63,13 +63,10 @@
* but it is not part of the interface.
*/
-/* During VM initialization, steal a chunk of memory. */
-extern vm_offset_t pmap_steal_memory(vm_size_t);
-/* During VM initialization, report remaining unused physical pages. */
-extern unsigned int pmap_free_pages(void);
/* During VM initialization, use remaining physical pages to allocate page
* frames. */
extern void pmap_startup(vm_offset_t *, vm_offset_t *);
+
/* Initialization, after kernel runs in virtual memory. */
extern void pmap_init(void);
@@ -78,20 +75,12 @@ extern void pmap_init(void);
* If machine/pmap.h defines MACHINE_PAGES, it must implement
* the above functions. The pmap module has complete control.
* Otherwise, it must implement
- * pmap_free_pages
* pmap_virtual_space
- * pmap_next_page
* pmap_init
- * and vm/vm_resident.c implements pmap_steal_memory and pmap_startup
- * using pmap_free_pages, pmap_next_page, pmap_virtual_space,
- * and pmap_enter. pmap_free_pages may over-estimate the number
- * of unused physical pages, and pmap_next_page may return FALSE
- * to indicate that there are no more unused pages to return.
- * However, for best performance pmap_free_pages should be accurate.
+ * and vm/vm_resident.c implements pmap_startup using
+ * pmap_virtual_space, and pmap_enter.
*/
-/* During VM initialization, return the next unused physical page. */
-extern boolean_t pmap_next_page(vm_offset_t *);
/* During VM initialization, report virtual space available for the kernel. */
extern void pmap_virtual_space(vm_offset_t *, vm_offset_t *);
#endif /* MACHINE_PAGES */