Renaming K_groupop to _k_task_group_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: Iff54480375197fc1fad947a8dc98b970e142dcaf Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
cc84ca20d6
commit
ff37393a07
4 changed files with 5 additions and 5 deletions
|
@ -80,7 +80,7 @@ extern void K_elapse(struct k_args *);
|
|||
extern void K_sleep(struct k_args *);
|
||||
extern void K_wakeup(struct k_args *);
|
||||
extern void _k_task_op(struct k_args *);
|
||||
extern void K_groupop(struct k_args *);
|
||||
extern void _k_task_group_op(struct k_args *);
|
||||
extern void K_set_prio(struct k_args *);
|
||||
extern void K_yield(struct k_args *);
|
||||
extern void K_alloc(struct k_args *);
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
extern void start_task(struct k_proc *X, void (*func)(void));
|
||||
extern void abort_task(struct k_proc *X);
|
||||
extern void _k_task_op(struct k_args *A);
|
||||
extern void K_groupop(struct k_args *A);
|
||||
extern void _k_task_group_op(struct k_args *A);
|
||||
extern void K_set_prio(struct k_args *A);
|
||||
extern void K_yield(struct k_args *A);
|
||||
|
||||
|
|
|
@ -295,7 +295,7 @@ void _task_ioctl(ktask_t task, /* task on which to operate */
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_groupop - handle task group operation request
|
||||
* _k_task_group_op - handle task group operation request
|
||||
*
|
||||
* This routine handles any one of the following task group operations requests:
|
||||
* starting either kernel or user tasks, aborting tasks, suspending tasks,
|
||||
|
@ -304,7 +304,7 @@ void _task_ioctl(ktask_t task, /* task on which to operate */
|
|||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_groupop(struct k_args *A)
|
||||
void _k_task_group_op(struct k_args *A)
|
||||
{
|
||||
ktask_group_t grp = A->Args.g1.group;
|
||||
int opt = A->Args.g1.opt;
|
||||
|
|
|
@ -798,7 +798,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 41 */ K_sleep,", # depends on timers
|
||||
"/* 42 */ K_wakeup,", # depends on timers
|
||||
"/* 43 */ _k_task_op,", # required
|
||||
"/* 44 */ K_groupop,", # required
|
||||
"/* 44 */ _k_task_group_op,", # required
|
||||
"/* 45 */ K_set_prio,", # required
|
||||
"/* 46 */ K_yield,", # required
|
||||
"/* 47 */ K_alloc,", # depends on memory maps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue