Remove references to user mode tasks

User mode tasks are not supported.

Change-Id: I414e0957431b7a1df7b34cf438597dfab72b5a0f
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
Peter Mitsis 2015-05-22 15:22:10 -04:00 committed by Anas Nashif
commit 5c892eeccc

View file

@ -63,9 +63,9 @@ void _ContextEntryWrapper(_ContextEntry, _ContextArg, _ContextArg, _ContextArg);
*
* _NewContextInternal - initialize a new execution context
*
* This function is utilized to initialize all execution contexts, both fiber
* contexts, kernel task contexts and user mode task contexts. The 'priority'
* parameter will be set to -1 for the creation of task context.
* This function is utilized to initialize all execution contexts (both fiber
* and task). The 'priority' parameter will be set to -1 for the creation of
* task context.
*
* This function is called by _NewContext() to initialize task contexts.
*
@ -108,11 +108,11 @@ static void _NewContextInternal(
/*
* The creation of the initial stack for the task (user or kernel) has
* already been done. Now all that is needed is to set the ESP. However,
* we have been passed the base address of the stack which is past the
* initial stack frame. Therefore some of the calculations done in the
* other routines that initialize the stack frame need to be repeated.
* The creation of the initial stack for the task has already been done.
* Now all that is needed is to set the ESP. However, we have been passed
* the base address of the stack which is past the initial stack frame.
* Therefore some of the calculations done in the other routines that
* initialize the stack frame need to be repeated.
*/
pInitialCtx = (unsigned long *)STACK_ROUND_DOWN(pStackMem + stackSize);