Lines Matching refs:start
122 .start = (uint32_t)_image_ram_start,
134 .start = (uint32_t)_heap_start,
146 .start = (uint32_t)__text_region_start,
153 .start = (uint32_t)__rodata_region_start,
216 static void map_memory_range(const uint32_t start, const uint32_t end, in map_memory_range() argument
224 for (page = start; page < end; page += CONFIG_MMU_PAGE_SIZE) { in map_memory_range()
250 static void map_memory(const uint32_t start, const uint32_t end, in map_memory() argument
253 map_memory_range(start, end, attrs); in map_memory()
256 if (sys_cache_is_ptr_uncached((void *)start)) { in map_memory()
257 map_memory_range(POINTER_TO_UINT(sys_cache_cached_ptr_get((void *)start)), in map_memory()
260 } else if (sys_cache_is_ptr_cached((void *)start)) { in map_memory()
261 map_memory_range(POINTER_TO_UINT(sys_cache_uncached_ptr_get((void *)start)), in map_memory()
283 map_memory(range->start, range->end, range->attrs | XTENSA_MMU_PTE_ATTR_ORIGINAL); in xtensa_init_page_tables()
289 map_memory(range->start, range->end, range->attrs | XTENSA_MMU_PTE_ATTR_ORIGINAL); in xtensa_init_page_tables()
844 static int region_map_update(uint32_t *ptables, uintptr_t start, in region_map_update() argument
851 uint32_t page = start + offset; in region_map_update()
874 static inline int update_region(uint32_t *ptables, uintptr_t start, in update_region() argument
887 if (sys_cache_is_ptr_cached((void *)start)) { in update_region()
888 va = start; in update_region()
889 va_uc = (uintptr_t)sys_cache_uncached_ptr_get((void *)start); in update_region()
891 va = (uintptr_t)sys_cache_cached_ptr_get((void *)start); in update_region()
892 va_uc = start; in update_region()
904 ret = region_map_update(ptables, start, size, ring, flags); in update_region()
919 static inline int reset_region(uint32_t *ptables, uintptr_t start, size_t size, uint32_t option) in reset_region() argument
921 return update_region(ptables, start, size, in reset_region()
927 (void)memset((void *)thread->stack_info.start, in xtensa_user_stack_perms()
932 thread->stack_info.start, thread->stack_info.size, in xtensa_user_stack_perms()
947 return reset_region(domain->arch.ptables, partition->start, in arch_mem_domain_partition_remove()
958 return update_region(domain->arch.ptables, partition->start, in arch_mem_domain_partition_add()
982 thread->stack_info.start, thread->stack_info.size, in arch_mem_domain_thread_add()
990 thread->stack_info.start, in arch_mem_domain_thread_add()
1042 thread->stack_info.start, in arch_mem_domain_thread_remove()
1130 uintptr_t end = part->start + part->size; in xtensa_swap_update_page_tables()
1132 for (uintptr_t addr = part->start; addr < end; addr += CONFIG_MMU_PAGE_SIZE) { in xtensa_swap_update_page_tables()