MOS Source Code
Loading...
Searching...
No Matches
pml5.h File Reference
+ Include dependency graph for pml5.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void pml5_traverse (pml5_t pml5, ptr_t *vaddr, size_t *n_pages, pagetable_walk_options_t callback, void *data)
 
__nodiscard bool pml5_destroy_range (pml5_t pml5, ptr_t *vaddr, size_t *n_pages)
 
pml5e_tpml5_entry (pml5_t pml5, ptr_t vaddr)
 
bool pml5e_is_present (const pml5e_t *pml5e)
 
pml4_t pml5e_get_or_create_pml4 (pml5e_t *pml5e)
 

Function Documentation

◆ pml5_traverse()

void pml5_traverse ( pml5_t pml5,
ptr_t * vaddr,
size_t * n_pages,
pagetable_walk_options_t callback,
void * data )

Definition at line 12 of file pml5.c.

Referenced by mm_do_copy(), mm_do_flag(), mm_do_map(), mm_do_mask_flags(), and mm_do_unmap().

+ Here is the call graph for this function:

◆ pml5_destroy_range()

__nodiscard bool pml5_destroy_range ( pml5_t pml5,
ptr_t * vaddr,
size_t * n_pages )

Definition at line 17 of file pml5.c.

Referenced by mm_destroy_context(), and mm_do_unmap().

+ Here is the call graph for this function:

◆ pml5_entry()

pml5e_t * pml5_entry ( pml5_t pml5,
ptr_t vaddr )

Definition at line 23 of file pml5.c.

Referenced by mm_do_copy(), mm_do_get_flags(), mm_do_get_pfn(), and mm_do_get_present().

◆ pml5e_is_present()

bool pml5e_is_present ( const pml5e_t * pml5e)

Definition at line 29 of file pml5.c.

Referenced by mm_do_get_flags(), mm_do_get_pfn(), and mm_do_get_present().

◆ pml5e_get_or_create_pml4()

pml4_t pml5e_get_or_create_pml4 ( pml5e_t * pml5e)

Definition at line 35 of file pml5.c.

Referenced by mm_do_copy(), mm_do_get_flags(), mm_do_get_pfn(), and mm_do_get_present().