Renaming K_sendrlp to _k_mbox_send_reply
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}" find . -type f \( -iname \*.c -o -iname \*.h -o -iname \*.s -o -iname \*.kconf \) \ -not \( -path host/src/genIdt -prune \) \ \ -not \( -path host/src/gen_tables -prune \) \ -print | xargs sed -i "s/"${1}"/"${2}"/g" Change-Id: I02122837d74c9d7c5c406e644feda6923b5161f2 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
217de05b4b
commit
35d15ec09a
4 changed files with 5 additions and 5 deletions
|
@ -69,7 +69,7 @@ extern void K_deqreq(struct k_args *);
|
|||
extern void K_deqrpl(struct k_args *);
|
||||
extern void K_queue(struct k_args *);
|
||||
extern void K_sendreq(struct k_args *);
|
||||
extern void K_sendrpl(struct k_args *);
|
||||
extern void _k_mbox_send_reply(struct k_args *);
|
||||
extern void _k_mbox_send_ack(struct k_args *);
|
||||
extern void K_senddata(struct k_args *);
|
||||
extern void K_recvreq(struct k_args *);
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
/* externs */
|
||||
|
||||
extern void K_sendrpl(struct k_args *Writer);
|
||||
extern void _k_mbox_send_reply(struct k_args *Writer);
|
||||
extern void K_sendreq(struct k_args *Writer);
|
||||
extern void _k_mbox_send_ack(struct k_args *Writer);
|
||||
extern void K_recvack(struct k_args *Reader);
|
||||
|
|
|
@ -296,12 +296,12 @@ void _k_mbox_send_ack(struct k_args *pCopyWriter)
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_sendrpl - process the timeout for a mailbox send request
|
||||
* _k_mbox_send_reply - process the timeout for a mailbox send request
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_sendrpl(struct k_args *pCopyWriter)
|
||||
void _k_mbox_send_reply(struct k_args *pCopyWriter)
|
||||
{
|
||||
FREETIMER(pCopyWriter->Time.timer);
|
||||
REMOVE_ELM(pCopyWriter);
|
||||
|
|
|
@ -787,7 +787,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 30 */ K_deqrpl,", # depends on FIFOs and timers
|
||||
"/* 31 */ K_queue,", # depends on FIFOs
|
||||
"/* 32 */ K_sendreq,", # depends on mailboxes
|
||||
"/* 33 */ K_sendrpl,", # depends on mailboxes and timers
|
||||
"/* 33 */ _k_mbox_send_reply,", # depends on mailboxes and timers
|
||||
"/* 34 */ _k_mbox_send_ack,", # depends on mailboxes
|
||||
"/* 35 */ K_senddata,", # depends on mailboxes
|
||||
"/* 36 */ K_recvreq,", # depends on mailboxes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue