/Zephyr-latest/arch/xtensa/core/ |
D | ptables.c | 164 return thread->arch.ptables; in thread_page_tables_get() 340 xtensa_set_paging(domain->asid, domain->ptables); in xtensa_mmu_reinit() 455 ret = l2_page_table_map(domain->ptables, (void *)vaddr, paddr, in __arch_mem_map() 461 ret = l2_page_table_map(domain->ptables, in __arch_mem_map() 610 (void)l2_page_table_unmap(domain->ptables, (void *)vaddr); in __arch_mem_unmap() 613 (void)l2_page_table_unmap(domain->ptables, (void *)vaddr_uc); in __arch_mem_unmap() 700 thread_ptables = (uint32_t)thread->arch.ptables; in xtensa_mmu_tlb_shootdown() 800 uint32_t *ptables; in arch_mem_domain_init() local 817 domain->arch.ptables = xtensa_kernel_ptables; in arch_mem_domain_init() 823 ptables = dup_table(); in arch_mem_domain_init() [all …]
|
D | CMakeLists.txt | 26 zephyr_library_sources_ifdef(CONFIG_XTENSA_MMU ptables.c mmu.c)
|
/Zephyr-latest/arch/x86/core/ |
D | x86_mmu.c | 294 static inline pentry_t *get_entry_ptr(pentry_t *ptables, void *virt, int level) in get_entry_ptr() argument 296 return &ptables[get_index(virt, level)]; in get_entry_ptr() 300 static inline pentry_t get_entry(pentry_t *ptables, void *virt, int level) in get_entry() argument 302 return ptables[get_index(virt, level)]; in get_entry() 368 pentry_t *ptables, void *virt) in pentry_get() argument 370 pentry_t *table = ptables; in pentry_get() 697 void z_x86_dump_page_tables(pentry_t *ptables) in z_x86_dump_page_tables() argument 699 dump_ptables(ptables, NULL, 0); in z_x86_dump_page_tables() 765 void z_x86_pentry_get(int *paging_level, pentry_t *val, pentry_t *ptables, in z_x86_pentry_get() argument 768 pentry_get(paging_level, val, ptables, virt); in z_x86_pentry_get() [all …]
|
D | userspace.c | 55 uintptr_t ptables_phys = incoming->arch.ptables; in z_x86_swap_update_page_tables() 93 thread->arch.ptables = (uintptr_t)NULL; in z_x86_userspace_prepare_thread()
|
D | fatal.c | 236 return arch_current_thread()->arch.ptables; in get_cr3()
|
/Zephyr-latest/arch/x86/include/ |
D | x86_mmu.h | 81 void z_x86_dump_mmu_flags(pentry_t *ptables, void *virt); 92 void z_x86_pentry_get(int *paging_level, pentry_t *val, pentry_t *ptables, 120 void z_x86_dump_page_tables(pentry_t *ptables); 142 extern bool z_x86_kpti_is_access_ok(void *virt, pentry_t *ptables) in z_x86_kpti_is_access_ok() argument 218 return k_mem_virt_addr(thread->arch.ptables); in z_x86_thread_page_tables_get()
|
/Zephyr-latest/arch/arm64/core/ |
D | mmu.c | 738 static int __add_map(struct arm_mmu_ptables *ptables, const char *name, in __add_map() argument 750 return set_mapping(ptables->base_xlat_table, virt, size, desc, may_overwrite); in __add_map() 753 static int add_map(struct arm_mmu_ptables *ptables, const char *name, in add_map() argument 760 ret = __add_map(ptables, name, phys, virt, size, attrs); in add_map() 765 static void remove_map(struct arm_mmu_ptables *ptables, const char *name, in remove_map() argument 775 del_mapping(ptables->base_xlat_table, virt, size, BASE_XLAT_LEVEL); in remove_map() 833 static inline void add_arm_mmu_flat_range(struct arm_mmu_ptables *ptables, in add_arm_mmu_flat_range() argument 842 __add_map(ptables, range->name, address, address, in add_arm_mmu_flat_range() 847 static inline void add_arm_mmu_region(struct arm_mmu_ptables *ptables, in add_arm_mmu_region() argument 853 __add_map(ptables, region->name, region->base_pa, region->base_va, in add_arm_mmu_region() [all …]
|
/Zephyr-latest/arch/xtensa/include/ |
D | xtensa_mmu_priv.h | 373 static ALWAYS_INLINE void xtensa_ptevaddr_set(void *ptables) in xtensa_ptevaddr_set() argument 375 __asm__ volatile("wsr.ptevaddr %0" : : "a"((uint32_t)ptables)); in xtensa_ptevaddr_set() 387 uint32_t ptables; in xtensa_ptevaddr_get() local 389 __asm__ volatile("rsr.ptevaddr %0" : "=a" (ptables)); in xtensa_ptevaddr_get() 391 return (void *)(ptables & XTENSA_MMU_PTEBASE_MASK); in xtensa_ptevaddr_get()
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | arch.h | 48 struct arm_mmu_ptables ptables; member
|
D | thread.h | 56 struct arm_mmu_ptables *ptables; member
|
/Zephyr-latest/include/zephyr/arch/xtensa/ |
D | thread.h | 33 uint32_t *ptables; member
|
D | arch.h | 66 uint32_t *ptables; member
|
/Zephyr-latest/arch/x86/core/offsets/ |
D | ia32_offsets.c | 39 GEN_OFFSET_SYM(_thread_arch_t, ptables);
|
D | intel64_offsets.c | 34 GEN_OFFSET_SYM(_thread_arch_t, ptables);
|
/Zephyr-latest/include/zephyr/arch/x86/ |
D | mmustructs.h | 89 pentry_t *ptables; member
|
/Zephyr-latest/include/zephyr/arch/x86/ia32/ |
D | thread.h | 220 uintptr_t ptables; member
|
/Zephyr-latest/include/zephyr/arch/x86/intel64/ |
D | thread.h | 125 uintptr_t ptables; member
|
/Zephyr-latest/arch/xtensa/core/offsets/ |
D | offsets.c | 71 GEN_OFFSET_SYM(_thread_arch_t, ptables);
|
/Zephyr-latest/soc/intel/intel_adsp/ace/ |
D | ace-link.ld | 329 *libarch__xtensa__core.a:ptables.c.obj(.literal.xtensa_mmu_init) 330 *libarch__xtensa__core.a:ptables.c.obj(.text.xtensa_mmu_init)
|
/Zephyr-latest/soc/cdns/dc233c/include/ |
D | xtensa-dc233c.ld | 165 LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,ptables.c.obj,xtensa_swap_update_page_tables)
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.7.rst | 1398 * :github:`37600` - Invalidate TLB after ptables swap
|