From 5c892eecccca1e487493a5553bf158c0da99d16a Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Fri, 22 May 2015 15:22:10 -0400 Subject: [PATCH] Remove references to user mode tasks User mode tasks are not supported. Change-Id: I414e0957431b7a1df7b34cf438597dfab72b5a0f Signed-off-by: Peter Mitsis --- arch/x86/core/nanocontext.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/x86/core/nanocontext.c b/arch/x86/core/nanocontext.c index f0436562a7f..6d772d50ef6 100644 --- a/arch/x86/core/nanocontext.c +++ b/arch/x86/core/nanocontext.c @@ -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);