![]() |
MOS Source Code
|
#include "mos/mm/mm.hpp"#include "mos/mm/mm_types.hpp"#include "mos/platform/platform.hpp"#include <mos/mos_global.h>#include <mos/types.hpp>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 34 of file mm.cpp.
Referenced by pmle_set_flags().
| #define pte_is_huge | ( | pte | ) |
| #define pte_set_ppn_stem | ( | pte, | |
| _ppn ) |
Definition at line 37 of file mm.cpp.
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, | ||
| VMFlags | flags ) |
Definition at line 40 of file mm.cpp.
Referenced by platform_pml1e_set_flags(), platform_pml2e_set_flags(), platform_pml3e_set_flags(), and platform_pml4e_set_flags().
| should_inline VMFlags pte_get_flags | ( | const sv48_pte_t * | pte | ) |
Definition at line 54 of file mm.cpp.
Referenced by platform_pml1e_get_flags(), platform_pml2e_get_flags(), platform_pml3e_get_flags(), and platform_pml4e_get_flags().
Definition at line 66 of file mm.cpp.
Referenced by handle_kernel_panic(), mos_test_engine_run_tests(), and platform_ap_entry().
Definition at line 73 of file mm.cpp.
Referenced by pml1e_do_flag_callback(), pml1e_do_map_callback(), pml1e_do_mask_callback(), and pml1e_do_unmap_callback().
Definition at line 79 of file mm.cpp.
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 84 of file mm.cpp.
Referenced by pml1e_do_map_callback().
Definition at line 91 of file mm.cpp.
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 96 of file mm.cpp.
Referenced by pml1e_do_flag_callback(), pml1e_do_map_callback(), and pml1e_do_mask_callback().
| VMFlags platform_pml1e_get_flags | ( | const pml1e_t * | pml1e | ) |
Definition at line 102 of file mm.cpp.
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 * | pml2e | ) |
Definition at line 108 of file mm.cpp.
Referenced by pagetable_iter_next(), pagetable_iterator_start_current_range(), pml2_destroy_range(), and pml2e_get_or_create_pml1().
Definition at line 113 of file mm.cpp.
Referenced by pml2_traverse(), and pml2e_get_or_create_pml1().
| bool platform_pml2e_get_present | ( | const pml2e_t * | pml2e | ) |
Definition at line 121 of file mm.cpp.
Referenced by pml2e_is_present().
| void platform_pml2e_set_flags | ( | pml2e_t * | pml2e, |
| VMFlags | flags ) |
Definition at line 126 of file mm.cpp.
Referenced by pml2e_do_copy_callback(), pml2e_do_flag_callback(), and pml2e_do_map_callback().
| VMFlags platform_pml2e_get_flags | ( | const pml2e_t * | pml2e | ) |
Definition at line 132 of file mm.cpp.
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 * | pml3e | ) |
Definition at line 158 of file mm.cpp.
Referenced by pagetable_iter_next(), and pagetable_iterator_start_current_range().
Definition at line 176 of file mm.cpp.
Referenced by platform_startup_setup_kernel_mm(), pml3e_do_copy_callback(), pml3e_do_flag_callback(), and pml3e_do_map_callback().
| VMFlags platform_pml3e_get_flags | ( | const pml3e_t * | pml3e | ) |
Definition at line 182 of file mm.cpp.
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 * | pml4e | ) |
Definition at line 208 of file mm.cpp.
Referenced by pagetable_iter_next(), and pagetable_iterator_start_current_range().
Definition at line 226 of file mm.cpp.
Referenced by pml4e_do_copy_callback(), pml4e_do_flag_callback(), and pml4e_do_map_callback().
| VMFlags platform_pml4e_get_flags | ( | const pml4e_t * | pml4e | ) |
Definition at line 232 of file mm.cpp.
Referenced by mm_do_get_flags(), pagetable_iterator_start_current_range(), and pml4e_do_copy_callback().