Renaming _SemGive to _sem_give
Updating nano 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" Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
3acec988cb
commit
48d35b30ab
1 changed files with 4 additions and 4 deletions
|
@ -83,12 +83,12 @@ void nano_sem_init(struct nano_sem *chan /* semaphore object to initialize */
|
||||||
chan->proc = (tCCS *)0;
|
chan->proc = (tCCS *)0;
|
||||||
}
|
}
|
||||||
|
|
||||||
FUNC_ALIAS(_SemGive, nano_isr_sem_give, void);
|
FUNC_ALIAS(_sem_give, nano_isr_sem_give, void);
|
||||||
FUNC_ALIAS(_SemGive, nano_fiber_sem_give, void);
|
FUNC_ALIAS(_sem_give, nano_fiber_sem_give, void);
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
* _SemGive - give a nanokernel semaphore
|
* _sem_give - give a nanokernel semaphore
|
||||||
*
|
*
|
||||||
* This routine performs a "give" operation on a nanokernel sempahore object;
|
* This routine performs a "give" operation on a nanokernel sempahore object;
|
||||||
* it may be call from either a fiber or an ISR context. A fiber pending on the
|
* it may be call from either a fiber or an ISR context. A fiber pending on the
|
||||||
|
@ -103,7 +103,7 @@ FUNC_ALIAS(_SemGive, nano_fiber_sem_give, void);
|
||||||
* without introducing a source code migration issue.
|
* without introducing a source code migration issue.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void _SemGive(struct nano_sem *chan /* semaphore on which to signal */
|
void _sem_give(struct nano_sem *chan /* semaphore on which to signal */
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
tCCS *ccs;
|
tCCS *ccs;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue