Renaming K_sendreq to _k_mbox_send_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}" 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: I628e057f54eb72901c3753b6b8b4849c4cd046c0 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
35d15ec09a
commit
5ea892cffc
4 changed files with 5 additions and 5 deletions
|
@ -68,7 +68,7 @@ extern void K_enqrpl(struct k_args *);
|
||||||
extern void K_deqreq(struct k_args *);
|
extern void K_deqreq(struct k_args *);
|
||||||
extern void K_deqrpl(struct k_args *);
|
extern void K_deqrpl(struct k_args *);
|
||||||
extern void K_queue(struct k_args *);
|
extern void K_queue(struct k_args *);
|
||||||
extern void K_sendreq(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_reply(struct k_args *);
|
||||||
extern void _k_mbox_send_ack(struct k_args *);
|
extern void _k_mbox_send_ack(struct k_args *);
|
||||||
extern void K_senddata(struct k_args *);
|
extern void K_senddata(struct k_args *);
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
/* externs */
|
/* externs */
|
||||||
|
|
||||||
extern void _k_mbox_send_reply(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_request(struct k_args *Writer);
|
||||||
extern void _k_mbox_send_ack(struct k_args *Writer);
|
extern void _k_mbox_send_ack(struct k_args *Writer);
|
||||||
extern void K_recvack(struct k_args *Reader);
|
extern void K_recvack(struct k_args *Reader);
|
||||||
extern void K_recvrpl(struct k_args *Reader);
|
extern void K_recvrpl(struct k_args *Reader);
|
||||||
|
|
|
@ -312,12 +312,12 @@ void _k_mbox_send_reply(struct k_args *pCopyWriter)
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
* K_sendreq - process a mailbox send request
|
* _k_mbox_send_request - process a mailbox send request
|
||||||
*
|
*
|
||||||
* RETURNS: N/A
|
* RETURNS: N/A
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void K_sendreq(struct k_args *Writer)
|
void _k_mbox_send_request(struct k_args *Writer)
|
||||||
{
|
{
|
||||||
kmbox_t MailBoxId = Writer->Args.m1.mess.mailbox;
|
kmbox_t MailBoxId = Writer->Args.m1.mess.mailbox;
|
||||||
struct mbx_struct *MailBox;
|
struct mbx_struct *MailBox;
|
||||||
|
|
|
@ -786,7 +786,7 @@ def kernel_main_c_kernel_services():
|
||||||
"/* 29 */ K_deqrpl,", # depends on FIFOs
|
"/* 29 */ K_deqrpl,", # depends on FIFOs
|
||||||
"/* 30 */ K_deqrpl,", # depends on FIFOs and timers
|
"/* 30 */ K_deqrpl,", # depends on FIFOs and timers
|
||||||
"/* 31 */ K_queue,", # depends on FIFOs
|
"/* 31 */ K_queue,", # depends on FIFOs
|
||||||
"/* 32 */ K_sendreq,", # depends on mailboxes
|
"/* 32 */ _k_mbox_send_request,", # depends on mailboxes
|
||||||
"/* 33 */ _k_mbox_send_reply,", # depends on mailboxes and timers
|
"/* 33 */ _k_mbox_send_reply,", # depends on mailboxes and timers
|
||||||
"/* 34 */ _k_mbox_send_ack,", # depends on mailboxes
|
"/* 34 */ _k_mbox_send_ack,", # depends on mailboxes
|
||||||
"/* 35 */ K_senddata,", # depends on mailboxes
|
"/* 35 */ K_senddata,", # depends on mailboxes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue