MOS Source Code
|
#include "mos/mm/mm.h"
#include "mos/platform/platform.h"
#include <mos/mos_global.h>
#include <mos/types.h>
Go to the source code of this file.
Classes | |
struct | sv48_pte_t |
Macros | |
#define | pte_is_stem(pte) |
#define | pte_is_huge(pte) |
#define | pte_set_ppn_stem(pte, _ppn) |
#define | pte_set_ppn_huge(pte, _ppn) |
#define pte_is_stem | ( | pte | ) |
Definition at line 33 of file mm.c.
Referenced by pmle_set_flags().
#define pte_is_huge | ( | pte | ) |
#define pte_set_ppn_stem | ( | pte, | |
_ppn ) |
Definition at line 36 of file mm.c.
Referenced by platform_pml1e_set_pfn(), platform_pml2e_set_pml1(), platform_pml3e_set_pml2(), and platform_pml4e_set_pml3().
#define pte_set_ppn_huge | ( | pte, | |
_ppn ) |
MOS_STATIC_ASSERT | ( | sizeof(sv48_pte_t) | = =sizeof(pte_content_t) | ) |
should_inline void pmle_set_flags | ( | int | level, |
sv48_pte_t * | pte, | ||
vm_flags | flags ) |
Definition at line 39 of file mm.c.
Referenced by platform_pml1e_set_flags(), platform_pml2e_set_flags(), platform_pml3e_set_flags(), and platform_pml4e_set_flags().
should_inline vm_flags pte_get_flags | ( | const sv48_pte_t * | pte | ) |
Definition at line 53 of file mm.c.
Referenced by platform_pml1e_get_flags(), platform_pml2e_get_flags(), platform_pml3e_get_flags(), and platform_pml4e_get_flags().
Definition at line 65 of file mm.c.
Referenced by mos_test_engine_run_tests(), platform_ap_entry(), and try_handle_kernel_panics_at().
Definition at line 72 of file mm.c.
Referenced by pml1e_do_flag_callback(), pml1e_do_map_callback(), pml1e_do_mask_callback(), and pml1e_do_unmap_callback().
Definition at line 78 of file mm.c.
Referenced by pagetable_iter_next(), pagetable_iterator_start_current_range(), pml1e_do_copy_callback(), pml1e_do_unmap_callback(), and pml1e_get_pfn().
Definition at line 83 of file mm.c.
Referenced by pml1e_do_map_callback().
Definition at line 90 of file mm.c.
Referenced by pagetable_iter_next(), pagetable_iterator_start_current_range(), pml1e_do_copy_callback(), pml1e_do_flag_callback(), pml1e_do_mask_callback(), pml1e_do_unmap_callback(), and pml1e_is_present().
Definition at line 95 of file mm.c.
Referenced by pml1e_do_flag_callback(), pml1e_do_map_callback(), and pml1e_do_mask_callback().
Definition at line 101 of file mm.c.
Referenced by mm_do_get_flags(), pagetable_iter_next(), pagetable_iterator_start_current_range(), and pml1e_do_mask_callback().
pml1_t platform_pml2e_get_pml1 | ( | const pml2e_t * | pml2 | ) |
Definition at line 107 of file mm.c.
Referenced by pagetable_iter_next(), pagetable_iterator_start_current_range(), pml2_destroy_range(), and pml2e_get_or_create_pml1().
Definition at line 112 of file mm.c.
Referenced by pml2_traverse(), and pml2e_get_or_create_pml1().
bool platform_pml2e_get_present | ( | const pml2e_t * | pml2 | ) |
Definition at line 120 of file mm.c.
Referenced by pml2e_is_present().
Definition at line 125 of file mm.c.
Referenced by pml2e_do_copy_callback(), pml2e_do_flag_callback(), and pml2e_do_map_callback().
vm_flags platform_pml2e_get_flags | ( | const pml2e_t * | pml2e | ) |
Definition at line 131 of file mm.c.
Referenced by mm_do_get_flags(), pagetable_iter_next(), pagetable_iterator_start_current_range(), and pml2e_do_copy_callback().
pml2_t platform_pml3e_get_pml2 | ( | const pml3e_t * | pml3 | ) |
Definition at line 157 of file mm.c.
Referenced by pagetable_iter_next(), and pagetable_iterator_start_current_range().
Definition at line 175 of file mm.c.
Referenced by platform_startup_setup_kernel_mm(), pml3e_do_copy_callback(), pml3e_do_flag_callback(), and pml3e_do_map_callback().
Definition at line 181 of file mm.c.
Referenced by mm_do_get_flags(), pagetable_iter_next(), pagetable_iterator_start_current_range(), and pml3e_do_copy_callback().
pml3_t platform_pml4e_get_pml3 | ( | const pml4e_t * | pml4 | ) |
Definition at line 207 of file mm.c.
Referenced by pagetable_iter_next(), and pagetable_iterator_start_current_range().
Definition at line 225 of file mm.c.
Referenced by pml4e_do_copy_callback(), pml4e_do_flag_callback(), and pml4e_do_map_callback().
Definition at line 231 of file mm.c.
Referenced by mm_do_get_flags(), pagetable_iterator_start_current_range(), and pml4e_do_copy_callback().