diff options
Diffstat (limited to 'vm/vm_page.h')
-rw-r--r-- | vm/vm_page.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vm/vm_page.h b/vm/vm_page.h index f9682367..ba54b3ab 100644 --- a/vm/vm_page.h +++ b/vm/vm_page.h @@ -503,6 +503,21 @@ const char * vm_page_seg_name(unsigned int seg_index); void vm_page_info_all(void); /* + * Return the maximum physical address for a given segment selector. + */ +phys_addr_t vm_page_seg_end(unsigned int selector); + +/* + * Return the total number of physical pages. + */ +unsigned long vm_page_table_size(void); + +/* + * Return the index of a page in the page table. + */ +unsigned long vm_page_table_index(phys_addr_t pa); + +/* * Return the total amount of physical memory. */ phys_addr_t vm_page_mem_size(void); |