kernel: rename thread states symbols
They are not part of the API, so rename from K_<state> to _THREAD_<state>. Change-Id: Iaebb7d3083b80b9769bee5616e0f96ed2abc5c56 Signed-off-by: Benjamin Walsh <walsh.benj@gmail.com>
This commit is contained in:
parent
3f3f4d94d5
commit
a8978aba8f
10 changed files with 38 additions and 36 deletions
|
@ -100,7 +100,7 @@ void _new_thread(char *pStackMem, size_t stackSize,
|
|||
pInitCtx->xpsr =
|
||||
0x01000000UL; /* clear all, thumb bit is 1, even if RO */
|
||||
|
||||
_init_thread_base(&tcs->base, priority, K_PRESTART, options);
|
||||
_init_thread_base(&tcs->base, priority, _THREAD_PRESTART, options);
|
||||
|
||||
/* static threads overwrite it afterwards with real value */
|
||||
tcs->init_data = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue