Renaming _StackPush _stack_push
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
36d2d09a6e
commit
ac412eb456
1 changed files with 5 additions and 5 deletions
|
@ -87,15 +87,15 @@ void nano_stack_init(struct nano_stack *chan, /* stack to initialize */
|
|||
* an alias will be generated.
|
||||
*/
|
||||
|
||||
FUNC_ALIAS(_StackPush, _Cpsh, void);
|
||||
FUNC_ALIAS(_stack_push, _Cpsh, void);
|
||||
#endif /* CONFIG_MICROKERNEL */
|
||||
|
||||
FUNC_ALIAS(_StackPush, nano_isr_stack_push, void);
|
||||
FUNC_ALIAS(_StackPush, nano_fiber_stack_push, void);
|
||||
FUNC_ALIAS(_stack_push, nano_isr_stack_push, void);
|
||||
FUNC_ALIAS(_stack_push, nano_fiber_stack_push, void);
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* _StackPush - push data onto a nanokernel stack
|
||||
* _stack_push - push data onto a nanokernel stack
|
||||
*
|
||||
* This routine pushes a data item onto a stack object; it may be called from
|
||||
* either a fiber or ISR context. A fiber pending on the stack object will be
|
||||
|
@ -111,7 +111,7 @@ FUNC_ALIAS(_StackPush, nano_fiber_stack_push, void);
|
|||
* without introducing a source code migration issue.
|
||||
*/
|
||||
|
||||
void _StackPush(struct nano_stack *chan, /* stack channel on
|
||||
void _stack_push(struct nano_stack *chan, /* stack channel on
|
||||
which to interact */
|
||||
uint32_t data /* data to push on stack */
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue