Home
last modified time | relevance | path

Searched refs:USER_ASPACE_BASE (Results 1 – 7 of 7) sorted by relevance

/lk-master/arch/test/
A Dmmu.c20 status_t err = arch_mmu_init_aspace(&as, USER_ASPACE_BASE, USER_ASPACE_SIZE, 0); in create_user_aspace()
33 status_t err = arch_mmu_init_aspace(&as, USER_ASPACE_BASE, USER_ASPACE_SIZE, 0); in map_user_pages()
43 vaddr_t va = USER_ASPACE_BASE; in map_user_pages()
52 va = USER_ASPACE_BASE; in map_user_pages()
79 status_t err = arch_mmu_init_aspace(&as, USER_ASPACE_BASE, USER_ASPACE_SIZE, 0); in context_switch()
90 err = arch_mmu_map(&as, USER_ASPACE_BASE, vm_page_to_paddr(p), 1, ARCH_MMU_FLAG_PERM_USER); in context_switch()
98 volatile int *ptr = (void *)USER_ASPACE_BASE; in context_switch()
/lk-master/kernel/include/kernel/
A Dvm.h95 #ifndef USER_ASPACE_BASE
96 #define USER_ASPACE_BASE ((vaddr_t)0x01000000UL) macro
99 #define USER_ASPACE_SIZE ((vaddr_t)KERNEL_ASPACE_BASE - USER_ASPACE_BASE - 0x01000000UL)
102 STATIC_ASSERT(USER_ASPACE_BASE + (USER_ASPACE_SIZE - 1) > USER_ASPACE_BASE);
105 return (va >= USER_ASPACE_BASE && va <= (USER_ASPACE_BASE + (USER_ASPACE_SIZE - 1))); in is_user_address()
/lk-master/arch/riscv/
A Drules.mk62 USER_ASPACE_BASE := 0x0000000001000000
76 USER_ASPACE_BASE := 0x0000000001000000
87 USER_ASPACE_BASE := 0x01000000
101 USER_ASPACE_BASE=$(USER_ASPACE_BASE) \
A Dmmu.cpp229 DEBUG_ASSERT(base == USER_ASPACE_BASE); in arch_mmu_init_aspace()
/lk-master/arch/arm64/
A Drules.mk61 USER_ASPACE_BASE ?= 0x0000000001000000
67 USER_ASPACE_BASE=$(USER_ASPACE_BASE) \
/lk-master/arch/x86/
A Drules.mk13 USER_ASPACE_BASE ?= 0
27 USER_ASPACE_BASE ?= 0x0000000000000000UL
/lk-master/kernel/vm/
A Dvmm.c603 aspace->base = USER_ASPACE_BASE; in vmm_create_aspace()

Completed in 7 milliseconds