Home
last modified time | relevance | path

Searched refs:THREAD_STACK_PADDING_SIZE (Results 1 – 2 of 2) sorted by relevance

/lk-master/kernel/include/kernel/
A Dthread.h33 #ifndef THREAD_STACK_PADDING_SIZE
34 #define THREAD_STACK_PADDING_SIZE 256 macro
/lk-master/kernel/
A Dthread.c175 stack_size += THREAD_STACK_PADDING_SIZE; in thread_create_etc()
186 memset(t->stack, STACK_DEBUG_BYTE, THREAD_STACK_PADDING_SIZE); in thread_create_etc()
193 memset(t->stack + THREAD_STACK_PADDING_SIZE, STACK_DEBUG_BYTE, in thread_create_etc()
194 stack_size - THREAD_STACK_PADDING_SIZE); in thread_create_etc()
567 STATIC_ASSERT((THREAD_STACK_PADDING_SIZE % sizeof(uint32_t)) == 0); in thread_resched()
569 for (size_t i = 0; i < THREAD_STACK_PADDING_SIZE / sizeof(uint32_t); i++) { in thread_resched()

Completed in 5 milliseconds