Home
last modified time | relevance | path

Searched refs:stack_obj (Results 1 – 16 of 16) sorted by relevance

/Zephyr-Core-3.6.0/tests/kernel/threads/thread_stack/src/
Dmain.c92 k_thread_stack_t *stack_obj = scenario_data.stack; in stack_buffer_scenarios() local
100 uintptr_t base = (uintptr_t)stack_obj; in stack_buffer_scenarios()
117 stack_buf = Z_THREAD_STACK_BUFFER(stack_obj); in stack_buffer_scenarios()
124 stack_buf = Z_KERNEL_STACK_BUFFER(stack_obj); in stack_buffer_scenarios()
129 obj_end = (char *)stack_obj + obj_size; in stack_buffer_scenarios()
130 obj_start = (char *)stack_obj; in stack_buffer_scenarios()
151 stack_obj, alignment); in stack_buffer_scenarios()
329 void scenario_entry(void *stack_obj, size_t obj_size, size_t reported_size, in scenario_entry() argument
338 zo = k_object_find(stack_obj); in scenario_entry()
355 scenario_data.stack = stack_obj; in scenario_entry()
[all …]
/Zephyr-Core-3.6.0/arch/x86/core/
Duserspace.c70 (struct z_x86_thread_stack_header *)thread->stack_obj; in z_x86_userspace_prepare_thread()
131 stack_start = POINTER_TO_UINT(_current->stack_obj); in arch_user_mode_enter()
/Zephyr-Core-3.6.0/arch/arm/core/mpu/
Darm_core_mpu.c250 uintptr_t base = (uintptr_t)thread->stack_obj; in z_arm_configure_dynamic_mpu_regions()
298 __ASSERT((uintptr_t)thread->stack_obj == guard_start, in z_arm_configure_dynamic_mpu_regions()
300 guard_start, thread->stack_obj); in z_arm_configure_dynamic_mpu_regions()
/Zephyr-Core-3.6.0/arch/arm/core/cortex_m/
Dthread.c233 (uint32_t)z_priv_stack_find(_current->stack_obj); in arch_user_mode_enter()
314 (uint32_t)thread->stack_obj; in configure_builtin_stack_guard()
316 __ASSERT(thread->stack_info.start == ((uint32_t)thread->stack_obj), in configure_builtin_stack_guard()
412 if (psp < (uint32_t)thread->stack_obj) { in z_check_thread_stack_fail()
414 return (uint32_t)thread->stack_obj; in z_check_thread_stack_fail()
/Zephyr-Core-3.6.0/arch/riscv/core/
Dthread.c136 (unsigned long)z_priv_stack_find(_current->stack_obj); in arch_user_mode_enter()
141 _current->arch.priv_stack_start = (unsigned long)_current->stack_obj; in arch_user_mode_enter()
Dfatal.c115 if (z_stack_is_user_capable(_current->stack_obj) && in bad_stack_pointer()
Dpmp.c425 } else if (z_stack_is_user_capable(thread->stack_obj)) { in z_riscv_pmp_stackguard_prepare()
/Zephyr-Core-3.6.0/arch/arm/core/cortex_a_r/
Dthread.c197 (uint32_t)z_priv_stack_find(_current->stack_obj); in arch_user_mode_enter()
335 if (psp < (uint32_t)thread->stack_obj) { in z_check_thread_stack_fail()
337 return (uint32_t)thread->stack_obj; in z_check_thread_stack_fail()
/Zephyr-Core-3.6.0/arch/arm64/core/
Dthread.c170 stack_el1 = (uintptr_t)(_current->stack_obj + ARCH_THREAD_STACK_RESERVED); in arch_user_mode_enter()
/Zephyr-Core-3.6.0/arch/arc/core/
Dthread.c58 (uint32_t)z_priv_stack_find(thread->stack_obj); in setup_stack_vars()
60 thread->arch.priv_stack_start = (uint32_t)(thread->stack_obj); in setup_stack_vars()
Dfault.c77 guard_start = (uint32_t)thread->stack_obj; in z_check_thread_stack_fail()
/Zephyr-Core-3.6.0/arch/xtensa/core/
Dthread.c45 (struct xtensa_thread_stack_header *)thread->stack_obj; in init_stack()
/Zephyr-Core-3.6.0/include/zephyr/kernel/
Dthread.h315 k_thread_stack_t *stack_obj; member
/Zephyr-Core-3.6.0/kernel/
Dthread.c627 new_thread->stack_obj = stack; in z_setup_new_thread()
930 __ASSERT(z_stack_is_user_capable(_current->stack_obj), in k_thread_user_mode_enter()
Dsched.c1878 k_object_uninit(thread->stack_obj); in halt_thread()
/Zephyr-Core-3.6.0/doc/hardware/porting/
Darch.rst550 +---------------------+ <- thread.stack_obj
638 +-----------------------------+ <- thread.stack_obj
697 +------------------------------+ <- thread.stack_obj
705 +------------------------------| <- thread.stack_obj +
756 +-----------------------------+ <- z_priv_stack_find(thread.stack_obj)
763 +-----------------------------+ <- z_priv_stack_find(thread.stack_obj) +
767 +-----------------------------+ <- thread.stack_obj