Renaming K_taskop to _k_task_op
Updating micro kernel functions to follow a consistent naming convention. Part of that process is the removal of camelCase naming conventions for the preferred_underscore_method. Change accomplished with the following script: #!/bin/bash echo "Checking C, CPP, H, HPP, and s files..." find . -type f \( -iname \*.[ch] -o -iname \*.[ch]pp -o -iname \*.s \) \ -not \( -path host/src/genIdt -prune \) \ -not \( -path host/src/gen_tables -prune \) \ -print | xargs sed -i "s/"${1}"/"${2}"/g" echo "Checking KCONF, LST, and PY files..." find . -type f \( -iname \*.lst -o -iname \*.kconf -o -iname \*.py \) \ -not \( -path host/src/genIdt -prune \) \ -not \( -path host/src/gen_tables -prune \) \ -print | xargs sed -i "s/"${1}"/"${2}"/g" Change-Id: Icb28c7393314118d07eeaad2db634f2afe391e02 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
52de992543
commit
cc84ca20d6
4 changed files with 5 additions and 5 deletions
|
@ -79,7 +79,7 @@ extern void _k_mbox_receive_data(struct k_args *);
|
|||
extern void K_elapse(struct k_args *);
|
||||
extern void K_sleep(struct k_args *);
|
||||
extern void K_wakeup(struct k_args *);
|
||||
extern void K_taskop(struct k_args *);
|
||||
extern void _k_task_op(struct k_args *);
|
||||
extern void K_groupop(struct k_args *);
|
||||
extern void K_set_prio(struct k_args *);
|
||||
extern void K_yield(struct k_args *);
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
extern void start_task(struct k_proc *X, void (*func)(void));
|
||||
extern void abort_task(struct k_proc *X);
|
||||
extern void K_taskop(struct k_args *A);
|
||||
extern void _k_task_op(struct k_args *A);
|
||||
extern void K_groupop(struct k_args *A);
|
||||
extern void K_set_prio(struct k_args *A);
|
||||
extern void K_yield(struct k_args *A);
|
||||
|
|
|
@ -238,7 +238,7 @@ void task_abort_handler_set(void (*func)(void) /* abort handler */
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_taskop - handle a task operation request
|
||||
* _k_task_op - handle a task operation request
|
||||
*
|
||||
* This routine handles any one of the following task operation requests:
|
||||
* starting either a kernel or user task, aborting a task, suspending a task,
|
||||
|
@ -247,7 +247,7 @@ void task_abort_handler_set(void (*func)(void) /* abort handler */
|
|||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_taskop(struct k_args *A)
|
||||
void _k_task_op(struct k_args *A)
|
||||
{
|
||||
ktask_t Tid = A->Args.g1.task;
|
||||
struct k_proc *X = _k_task_list + OBJ_INDEX(Tid);
|
||||
|
|
|
@ -797,7 +797,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 40 */ K_elapse,", # required
|
||||
"/* 41 */ K_sleep,", # depends on timers
|
||||
"/* 42 */ K_wakeup,", # depends on timers
|
||||
"/* 43 */ K_taskop,", # required
|
||||
"/* 43 */ _k_task_op,", # required
|
||||
"/* 44 */ K_groupop,", # required
|
||||
"/* 45 */ K_set_prio,", # required
|
||||
"/* 46 */ K_yield,", # required
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue