Home
last modified time | relevance | path

Searched refs:ptables (Results 1 – 21 of 21) sorted by relevance

/Zephyr-latest/arch/xtensa/core/
Dptables.c164 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 …]
DCMakeLists.txt26 zephyr_library_sources_ifdef(CONFIG_XTENSA_MMU ptables.c mmu.c)
/Zephyr-latest/arch/x86/core/
Dx86_mmu.c294 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 …]
Duserspace.c55 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()
Dfatal.c236 return arch_current_thread()->arch.ptables; in get_cr3()
/Zephyr-latest/arch/x86/include/
Dx86_mmu.h81 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/
Dmmu.c738 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/
Dxtensa_mmu_priv.h373 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/
Darch.h48 struct arm_mmu_ptables ptables; member
Dthread.h56 struct arm_mmu_ptables *ptables; member
/Zephyr-latest/include/zephyr/arch/xtensa/
Dthread.h33 uint32_t *ptables; member
Darch.h66 uint32_t *ptables; member
/Zephyr-latest/arch/x86/core/offsets/
Dia32_offsets.c39 GEN_OFFSET_SYM(_thread_arch_t, ptables);
Dintel64_offsets.c34 GEN_OFFSET_SYM(_thread_arch_t, ptables);
/Zephyr-latest/include/zephyr/arch/x86/
Dmmustructs.h89 pentry_t *ptables; member
/Zephyr-latest/include/zephyr/arch/x86/ia32/
Dthread.h220 uintptr_t ptables; member
/Zephyr-latest/include/zephyr/arch/x86/intel64/
Dthread.h125 uintptr_t ptables; member
/Zephyr-latest/arch/xtensa/core/offsets/
Doffsets.c71 GEN_OFFSET_SYM(_thread_arch_t, ptables);
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dace-link.ld329 *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/
Dxtensa-dc233c.ld165 LIB_OBJ_FUNC_IN_SECT(libarch__xtensa__core.a,ptables.c.obj,xtensa_swap_update_page_tables)
/Zephyr-latest/doc/releases/
Drelease-notes-2.7.rst1398 * :github:`37600` - Invalidate TLB after ptables swap