Searched refs:stack_start (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/arch/xtensa/core/ |
D | prep_c.c | 65 char *stack_start = K_KERNEL_STACK_BUFFER(z_interrupt_stacks[0]); in z_prep_c() local 67 char *stack_end = stack_start + stack_sz; in z_prep_c() 77 if (((uintptr_t)sp < (uintptr_t)stack_start) || in z_prep_c() 79 memset(stack_start, 0xAA, stack_sz); in z_prep_c()
|
/Zephyr-latest/arch/x86/core/ |
D | userspace.c | 161 uintptr_t stack_start; in arch_user_mode_enter() local 166 stack_start = POINTER_TO_UINT(_current->stack_obj); in arch_user_mode_enter() 173 stack_start += CONFIG_MMU_PAGE_SIZE; in arch_user_mode_enter() 178 stack_start, stack_size, in arch_user_mode_enter()
|
/Zephyr-latest/tests/kernel/threads/thread_stack/src/ |
D | main.c | 100 char *stack_start, *stack_ptr, *stack_end, *obj_start, *obj_end; in stack_buffer_scenarios() local 122 stack_info_get(&stack_start, &stack_size); in stack_buffer_scenarios() 123 printk(" - Thread reports buffer %p size %zu\n", stack_start, in stack_buffer_scenarios() 140 stack_end = stack_start + stack_size; in stack_buffer_scenarios() 157 zassert_true(stack_start >= obj_start, in stack_buffer_scenarios() 190 for (pos = stack_start; pos < stack_end; pos++) { in stack_buffer_scenarios() 201 zassert_true(check_perms(stack_start - 1, 1, 0), in stack_buffer_scenarios() 217 stack_start += reserved; in stack_buffer_scenarios() 227 carveout = stack_start - stack_buf; in stack_buffer_scenarios()
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_thread.c | 50 uintptr_t stack_start; in thread_abort_hook() local 55 (void)arch_page_phys_get((void *)thread->stack_info.start, &stack_start); in thread_abort_hook() 57 stack_start = thread->stack_info.start; in thread_abort_hook() 60 offset = stack_start - (uintptr_t)thread_def->stack_mem; in thread_abort_hook()
|
/Zephyr-latest/arch/xtensa/include/ |
D | xtensa_internal.h | 56 uintptr_t stack_start);
|
/Zephyr-latest/arch/arm/include/cortex_a_r/ |
D | kernel_arch_func.h | 80 uint32_t stack_start);
|
/Zephyr-latest/arch/x86/include/ |
D | kernel_arch_func.h | 83 uintptr_t stack_start);
|
/Zephyr-latest/arch/arm/include/cortex_m/ |
D | kernel_arch_func.h | 78 void *p3, uint32_t stack_end, uint32_t stack_start);
|
/Zephyr-latest/arch/riscv/include/ |
D | kernel_arch_func.h | 100 uint32_t stack_start);
|
/Zephyr-latest/kernel/ |
D | thread.c | 806 int z_stack_space_get(const uint8_t *stack_start, size_t size, size_t *unused_ptr) in z_stack_space_get() argument 809 const uint8_t *checked_stack = stack_start; in z_stack_space_get() 814 const uint8_t *stack_pointer = (const uint8_t *)&stack_start; in z_stack_space_get() 823 if ((stack_pointer > stack_start) && (stack_pointer <= (stack_start + size)) && in z_stack_space_get()
|
/Zephyr-latest/kernel/include/ |
D | kernel_internal.h | 162 int z_stack_space_get(const uint8_t *stack_start, size_t size, size_t *unused_ptr);
|