Rename mainStack to _k_init_and_idle_task_stack
Updating global variable's name to follow a consistent naming convention. Change accomplished with the following script: #!/bin/bash echo "Searching for ${1} to replace with ${2}" find ./ \( -name "*.[chs]" -o -name "sysgen.py" -o -name "*.kconf" \) \ ! -path "./host/src/genIdt/*" \ ! -path "*/outdir/*" | xargs sed -i 's/\b'${1}'\b/'${2}'/g'; Change-Id: I3d7f9dfe1874d189fa613088efd8c056b974e01b Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
parent
c4bd9cc6ab
commit
d57685c93e
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ This module contains routines that are used to initialize the nanokernel.
|
||||||
|
|
||||||
/* stack space for the background task context */
|
/* stack space for the background task context */
|
||||||
|
|
||||||
static char __noinit mainStack[CONFIG_MAIN_STACK_SIZE];
|
static char __noinit _k_init_and_idle_task_stack[CONFIG_MAIN_STACK_SIZE];
|
||||||
|
|
||||||
/* storage space for the interrupt stack */
|
/* storage space for the interrupt stack */
|
||||||
|
|
||||||
|
@ -154,7 +154,7 @@ void _nano_init(tCCS *dummyOutContext, int argc, char *argv[], char *envp[])
|
||||||
*/
|
*/
|
||||||
|
|
||||||
_NanoKernel.task =
|
_NanoKernel.task =
|
||||||
_NewContext(mainStack, /* pStackMem */
|
_NewContext(_k_init_and_idle_task_stack, /* pStackMem */
|
||||||
CONFIG_MAIN_STACK_SIZE, /* stackSize */
|
CONFIG_MAIN_STACK_SIZE, /* stackSize */
|
||||||
(_ContextEntry)main, /* pEntry */
|
(_ContextEntry)main, /* pEntry */
|
||||||
(_ContextArg)argc, /* parameter1 */
|
(_ContextArg)argc, /* parameter1 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue