Renaming _StackPop _stack_pop
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
ac412eb456
commit
2d5fa0198f
1 changed files with 5 additions and 5 deletions
|
@ -173,13 +173,13 @@ void nano_task_stack_push(
|
|||
irq_unlock_inline(imask);
|
||||
}
|
||||
|
||||
FUNC_ALIAS(_StackPop, nano_isr_stack_pop, int);
|
||||
FUNC_ALIAS(_StackPop, nano_fiber_stack_pop, int);
|
||||
FUNC_ALIAS(_StackPop, nano_task_stack_pop, int);
|
||||
FUNC_ALIAS(_stack_pop, nano_isr_stack_pop, int);
|
||||
FUNC_ALIAS(_stack_pop, nano_fiber_stack_pop, int);
|
||||
FUNC_ALIAS(_stack_pop, nano_task_stack_pop, int);
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* _StackPop - pop data from a nanokernel stack
|
||||
* _stack_pop - pop data from a nanokernel stack
|
||||
*
|
||||
* Pop the first data word from a nanokernel stack object; it may be called
|
||||
* from a fiber, task, or ISR context.
|
||||
|
@ -198,7 +198,7 @@ FUNC_ALIAS(_StackPop, nano_task_stack_pop, int);
|
|||
* migration issue.
|
||||
*/
|
||||
|
||||
int _StackPop(struct nano_stack *chan, /* channel on which to interact */
|
||||
int _stack_pop(struct nano_stack *chan, /* channel on which to interact */
|
||||
uint32_t *pData /* container for data to pop */
|
||||
)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue