/Zephyr-latest/tests/kernel/threads/thread_stack/src/ |
D | main.c | 96 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/ |
D | userspace.c | 75 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/ |
D | arm_core_mpu.c | 250 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/ |
D | thread.c | 235 (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/ |
D | thread.c | 46 (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()
|
D | coredump.c | 200 hdr_stack_obj = (struct xtensa_thread_stack_header *)thread->stack_obj; in arch_coredump_priv_stack_dump()
|
D | vector_handlers.c | 84 start = (uintptr_t)thread->stack_obj; in xtensa_is_outside_stack_bounds()
|
/Zephyr-latest/arch/arm/core/cortex_a_r/ |
D | thread.c | 202 (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/ |
D | thread.c | 136 (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()
|
D | fatal.c | 167 if (z_stack_is_user_capable(arch_current_thread()->stack_obj) && in bad_stack_pointer()
|
D | pmp.c | 488 } else if (z_stack_is_user_capable(thread->stack_obj)) { in z_riscv_pmp_stackguard_prepare()
|
/Zephyr-latest/arch/arm64/core/ |
D | thread.c | 170 stack_el1 = (uintptr_t)(arch_current_thread()->stack_obj + ARCH_THREAD_STACK_RESERVED); in arch_user_mode_enter()
|
/Zephyr-latest/arch/x86/core/ia32/ |
D | coredump.c | 94 hdr_stack_obj = (struct z_x86_thread_stack_header *)thread->stack_obj; in arch_coredump_priv_stack_dump()
|
/Zephyr-latest/arch/arc/core/ |
D | thread.c | 63 (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()
|
D | fault.c | 76 guard_start = (uint32_t)thread->stack_obj; in z_check_thread_stack_fail()
|
/Zephyr-latest/include/zephyr/kernel/ |
D | thread.h | 330 k_thread_stack_t *stack_obj; member
|
/Zephyr-latest/arch/x86/core/intel64/ |
D | coredump.c | 120 hdr_stack_obj = (struct z_x86_thread_stack_header *)thread->stack_obj; in arch_coredump_priv_stack_dump()
|
/Zephyr-latest/kernel/ |
D | thread.c | 537 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()
|
D | sched.c | 1329 k_object_uninit(thread->stack_obj); in halt_thread()
|
/Zephyr-latest/doc/hardware/porting/ |
D | arch.rst | 550 +---------------------+ <- 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
|