Renaming K_deqreq to _k_fifo_deque_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 "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: I7bcf9d9df788caec6d4e4dd29d1c0b58efc87af2 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
10aaf5aefa
commit
979b40f77f
|
@ -65,7 +65,7 @@ extern void _k_mutex_lock_reply(struct k_args *);
|
|||
extern void K_unlock(struct k_args *);
|
||||
extern void _k_fifo_enque_request(struct k_args *);
|
||||
extern void _k_fifo_enque_reply(struct k_args *);
|
||||
extern void K_deqreq(struct k_args *);
|
||||
extern void _k_fifo_deque_request(struct k_args *);
|
||||
extern void _k_fifo_deque_reply(struct k_args *);
|
||||
extern void K_queue(struct k_args *);
|
||||
extern void _k_mbox_send_request(struct k_args *);
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
extern void _k_fifo_enque_reply(struct k_args *A);
|
||||
extern void _k_fifo_deque_reply(struct k_args *A);
|
||||
extern void _k_fifo_enque_request(struct k_args *A);
|
||||
extern void K_deqreq(struct k_args *A);
|
||||
extern void _k_fifo_deque_request(struct k_args *A);
|
||||
extern void K_queue(struct k_args *A);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -180,12 +180,12 @@ void _k_fifo_deque_reply(struct k_args *A)
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_deqreq - perform FIFO dequeue request
|
||||
* _k_fifo_deque_request - perform FIFO dequeue request
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_deqreq(struct k_args *A)
|
||||
void _k_fifo_deque_request(struct k_args *A)
|
||||
{
|
||||
struct k_args *W;
|
||||
struct que_struct *Q;
|
||||
|
|
|
@ -782,7 +782,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 25 */ _k_fifo_enque_request,", # depends on FIFOs
|
||||
"/* 26 */ _k_fifo_enque_reply,", # depends on FIFOs
|
||||
"/* 27 */ _k_fifo_enque_reply,", # depends on FIFOs and timers
|
||||
"/* 28 */ K_deqreq,", # depends on FIFOs
|
||||
"/* 28 */ _k_fifo_deque_request,", # depends on FIFOs
|
||||
"/* 29 */ _k_fifo_deque_reply,", # depends on FIFOs
|
||||
"/* 30 */ _k_fifo_deque_reply,", # depends on FIFOs and timers
|
||||
"/* 31 */ K_queue,", # depends on FIFOs
|
||||
|
|
Loading…
Reference in a new issue