MOS Source Code
|
#include "mos/platform/platform.h"
Go to the source code of this file.
Classes | |
struct | pagetable_iter_range_t |
struct | pagetable_iter_t |
Functions | |
void | pagetable_iter_init (pagetable_iter_t *it, pgd_t pgd, ptr_t vaddr, ptr_t end) |
Initialize a pagetable iterator. | |
pagetable_iter_range_t * | pagetable_iter_next (pagetable_iter_t *it) |
Get the next page table range. | |
void pagetable_iter_init | ( | pagetable_iter_t * | it, |
pgd_t | pgd, | ||
ptr_t | vaddr, | ||
ptr_t | end ) |
Initialize a pagetable iterator.
it | The iterator to initialize. |
pgd | The page directory to iterate. |
vaddr | The virtual address to start iterating from. |
end | The virtual address to stop iterating at. |
Definition at line 82 of file iterator.c.
Referenced by mm_dump_pagetable(), and mmstat_sysfs_pagetable_show().
pagetable_iter_range_t * pagetable_iter_next | ( | pagetable_iter_t * | it | ) |
Get the next page table range.
it | The iterator to get the next range from. |
Definition at line 97 of file iterator.c.
Referenced by mm_dump_pagetable(), and mmstat_sysfs_pagetable_show().