Renaming K_yield to _k_task_yield
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: Ie07e38bca912647e49a2c0914001690b7c545f3b Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
3a9ff35beb
commit
fb0cf2ed7d
6 changed files with 8 additions and 8 deletions
|
@ -413,12 +413,12 @@ void task_priority_set(ktask_t task, /* task whose priority is to be set */
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_yield - handle task yield request
|
||||
* _k_task_yield - handle task yield request
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_yield(struct k_args *A)
|
||||
void _k_task_yield(struct k_args *A)
|
||||
{
|
||||
struct k_tqhd *H = _k_task_priority_list + _k_current_task->Prio;
|
||||
struct k_proc *X = _k_current_task->Forw;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue