Renaming K_inqsema to _k_sem_inquiry
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: I5eef6b5686f4f0bea525f8d3fcbee09a264289da Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
46478250f1
commit
52de992543
|
@ -59,7 +59,7 @@ extern void _k_sem_group_wait_cancel(struct k_args *);
|
|||
extern void _k_sem_group_wait_accept(struct k_args *);
|
||||
extern void _k_sem_group_wait(struct k_args *);
|
||||
extern void _k_sem_group_wait_timeout(struct k_args *);
|
||||
extern void K_inqsema(struct k_args *);
|
||||
extern void _k_sem_inquiry(struct k_args *);
|
||||
extern void _k_mutex_lock_request(struct k_args *);
|
||||
extern void _k_mutex_lock_reply(struct k_args *);
|
||||
extern void K_unlock(struct k_args *);
|
||||
|
|
|
@ -39,7 +39,7 @@ extern void _k_sem_group_signal(struct k_args *A);
|
|||
extern void _k_sem_group_reset(struct k_args *A);
|
||||
extern void _k_sem_wait_reply(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_inquiry(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);
|
||||
extern void _k_sem_group_ready(struct k_args *R);
|
||||
|
|
|
@ -655,12 +655,12 @@ void task_sem_group_reset(ksemg_t group /* group of semaphores to reset */
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_inqsema - handle semaphore inquiry request
|
||||
* _k_sem_inquiry - handle semaphore inquiry request
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_inqsema(struct k_args *A)
|
||||
void _k_sem_inquiry(struct k_args *A)
|
||||
{
|
||||
struct sem_struct *S;
|
||||
uint32_t Sid;
|
||||
|
|
|
@ -774,7 +774,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 17 */ _k_sem_group_wait_accept,", # depends on semaphores
|
||||
"/* 18 */ _k_sem_group_wait,", # depends on semaphores
|
||||
"/* 19 */ _k_sem_group_wait_timeout,", # depends on semaphores and timers
|
||||
"/* 20 */ K_inqsema,", # depends on semaphores
|
||||
"/* 20 */ _k_sem_inquiry,", # depends on semaphores
|
||||
"/* 21 */ _k_mutex_lock_request,", # depends on mutexes
|
||||
"/* 22 */ _k_mutex_lock_reply,", # depends on mutexes
|
||||
"/* 23 */ _k_mutex_lock_reply,", # depends on mutexes and timers
|
||||
|
|
Loading…
Reference in a new issue