Rename _minik_func to _k_server_dispatch_table
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: Ifb54b2dbdc726e87b10c33776c0d1815d56776cd Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
parent
9343cc7ca0
commit
6530f4a26b
2 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ This module provides the microkernel context implementation.
|
|||
#include <misc/__assert.h>
|
||||
#include <drivers/system_timer.h>
|
||||
|
||||
extern const kernelfunc _minik_func[];
|
||||
extern const kernelfunc _k_server_dispatch_table[];
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
|
@ -104,7 +104,7 @@ FUNC_NORETURN void K_swapper(int parameter1, /* not used */
|
|||
K_monitor_args(pArgs);
|
||||
}
|
||||
#endif
|
||||
_minik_func[pArgs->Comm](pArgs);
|
||||
_k_server_dispatch_table[pArgs->Comm](pArgs);
|
||||
}
|
||||
|
||||
/* check if another fiber (of equal or greater priority)
|
||||
|
|
|
@ -924,7 +924,7 @@ def kernel_main_c_kernel_services():
|
|||
# generate function table
|
||||
|
||||
kernel_main_c_out("\n" +
|
||||
"const kernelfunc _minik_func[82] =\n" +
|
||||
"const kernelfunc _k_server_dispatch_table[82] =\n" +
|
||||
"{\n")
|
||||
for func in func_table:
|
||||
kernel_main_c_out(" " + func + "\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue