Searched refs:arch_aspace (Results 1 – 10 of 10) sorted by relevance
/lk-master/kernel/vm/ |
A D | vm.c | 44 … status_t err = arch_mmu_query(&vmm_get_kernel_aspace()->arch_aspace, va + offset, &pa, &flags); in mark_pages_in_use() 115 status_t rc = arch_mmu_query(&aspace->arch_aspace, (vaddr_t)ptr, &pa, NULL); in vaddr_to_paddr() 161 status_t err = arch_mmu_query(&aspace->arch_aspace, argv[2].u, &pa, &flags); in cmd_vm() 175 int err = arch_mmu_map(&aspace->arch_aspace, argv[3].u, argv[2].u, argv[4].u, argv[5].u); in cmd_vm() 186 int err = arch_mmu_unmap(&aspace->arch_aspace, argv[2].u, argv[3].u); in cmd_vm()
|
A D | vmm.c | 35 …arch_mmu_init_aspace(&_kernel_aspace.arch_aspace, KERNEL_ASPACE_BASE, KERNEL_ASPACE_SIZE, ARCH_ASP… in vmm_init_preheap() 191 …*pva = arch_mmu_pick_spot(&aspace->arch_aspace, gap_beg, prev ? prev->arch_mmu_flags : ARCH_MMU_FL… in check_gap() 315 arch_mmu_query(&aspace->arch_aspace, vaddr, NULL, &arch_mmu_flags); in vmm_reserve_space() 372 int err = arch_mmu_map(&aspace->arch_aspace, r->base, paddr, size / PAGE_SIZE, arch_mmu_flags); in vmm_alloc_physical() 438 arch_mmu_map(&aspace->arch_aspace, r->base, pa, size / PAGE_SIZE, arch_mmu_flags); in vmm_alloc_contiguous() 524 arch_mmu_map(&aspace->arch_aspace, va, pa, 1, arch_mmu_flags); in vmm_alloc() 572 arch_mmu_unmap(&aspace->arch_aspace, r->base, r->size / PAGE_SIZE); in vmm_free_region() 608 err = arch_mmu_init_aspace(&aspace->arch_aspace, aspace->base, aspace->size, in vmm_create_aspace() 645 arch_mmu_unmap(&aspace->arch_aspace, r->base, r->size / PAGE_SIZE); in vmm_free_aspace() 668 arch_mmu_destroy_aspace(&aspace->arch_aspace); in vmm_free_aspace() [all …]
|
/lk-master/arch/arm/arm/include/arch/ |
A D | aspace.h | 15 struct arch_aspace { struct 28 static inline bool arch_mmu_is_valid_vaddr(struct arch_aspace *aspace, vaddr_t vaddr) { in arch_mmu_is_valid_vaddr() argument
|
/lk-master/arch/or1k/include/arch/ |
A D | aspace.h | 14 struct arch_aspace { struct
|
/lk-master/arch/x86/include/arch/ |
A D | aspace.h | 14 struct arch_aspace { struct
|
/lk-master/arch/arm64/include/arch/ |
A D | aspace.h | 16 struct arch_aspace { struct
|
/lk-master/arch/riscv/include/arch/ |
A D | aspace.h | 16 struct arch_aspace { struct
|
/lk-master/arch/include/arch/ |
A D | mmu.h | 33 typedef struct arch_aspace arch_aspace_t;
|
/lk-master/arch/arm/arm/ |
A D | arch.c | 349 if (arch_mmu_is_valid_vaddr(&vmm_get_kernel_aspace()->arch_aspace, loader_pa)) { in arch_chain_load() 350 aspace = &vmm_get_kernel_aspace()->arch_aspace; in arch_chain_load()
|
/lk-master/kernel/include/kernel/ |
A D | vm.h | 196 arch_aspace_t arch_aspace; member
|
Completed in 9 milliseconds