Renaming K_senddata to _k_mbox_send_data
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: I6e0edb61dcac091f87c9ffc8fd8bf507ba075367 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
7651e26d9d
commit
629d73d857
3 changed files with 4 additions and 4 deletions
|
@ -71,7 +71,7 @@ extern void K_queue(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 *);
|
||||
extern void K_senddata(struct k_args *);
|
||||
extern void _k_mbox_send_data(struct k_args *);
|
||||
extern void _k_mbox_receive_request(struct k_args *);
|
||||
extern void _k_mbox_receive_reply(struct k_args *);
|
||||
extern void _k_mbox_receive_ack(struct k_args *);
|
||||
|
|
|
@ -931,12 +931,12 @@ int _task_mbox_data_get_async_block(struct k_msg *message,
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_senddata - process a mailbox send data request
|
||||
* _k_mbox_send_data - process a mailbox send data request
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_senddata(struct k_args *Starter)
|
||||
void _k_mbox_send_data(struct k_args *Starter)
|
||||
{
|
||||
struct k_args *CopyStarter;
|
||||
struct k_args *MoveD;
|
||||
|
|
|
@ -789,7 +789,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 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
|
||||
"/* 35 */ K_senddata,", # depends on mailboxes
|
||||
"/* 35 */ _k_mbox_send_data,", # depends on mailboxes
|
||||
"/* 36 */ _k_mbox_receive_request,",# depends on mailboxes
|
||||
"/* 37 */ _k_mbox_receive_reply,", # depends on mailboxes and timers
|
||||
"/* 38 */ _k_mbox_receive_ack,", # depends on mailboxes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue