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:
parent
86c817ab60
commit
5c892eeccc
1 changed files with 8 additions and 8 deletions
|
@ -63,9 +63,9 @@ void _ContextEntryWrapper(_ContextEntry, _ContextArg, _ContextArg, _ContextArg);
|
||||||
*
|
*
|
||||||
* _NewContextInternal - initialize a new execution context
|
* _NewContextInternal - initialize a new execution context
|
||||||
*
|
*
|
||||||
* This function is utilized to initialize all execution contexts, both fiber
|
* This function is utilized to initialize all execution contexts (both fiber
|
||||||
* contexts, kernel task contexts and user mode task contexts. The 'priority'
|
* and task). The 'priority' parameter will be set to -1 for the creation of
|
||||||
* parameter will be set to -1 for the creation of task context.
|
* task context.
|
||||||
*
|
*
|
||||||
* This function is called by _NewContext() to initialize task contexts.
|
* 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
|
* The creation of the initial stack for the task has already been done.
|
||||||
* already been done. Now all that is needed is to set the ESP. However,
|
* Now all that is needed is to set the ESP. However, we have been passed
|
||||||
* we have been passed the base address of the stack which is past the
|
* the base address of the stack which is past the initial stack frame.
|
||||||
* initial stack frame. Therefore some of the calculations done in the
|
* Therefore some of the calculations done in the other routines that
|
||||||
* other routines that initialize the stack frame need to be repeated.
|
* initialize the stack frame need to be repeated.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pInitialCtx = (unsigned long *)STACK_ROUND_DOWN(pStackMem + stackSize);
|
pInitialCtx = (unsigned long *)STACK_ROUND_DOWN(pStackMem + stackSize);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue