MOS Source Code
|
#include "mos/mm/paging/table_ops.h"
#include "mos/mm/mm.h"
#include "mos/mm/mmstat.h"
#include "mos/mm/paging/pml_types.h"
#include "mos/mm/paging/pmlx/pml1.h"
#include "mos/mm/paging/pmlx/pml2.h"
#include "mos/mm/paging/pmlx/pml3.h"
#include "mos/mm/paging/pmlx/pml4.h"
#include "mos/mm/paging/pmlx/pml5.h"
#include "mos/mm/paging/table_ops/do_copy.h"
#include "mos/mm/paging/table_ops/do_flag.h"
#include "mos/mm/paging/table_ops/do_map.h"
#include "mos/mm/paging/table_ops/do_mask.h"
#include "mos/mm/paging/table_ops/do_unmap.h"
#include "mos/platform/platform.h"
#include "mos/syslog/printk.h"
#include <mos/types.h>
Go to the source code of this file.
Functions | |
void | mm_do_map (pgd_t pgd, ptr_t vaddr, pfn_t pfn, size_t n_pages, vm_flags flags, bool do_refcount) |
void | mm_do_flag (pgd_t max, ptr_t vaddr, size_t n_pages, vm_flags flags) |
void | mm_do_unmap (pgd_t max, ptr_t vaddr, size_t n_pages, bool do_unref) |
void | mm_do_mask_flags (pgd_t max, ptr_t vaddr, size_t n_pages, vm_flags mask) |
void | mm_do_copy (pgd_t src, pgd_t dst, ptr_t vaddr, size_t n_pages) |
pfn_t | mm_do_get_pfn (pgd_t max, ptr_t vaddr) |
vm_flags | mm_do_get_flags (pgd_t max, ptr_t vaddr) |
bool | mm_do_get_present (pgd_t max, ptr_t vaddr) |
void * | __create_page_table (void) |
void | __destroy_page_table (void *table) |
void mm_do_map | ( | pgd_t | pgd, |
ptr_t | vaddr, | ||
pfn_t | pfn, | ||
size_t | n_pages, | ||
vm_flags | flags, | ||
bool | do_refcount ) |
Definition at line 23 of file table_ops.c.
Referenced by acpi_sysfs_mmap(), mm_map_kernel_pages(), mm_map_user_pages(), mm_replace_page_locked(), and sys_mem_mmap().
Definition at line 29 of file table_ops.c.
Referenced by mm_flag_pages_locked(), and mm_handle_fault().
Definition at line 35 of file table_ops.c.
Referenced by acpi_sysfs_munmap(), sys_mem_munmap(), and vmap_destroy().
Definition at line 51 of file table_ops.c.
Referenced by vm_protect().
Definition at line 57 of file table_ops.c.
Referenced by mm_clone_vmap_locked().
Definition at line 67 of file table_ops.c.
Referenced by mm_get_phys_addr(), mm_handle_fault(), and mm_replace_page_locked().
Definition at line 112 of file table_ops.c.
Referenced by mm_handle_fault().
Definition at line 171 of file table_ops.c.
Referenced by riscv64_trap_handler().
Definition at line 204 of file table_ops.c.