Rename _minik_stack to _k_server_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: Iad6d39bea0da42633e40e7e7d5b64d2a05efbad0 Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
parent
6530f4a26b
commit
a12dd63c74
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@
|
|||
|
||||
extern void init_node(void); /* generated by SYSGEN */
|
||||
extern int K_StackSize; /* generated by SYSGEN */
|
||||
extern char _minik_stack[]; /* generated by SYSGEN */
|
||||
extern char _k_server_stack[]; /* generated by SYSGEN */
|
||||
|
||||
/*
|
||||
* Initialize the priority bit map globals to indicate that
|
||||
|
@ -89,7 +89,7 @@ void kernel_init(void)
|
|||
#endif
|
||||
nano_stack_init(&K_Args, _minik_args);
|
||||
|
||||
task_fiber_start((char *)_minik_stack,
|
||||
task_fiber_start((char *)_k_server_stack,
|
||||
K_StackSize,
|
||||
K_swapper,
|
||||
0,
|
||||
|
|
|
@ -304,7 +304,7 @@ def kernel_main_c_header():
|
|||
|
||||
kernel_main_c_out("\nconst knode_t K_ThisNode = 0x00010000;\n")
|
||||
kernel_main_c_out("\n" +
|
||||
"char __noinit _minik_stack[CONFIG_MICROKERNEL_SERVER_STACK_SIZE];\n")
|
||||
"char __noinit _k_server_stack[CONFIG_MICROKERNEL_SERVER_STACK_SIZE];\n")
|
||||
kernel_main_c_out(
|
||||
"int K_StackSize = CONFIG_MICROKERNEL_SERVER_STACK_SIZE;\n")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue