kernel/arch: remove unused uk_task_ptr parameter from _new_thread()
Artifact from microkernel, for handling multiple pending tasks on nanokernel objects. Change-Id: I3c2959ea2b87f568736384e6534ce8e275f1098f Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
eec187e11e
commit
8fcc7f69da
7 changed files with 9 additions and 19 deletions
|
@ -81,7 +81,7 @@ static ALWAYS_INLINE void thread_monitor_init(struct tcs *tcs)
|
|||
*/
|
||||
|
||||
void _new_thread(char *pStackMem, size_t stackSize,
|
||||
void *uk_task_ptr, _thread_entry_t pEntry,
|
||||
_thread_entry_t pEntry,
|
||||
void *parameter1, void *parameter2, void *parameter3,
|
||||
int priority, unsigned options)
|
||||
{
|
||||
|
@ -135,8 +135,6 @@ void _new_thread(char *pStackMem, size_t stackSize,
|
|||
tcs->entry = (struct __thread_entry *)(pInitCtx);
|
||||
#endif
|
||||
|
||||
ARG_UNUSED(uk_task_ptr);
|
||||
|
||||
tcs->callee_saved.psp = (uint32_t)pInitCtx;
|
||||
tcs->arch.basepri = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue