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

Go to the source code of this file.

Functions

void pml2_traverse (pml2_t pml2, ptr_t *vaddr, size_t *n_pages, pagetable_walk_options_t options, void *data)
 
bool pml2_destroy_range (pml2_t pml2, ptr_t *vaddr, size_t *n_pages)
 
pml2e_t * pml2_entry (pml2_t pml2, ptr_t vaddr)
 
bool pml2e_is_present (const pml2e_t *pml2e)
 
pml1_t pml2e_get_or_create_pml1 (pml2e_t *pml2e)
 

Function Documentation

◆ pml2_traverse()

void pml2_traverse ( pml2_t pml2,
ptr_t * vaddr,
size_t * n_pages,
pagetable_walk_options_t options,
void * data )

Definition at line 13 of file pml2.c.

Referenced by pml3_traverse().

+ Here is the call graph for this function:

◆ pml2_destroy_range()

bool pml2_destroy_range ( pml2_t pml2,
ptr_t * vaddr,
size_t * n_pages )

Definition at line 44 of file pml2.c.

+ Here is the call graph for this function:

◆ pml2_entry()

◆ pml2e_is_present()

bool pml2e_is_present ( const pml2e_t * pml2e)

◆ pml2e_get_or_create_pml1()

pml1_t pml2e_get_or_create_pml1 ( pml2e_t * pml2e)

Definition at line 83 of file pml2.c.

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

+ Here is the call graph for this function: