Home
last modified time | relevance | path

Searched defs:vaddr (Results 1 – 9 of 9) sorted by relevance

/lk-master/arch/x86/64/
A Dmmu.c46 static bool x86_mmu_check_vaddr(vaddr_t vaddr) { in x86_mmu_check_vaddr()
89 static inline uint64_t get_pml4_entry_from_pml4_table(vaddr_t vaddr, addr_t pml4_addr) { in get_pml4_entry_from_pml4_table()
97 static inline uint64_t get_pdp_entry_from_pdp_table(vaddr_t vaddr, uint64_t pml4e) { in get_pdp_entry_from_pdp_table()
106 static inline uint64_t get_pd_entry_from_pd_table(vaddr_t vaddr, uint64_t pdpe) { in get_pd_entry_from_pd_table()
115 static inline uint64_t get_pt_entry_from_pt_table(vaddr_t vaddr, uint64_t pde) { in get_pt_entry_from_pt_table()
190 status_t x86_mmu_get_mapping(map_addr_t pml4, vaddr_t vaddr, uint32_t *ret_level, in x86_mmu_get_mapping()
258 vaddr_t vaddr, arch_flags_t in_flags, in x86_mmu_check_mapping()
365 vaddr_t vaddr, arch_flags_t mmu_flags) { in x86_mmu_add_mapping()
467 static void x86_mmu_unmap_entry(vaddr_t vaddr, int level, vaddr_t table_entry) { in x86_mmu_unmap_entry()
543 status_t x86_mmu_unmap(map_addr_t pml4, vaddr_t vaddr, uint count) { in x86_mmu_unmap()
[all …]
/lk-master/arch/x86/32/
A Dmmu.c40 static inline map_addr_t get_pdp_entry_from_pdp_table(vaddr_t vaddr, map_addr_t pdpt) { in get_pdp_entry_from_pdp_table()
65 static inline map_addr_t get_pd_entry_from_pd_table(vaddr_t vaddr, map_addr_t pdt) { in get_pd_entry_from_pd_table()
74 static inline map_addr_t get_pt_entry_from_page_table(vaddr_t vaddr, map_addr_t pt) { in get_pt_entry_from_page_table()
138 status_t x86_mmu_get_mapping(map_addr_t init_table, vaddr_t vaddr, uint32_t *ret_level, in x86_mmu_get_mapping()
216 vaddr_t vaddr, arch_flags_t in_flags, in x86_mmu_check_mapping()
270 static void update_pd_entry(vaddr_t vaddr, map_addr_t pdt, paddr_t m, arch_flags_t flags) { in update_pd_entry()
305 vaddr_t vaddr, arch_flags_t mmu_flags) { in x86_mmu_add_mapping()
384 static void x86_mmu_unmap_entry(vaddr_t vaddr, int level, map_addr_t table_entry) { in x86_mmu_unmap_entry()
441 status_t x86_mmu_unmap(map_addr_t init_table, vaddr_t vaddr, uint count) { in x86_mmu_unmap()
464 int arch_mmu_unmap(arch_aspace_t *aspace, vaddr_t vaddr, uint count) { in arch_mmu_unmap()
[all …]
/lk-master/arch/arm64/
A Dmmu.c33 static inline bool is_valid_vaddr(arch_aspace_t *aspace, vaddr_t vaddr) { in is_valid_vaddr()
83 status_t arch_mmu_query(arch_aspace_t *aspace, vaddr_t vaddr, paddr_t *paddr, uint *flags) { in arch_mmu_query()
208 void *vaddr = memalign(size, size); in alloc_page_table() local
222 static void free_page_table(void *vaddr, paddr_t paddr, uint page_size_shift) { in free_page_table()
241 void *vaddr; in arm64_mmu_get_page_table() local
295 static void arm64_mmu_unmap_pt(vaddr_t vaddr, vaddr_t vaddr_rel, in arm64_mmu_unmap_pt()
360 vaddr_t vaddr = vaddr_in; in arm64_mmu_map_pt() local
431 int arm64_mmu_map(vaddr_t vaddr, paddr_t paddr, size_t size, pte_t attrs, in arm64_mmu_map()
459 int arm64_mmu_unmap(vaddr_t vaddr, size_t size, in arm64_mmu_unmap()
485 int arch_mmu_map(arch_aspace_t *aspace, vaddr_t vaddr, paddr_t paddr, uint count, uint flags) { in arch_mmu_map()
[all …]
A Dstart.S25 vaddr .req x23 label
/lk-master/kernel/vm/
A Dvmm.c43 static inline bool is_inside_aspace(const vmm_aspace_t *aspace, vaddr_t vaddr) { in is_inside_aspace()
47 static bool is_region_inside_aspace(const vmm_aspace_t *aspace, vaddr_t vaddr, size_t size) { in is_region_inside_aspace()
66 static size_t trim_to_aspace(const vmm_aspace_t *aspace, vaddr_t vaddr, size_t size) { in trim_to_aspace()
249 vaddr_t vaddr, uint8_t align_pow2, in alloc_region()
288 status_t vmm_reserve_space(vmm_aspace_t *aspace, const char *name, size_t size, vaddr_t vaddr) { in vmm_reserve_space()
346 vaddr_t vaddr = 0; in vmm_alloc_physical() local
398 vaddr_t vaddr = 0; in vmm_alloc_contiguous() local
472 vaddr_t vaddr = 0; in vmm_alloc() local
542 static vmm_region_t *vmm_find_region(const vmm_aspace_t *aspace, vaddr_t vaddr) { in vmm_find_region()
559 status_t vmm_free_region(vmm_aspace_t *aspace, vaddr_t vaddr) { in vmm_free_region()
/lk-master/arch/or1k/
A Dmmu.c28 void or1k_invalidate_tlb(vaddr_t vaddr, uint count) { in or1k_invalidate_tlb()
71 status_t arch_mmu_query(arch_aspace_t *aspace, vaddr_t vaddr, paddr_t *paddr, uint *flags) { in arch_mmu_query()
105 int arch_mmu_unmap(arch_aspace_t *aspace, vaddr_t vaddr, uint count) { in arch_mmu_unmap()
134 int arch_mmu_map(arch_aspace_t *aspace, vaddr_t vaddr, paddr_t paddr, uint count, uint flags) { in arch_mmu_map()
/lk-master/arch/arm/arm/
A Dmmu.c135 static void arm_mmu_map_section(arch_aspace_t *aspace, addr_t paddr, addr_t vaddr, uint flags) { in arm_mmu_map_section()
166 static void arm_mmu_unmap_section(arch_aspace_t *aspace, addr_t vaddr) { in arm_mmu_unmap_section()
235 status_t arch_mmu_query(arch_aspace_t *aspace, vaddr_t vaddr, paddr_t *paddr, uint *flags) { in arch_mmu_query()
480 int arch_mmu_map(arch_aspace_t *aspace, addr_t vaddr, paddr_t paddr, uint count, uint flags) { in arch_mmu_map()
578 int arch_mmu_unmap(arch_aspace_t *aspace, vaddr_t vaddr, uint count) { in arch_mmu_unmap()
/lk-master/arch/riscv/
A Dmmu.cpp314 int riscv_pt_walk(arch_aspace_t *aspace, vaddr_t vaddr, F callback) { in riscv_pt_walk()
414 …ddr, &count, aspace, flags](uint level, uint index, riscv_pte_t pte, vaddr_t *vaddr) -> walk_cb_re… in arch_mmu_map()
480 …auto query_cb = [paddr, flags](uint level, uint index, riscv_pte_t pte, vaddr_t *vaddr) -> walk_cb… in arch_mmu_query()
534 (uint level, uint index, riscv_pte_t pte, vaddr_t *vaddr) -> walk_cb_ret { in arch_mmu_unmap()
/lk-master/arch/arm/arm/include/arch/
A Daspace.h28 static inline bool arch_mmu_is_valid_vaddr(struct arch_aspace *aspace, vaddr_t vaddr) { in arch_mmu_is_valid_vaddr()

Completed in 13 milliseconds