Home
last modified time | relevance | path

Searched refs:priv_stack_start (Results 1 – 15 of 15) sorted by relevance

/Zephyr-Core-3.5.0/arch/arm/core/cortex_a_r/
Dthread.c121 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 …]
/Zephyr-Core-3.5.0/arch/arm/core/cortex_m/
Dthread.c123 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 …]
/Zephyr-Core-3.5.0/arch/arc/core/
Dthread.c57 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()
Dfault.c81 guard_end = thread->arch.priv_stack_start; in z_check_thread_stack_fail()
/Zephyr-Core-3.5.0/arch/riscv/core/
Dthread.c79 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()
Dfatal.c108 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()
Dpmp.c423 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()
/Zephyr-Core-3.5.0/tests/arch/arm/arm_thread_swap/src/
Darm_syscalls.c52 ((__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()
/Zephyr-Core-3.5.0/include/zephyr/arch/arc/
Dthread.h60 uintptr_t priv_stack_start; member
/Zephyr-Core-3.5.0/arch/arm/core/mpu/
Darm_core_mpu.c248 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()
/Zephyr-Core-3.5.0/include/zephyr/arch/arm/
Dthread.h123 uint32_t priv_stack_start; member
/Zephyr-Core-3.5.0/arch/arm/core/offsets/
Doffsets_aarch32.c42 GEN_OFFSET_SYM(_thread_arch_t, priv_stack_start);
/Zephyr-Core-3.5.0/include/zephyr/arch/riscv/
Dthread.h75 unsigned long priv_stack_start; member
/Zephyr-Core-3.5.0/arch/arc/core/offsets/
Doffsets.c44 GEN_OFFSET_SYM(_thread_arch_t, priv_stack_start);
/Zephyr-Core-3.5.0/arch/arc/core/mpu/
Darc_mpu_v4_internal.h548 guard_start = thread->arch.priv_stack_start; in arc_core_mpu_configure_thread()