MOS Source Code
Loading...
Searching...
No Matches
pml4.c File Reference
#include "mos/mm/paging/pmlx/pml4.h"
#include "mos/mm/mm.h"
#include "mos/mm/paging/pml_types.h"
#include "mos/mm/paging/pmlx/pml3.h"
#include "mos/platform/platform.h"
#include "mos/platform/platform_defs.h"
#include <mos/mos_global.h>
#include <mos_stdlib.h>
#include <mos_string.h>
+ Include dependency graph for pml4.c:

Go to the source code of this file.

Functions

void pml4_traverse (pml4_t pml4, ptr_t *vaddr, size_t *n_pages, pagetable_walk_options_t callback, void *data)
 
pml4e_tpml4_entry (pml4_t pml4, ptr_t vaddr)
 
bool pml4e_is_present (const pml4e_t *pml4e)
 
pml3_t pml4e_get_pml3 (const pml4e_t *pml4e)
 

Function Documentation

◆ pml4_traverse()

void pml4_traverse ( pml4_t pml4,
ptr_t * vaddr,
size_t * n_pages,
pagetable_walk_options_t callback,
void * data )

Definition at line 16 of file pml4.c.

Referenced by pml5_traverse().

+ Here is the call graph for this function:

◆ pml4_entry()

◆ pml4e_is_present()

bool pml4e_is_present ( const pml4e_t * pml4e)

Definition at line 27 of file pml4.c.

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

+ Here is the call graph for this function:

◆ pml4e_get_pml3()

pml3_t pml4e_get_pml3 ( const pml4e_t * pml4e)

Definition at line 32 of file pml4.c.