Renaming K_queue to _k_fifo_ioctl
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: Ibbfef7d1a6a26abca56d49733ce54f56ec5336fc Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
fee5db1259
commit
672bda57cd
|
@ -67,7 +67,7 @@ extern void _k_fifo_enque_request(struct k_args *);
|
|||
extern void _k_fifo_enque_reply(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_fifo_ioctl(struct k_args *);
|
||||
extern void _k_mbox_send_request(struct k_args *);
|
||||
extern void _k_mbox_send_reply(struct k_args *);
|
||||
extern void _k_mbox_send_ack(struct k_args *);
|
||||
|
|
|
@ -37,6 +37,6 @@ 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_fifo_deque_request(struct k_args *A);
|
||||
extern void K_queue(struct k_args *A);
|
||||
extern void _k_fifo_ioctl(struct k_args *A);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -288,12 +288,12 @@ int _task_fifo_get(kfifo_t queue, /* FIFO queue */
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_queue - perform miscellaneous FIFO request
|
||||
* _k_fifo_ioctl - perform miscellaneous FIFO request
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_queue(struct k_args *A)
|
||||
void _k_fifo_ioctl(struct k_args *A)
|
||||
{
|
||||
struct que_struct *Q;
|
||||
int Qid;
|
||||
|
|
|
@ -785,7 +785,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 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
|
||||
"/* 31 */ _k_fifo_ioctl,", # depends on FIFOs
|
||||
"/* 32 */ _k_mbox_send_request,", # depends on mailboxes
|
||||
"/* 33 */ _k_mbox_send_reply,", # depends on mailboxes and timers
|
||||
"/* 34 */ _k_mbox_send_ack,", # depends on mailboxes
|
||||
|
|
Loading…
Reference in a new issue