Searched refs:priv_stack_start (Results 1 – 15 of 15) sorted by relevance
121 thread->arch.priv_stack_start = 0; in arch_new_thread()143 if (thread->arch.priv_stack_start) { in z_arm_thread_stack_info_adjust()145 thread->arch.priv_stack_start += in z_arm_thread_stack_info_adjust()164 if (thread->arch.priv_stack_start) { in z_arm_thread_stack_info_adjust()166 thread->arch.priv_stack_start -= in z_arm_thread_stack_info_adjust()189 _current->arch.priv_stack_start = in arch_user_mode_enter()213 _current->arch.priv_stack_start += in arch_user_mode_enter()217 _current->arch.priv_stack_start += MPU_GUARD_ALIGN_AND_SIZE; in arch_user_mode_enter()223 _current->arch.priv_stack_start + CONFIG_PRIVILEGED_STACK_SIZE; in arch_user_mode_enter()316 if (thread->arch.priv_stack_start) { in z_check_thread_stack_fail()[all …]
123 thread->arch.priv_stack_start = 0; in arch_new_thread()145 if (thread->arch.priv_stack_start) { in z_arm_thread_stack_info_adjust()147 thread->arch.priv_stack_start += in z_arm_thread_stack_info_adjust()166 if (thread->arch.priv_stack_start) { in z_arm_thread_stack_info_adjust()168 thread->arch.priv_stack_start -= in z_arm_thread_stack_info_adjust()232 _current->arch.priv_stack_start = in arch_user_mode_enter()256 _current->arch.priv_stack_start += in arch_user_mode_enter()260 _current->arch.priv_stack_start += MPU_GUARD_ALIGN_AND_SIZE; in arch_user_mode_enter()311 ((thread->arch.priv_stack_start) && in configure_builtin_stack_guard()312 (__get_PSP() >= thread->arch.priv_stack_start)) ? in configure_builtin_stack_guard()[all …]
57 thread->arch.priv_stack_start = in setup_stack_vars()60 thread->arch.priv_stack_start = (uint32_t)(thread->stack_obj); in setup_stack_vars()62 thread->arch.priv_stack_start += Z_ARC_STACK_GUARD_SIZE; in setup_stack_vars()64 thread->arch.priv_stack_start = 0; in setup_stack_vars()71 thread->arch.k_stack_top = thread->arch.priv_stack_start; in setup_stack_vars()72 thread->arch.k_stack_base = (thread->arch.priv_stack_start + in setup_stack_vars()105 thread->arch.priv_stack_start + in get_iframe()
81 guard_end = thread->arch.priv_stack_start; in z_check_thread_stack_fail()
79 thread->arch.priv_stack_start = 0; in arch_new_thread()135 _current->arch.priv_stack_start = in arch_user_mode_enter()141 _current->arch.priv_stack_start = (unsigned long)_current->stack_obj; in arch_user_mode_enter()143 top_of_priv_stack = Z_STACK_PTR_ALIGN(_current->arch.priv_stack_start + in arch_user_mode_enter()
108 if (_current->arch.priv_stack_start != 0 && in bad_stack_pointer()109 sp >= _current->arch.priv_stack_start && in bad_stack_pointer()110 sp < _current->arch.priv_stack_start + Z_RISCV_STACK_GUARD_SIZE) { in bad_stack_pointer()
423 if (thread->arch.priv_stack_start != 0) { in z_riscv_pmp_stackguard_prepare()424 stack_bottom = thread->arch.priv_stack_start; in z_riscv_pmp_stackguard_prepare()
52 ((__get_PSP() >= _current->arch.priv_stack_start) && in z_impl_test_arm_user_syscall()53 (__get_PSP() < (_current->arch.priv_stack_start + in z_impl_test_arm_user_syscall()58 zassert_true(__get_PSPLIM() == _current->arch.priv_stack_start, in z_impl_test_arm_user_syscall()
60 uintptr_t priv_stack_start; member
248 if (thread->arch.priv_stack_start) { in z_arm_configure_dynamic_mpu_regions()280 if (thread->arch.priv_stack_start) { in z_arm_configure_dynamic_mpu_regions()285 guard_start = thread->arch.priv_stack_start - guard_size; in z_arm_configure_dynamic_mpu_regions()
123 uint32_t priv_stack_start; member
42 GEN_OFFSET_SYM(_thread_arch_t, priv_stack_start);
75 unsigned long priv_stack_start; member
44 GEN_OFFSET_SYM(_thread_arch_t, priv_stack_start);
548 guard_start = thread->arch.priv_stack_start; in arc_core_mpu_configure_thread()