Renaming K_waitmcan to _k_sem_group_wait_cancel
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: Ifffa92fb53cafa5c76dd66a5910554226951bffa Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
34b2c67080
commit
06c2417d4e
4 changed files with 5 additions and 5 deletions
|
@ -55,7 +55,7 @@ extern void K_waitsrpl(struct k_args *);
|
|||
extern void K_waitmany(struct k_args *);
|
||||
extern void K_waitmreq(struct k_args *);
|
||||
extern void K_waitmrdy(struct k_args *);
|
||||
extern void K_waitmcan(struct k_args *);
|
||||
extern void _k_sem_group_wait_cancel(struct k_args *);
|
||||
extern void K_waitmacc(struct k_args *);
|
||||
extern void _k_sem_group_wait(struct k_args *);
|
||||
extern void K_waitmtmo(struct k_args *);
|
||||
|
|
|
@ -45,7 +45,7 @@ extern void K_waitmtmo(struct k_args *A);
|
|||
extern void K_waitmrdy(struct k_args *R);
|
||||
extern void _k_sem_group_wait(struct k_args *R);
|
||||
extern void K_waitmreq(struct k_args *A);
|
||||
extern void K_waitmcan(struct k_args *A);
|
||||
extern void _k_sem_group_wait_cancel(struct k_args *A);
|
||||
extern void K_waitmacc(struct k_args *A);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -118,7 +118,7 @@ void _k_sem_group_wait(struct k_args *R)
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_waitmcan - handle cancellation of a semaphore involved in a
|
||||
* _k_sem_group_wait_cancel - handle cancellation of a semaphore involved in a
|
||||
* semaphore group wait request
|
||||
*
|
||||
* This routine only applies to semaphore group wait requests. It is invoked
|
||||
|
@ -128,7 +128,7 @@ void _k_sem_group_wait(struct k_args *R)
|
|||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_waitmcan(struct k_args *A)
|
||||
void _k_sem_group_wait_cancel(struct k_args *A)
|
||||
{
|
||||
struct sem_struct *S = _k_sem_list + OBJ_INDEX(A->Args.s1.sema);
|
||||
struct k_args *X = S->Waiters;
|
||||
|
|
|
@ -770,7 +770,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 13 */ K_waitmany,", # depends on semaphores
|
||||
"/* 14 */ K_waitmreq,", # depends on semaphores
|
||||
"/* 15 */ K_waitmrdy,", # depends on semaphores
|
||||
"/* 16 */ K_waitmcan,", # depends on semaphores
|
||||
"/* 16 */ _k_sem_group_wait_cancel,", # depends on semaphores
|
||||
"/* 17 */ K_waitmacc,", # depends on semaphores
|
||||
"/* 18 */ _k_sem_group_wait,", # depends on semaphores
|
||||
"/* 19 */ K_waitmtmo,", # depends on semaphores and timers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue