Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/threads/thread_stack/src/
Dmain.c96 k_thread_stack_t *stack_obj; in stack_buffer_scenarios() local
109 stack_obj = scenario_data.stack_mapped; in stack_buffer_scenarios()
111 stack_obj = scenario_data.stack; in stack_buffer_scenarios()
114 base = (uintptr_t)stack_obj; in stack_buffer_scenarios()
129 stack_buf = K_THREAD_STACK_BUFFER(stack_obj); in stack_buffer_scenarios()
136 stack_buf = K_KERNEL_STACK_BUFFER(stack_obj); in stack_buffer_scenarios()
141 obj_end = (char *)stack_obj + obj_size; in stack_buffer_scenarios()
142 obj_start = (char *)stack_obj; in stack_buffer_scenarios()
163 stack_obj, alignment); in stack_buffer_scenarios()
359 void scenario_entry(void *stack_obj, size_t obj_size, size_t reported_size, in scenario_entry() argument
[all …]
/Zephyr-latest/arch/x86/core/
Duserspace.c75 if (z_stack_is_user_capable(thread->stack_obj)) { in z_x86_userspace_prepare_thread()
80 (struct z_x86_thread_stack_header *)thread->stack_obj; in z_x86_userspace_prepare_thread()
114 (struct z_x86_thread_stack_header *)thread->stack_obj; in z_x86_userspace_prepare_thread()
166 stack_start = POINTER_TO_UINT(arch_current_thread()->stack_obj); in arch_user_mode_enter()
198 hdr_stack_obj = (struct z_x86_thread_stack_header *)thread->stack_obj; in arch_thread_priv_stack_space_get()
/Zephyr-latest/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-latest/arch/arm/core/cortex_m/
Dthread.c235 (uint32_t)z_priv_stack_find(arch_current_thread()->stack_obj); in arch_user_mode_enter()
317 (uint32_t)thread->stack_obj; in configure_builtin_stack_guard()
319 __ASSERT(thread->stack_info.start == ((uint32_t)thread->stack_obj), in configure_builtin_stack_guard()
415 if (psp < (uint32_t)thread->stack_obj) { in z_check_thread_stack_fail()
417 return (uint32_t)thread->stack_obj; in z_check_thread_stack_fail()
/Zephyr-latest/arch/xtensa/core/
Dthread.c46 (struct xtensa_thread_stack_header *)thread->stack_obj; in init_stack()
184 hdr_stack_obj = (struct xtensa_thread_stack_header *)thread->stack_obj; in arch_thread_priv_stack_space_get()
Dcoredump.c200 hdr_stack_obj = (struct xtensa_thread_stack_header *)thread->stack_obj; in arch_coredump_priv_stack_dump()
Dvector_handlers.c84 start = (uintptr_t)thread->stack_obj; in xtensa_is_outside_stack_bounds()
/Zephyr-latest/arch/arm/core/cortex_a_r/
Dthread.c202 (uint32_t)z_priv_stack_find(arch_current_thread()->stack_obj); in arch_user_mode_enter()
340 if (psp < (uint32_t)thread->stack_obj) { in z_check_thread_stack_fail()
342 return (uint32_t)thread->stack_obj; in z_check_thread_stack_fail()
/Zephyr-latest/arch/riscv/core/
Dthread.c136 (unsigned long)z_priv_stack_find(arch_current_thread()->stack_obj); in arch_user_mode_enter()
142 (unsigned long)arch_current_thread()->stack_obj; in arch_user_mode_enter()
Dfatal.c167 if (z_stack_is_user_capable(arch_current_thread()->stack_obj) && in bad_stack_pointer()
Dpmp.c488 } else if (z_stack_is_user_capable(thread->stack_obj)) { in z_riscv_pmp_stackguard_prepare()
/Zephyr-latest/arch/arm64/core/
Dthread.c170 stack_el1 = (uintptr_t)(arch_current_thread()->stack_obj + ARCH_THREAD_STACK_RESERVED); in arch_user_mode_enter()
/Zephyr-latest/arch/x86/core/ia32/
Dcoredump.c94 hdr_stack_obj = (struct z_x86_thread_stack_header *)thread->stack_obj; in arch_coredump_priv_stack_dump()
/Zephyr-latest/arch/arc/core/
Dthread.c63 (uint32_t)z_priv_stack_find(thread->stack_obj); in setup_stack_vars()
65 thread->arch.priv_stack_start = (uint32_t)(thread->stack_obj); in setup_stack_vars()
Dfault.c76 guard_start = (uint32_t)thread->stack_obj; in z_check_thread_stack_fail()
/Zephyr-latest/include/zephyr/kernel/
Dthread.h330 k_thread_stack_t *stack_obj; member
/Zephyr-latest/arch/x86/core/intel64/
Dcoredump.c120 hdr_stack_obj = (struct z_x86_thread_stack_header *)thread->stack_obj; in arch_coredump_priv_stack_dump()
/Zephyr-latest/kernel/
Dthread.c537 new_thread->stack_obj = stack; in z_setup_new_thread()
782 __ASSERT(z_stack_is_user_capable(arch_current_thread()->stack_obj), in k_thread_user_mode_enter()
Dsched.c1329 k_object_uninit(thread->stack_obj); in halt_thread()
/Zephyr-latest/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