Renaming K_waitsreq to _k_sem_wait_request
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: I9ed961ac9f01ead2ec688febc579874407e3b6db Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
aa0eefb856
commit
30ac0b3007
4 changed files with 5 additions and 5 deletions
|
@ -50,7 +50,7 @@ extern void K_signals(struct k_args *);
|
|||
extern void K_signalm(struct k_args *);
|
||||
extern void K_resets(struct k_args *);
|
||||
extern void K_resetm(struct k_args *);
|
||||
extern void K_waitsreq(struct k_args *);
|
||||
extern void _k_sem_wait_request(struct k_args *);
|
||||
extern void _k_sem_wait_reply(struct k_args *);
|
||||
extern void _k_sem_group_wait_any(struct k_args *);
|
||||
extern void _k_sem_group_wait_request(struct k_args *);
|
||||
|
|
|
@ -38,7 +38,7 @@ extern void K_resets(struct k_args *A);
|
|||
extern void K_signalm(struct k_args *A);
|
||||
extern void K_resetm(struct k_args *A);
|
||||
extern void _k_sem_wait_reply(struct k_args *A);
|
||||
extern void K_waitsreq(struct k_args *A);
|
||||
extern void _k_sem_wait_request(struct k_args *A);
|
||||
extern void K_inqsema(struct k_args *A);
|
||||
extern void _k_sem_group_wait_any(struct k_args *A);
|
||||
extern void _k_sem_group_wait_timeout(struct k_args *A);
|
||||
|
|
|
@ -380,12 +380,12 @@ void _k_sem_group_wait_any(struct k_args *A)
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_waitsreq - handle semaphore test and wait request
|
||||
* _k_sem_wait_request - handle semaphore test and wait request
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_waitsreq(struct k_args *A)
|
||||
void _k_sem_wait_request(struct k_args *A)
|
||||
{
|
||||
struct sem_struct *S;
|
||||
uint32_t Sid;
|
||||
|
|
|
@ -764,7 +764,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 7 */ K_signalm,", # depends on semaphores
|
||||
"/* 8 */ K_resets,", # depends on semaphores
|
||||
"/* 9 */ K_resetm,", # depends on semaphores
|
||||
"/* 10 */ K_waitsreq,", # depends on semaphores
|
||||
"/* 10 */ _k_sem_wait_request,", # depends on semaphores
|
||||
"/* 11 */ _k_sem_wait_reply,", # depends on semaphores
|
||||
"/* 12 */ _k_sem_wait_reply,", # depends on semaphores and timers
|
||||
"/* 13 */ _k_sem_group_wait_any,", # depends on semaphores
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue