1 | // SPDX-License-Identifier: GPL-3.0-or-later |
---|---|
2 | |
3 | #pragma once |
4 | |
5 | #include "mos/mm/paging/pml_types.h" |
6 | |
7 | void pml5_traverse(pml5_t pml5, ptr_t *vaddr, size_t *n_pages, pagetable_walk_options_t callback, void *data); |
8 | |
9 | __nodiscard bool pml5_destroy_range(pml5_t pml5, ptr_t *vaddr, size_t *n_pages); |
10 | |
11 | pml5e_t *pml5_entry(pml5_t pml5, ptr_t vaddr); |
12 | |
13 | bool pml5e_is_present(const pml5e_t *pml5e); |
14 | |
15 | pml4_t pml5e_get_or_create_pml4(pml5e_t *pml5e); |
16 |