Renaming K_monitor_task to _k_task_monitor
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 "Searching for ${1} to replace with ${2}" 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: I1e3f19336ba5c89aa30d8a0045cb79398da56bb0 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
c05d780c96
commit
a59bf5a126
4 changed files with 5 additions and 5 deletions
|
@ -168,7 +168,7 @@ extern char **K_QueNames[];
|
|||
|
||||
#ifdef CONFIG_TASK_MONITOR
|
||||
|
||||
extern void K_monitor_task(struct k_proc *, uint32_t d2);
|
||||
extern void _k_task_monitor(struct k_proc *, uint32_t d2);
|
||||
extern void K_monitor_args(struct k_args *);
|
||||
extern void K_monitor_read(struct k_args *);
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ void reset_state_bit(struct k_proc *X, /* ptr to task */
|
|||
* <f_new> now contains the bits that are different.
|
||||
*/
|
||||
|
||||
K_monitor_task(X, f_new | MO_STBIT0);
|
||||
_k_task_monitor(X, f_new | MO_STBIT0);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -180,7 +180,7 @@ void set_state_bit(
|
|||
* <new_state_bits> now contains the bits that are different.
|
||||
*/
|
||||
|
||||
K_monitor_task(task_ptr, new_state_bits | MO_STBIT1);
|
||||
_k_task_monitor(task_ptr, new_state_bits | MO_STBIT1);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ void KS_TaskSetSwitchCallBack(taskswitchcallbackfunc func)
|
|||
_k_task_switch_callback = func;
|
||||
}
|
||||
|
||||
void K_monitor_task(struct k_proc *X, uint32_t D)
|
||||
void _k_task_monitor(struct k_proc *X, uint32_t D)
|
||||
{
|
||||
#ifdef CONFIG_TASK_DEBUG
|
||||
if (!_k_debug_halt)
|
||||
|
|
|
@ -163,7 +163,7 @@ FUNC_NORETURN void K_swapper(int parameter1, /* not used */
|
|||
|
||||
#ifdef CONFIG_TASK_MONITOR
|
||||
if (_k_monitor_mask & MON_TSWAP) {
|
||||
K_monitor_task(_k_current_task, 0);
|
||||
_k_task_monitor(_k_current_task, 0);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue