Renaming copypacket to copy_packet
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: Ie6a828039b10107c24965c4e8a3c7e71c7c10389 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
c6f22be75f
commit
842d2c28e2
1 changed files with 4 additions and 4 deletions
|
@ -47,12 +47,12 @@
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* copypacket - copy a packet
|
||||
* copy_packet - copy a packet
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
static void copypacket(struct k_args **out, struct k_args *in)
|
||||
static void copy_packet(struct k_args **out, struct k_args *in)
|
||||
{
|
||||
GETARGS(*out);
|
||||
|
||||
|
@ -344,7 +344,7 @@ void K_sendreq(struct k_args *Writer)
|
|||
|
||||
MailBox = _k_mbox_list + OBJ_INDEX(MailBoxId);
|
||||
|
||||
copypacket(&CopyWriter, Writer);
|
||||
copy_packet(&CopyWriter, Writer);
|
||||
|
||||
if (bAsync) {
|
||||
/*
|
||||
|
@ -571,7 +571,7 @@ void K_recvreq(struct k_args *Reader)
|
|||
Reader->Ctxt.proc = _k_current_task;
|
||||
set_state_bit(Reader->Ctxt.proc, TF_RECV);
|
||||
|
||||
copypacket(&CopyReader, Reader);
|
||||
copy_packet(&CopyReader, Reader);
|
||||
|
||||
/*
|
||||
* The [Forw] field can be changed later when added to the Reader's
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue