Replacing _TimerStart with _timer_start
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
55af242704
commit
d5e175231d
1 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ void nano_timer_init(struct nano_timer *timer, void *userData)
|
|||
*
|
||||
*/
|
||||
|
||||
FUNC_ALIAS(_TimerStart, nano_fiber_timer_start, void);
|
||||
FUNC_ALIAS(_timer_start, nano_fiber_timer_start, void);
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
|
@ -82,11 +82,11 @@ FUNC_ALIAS(_TimerStart, nano_fiber_timer_start, void);
|
|||
*
|
||||
*/
|
||||
|
||||
FUNC_ALIAS(_TimerStart, nano_task_timer_start, void);
|
||||
FUNC_ALIAS(_timer_start, nano_task_timer_start, void);
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* _TimerStart - start a nanokernel timer (generic implementation)
|
||||
* _timer_start - start a nanokernel timer (generic implementation)
|
||||
*
|
||||
* This function starts a previously initialized nanokernel timer object.
|
||||
* The timer will expire in <ticks> system clock ticks.
|
||||
|
@ -96,7 +96,7 @@ FUNC_ALIAS(_TimerStart, nano_task_timer_start, void);
|
|||
* NOMANUAL
|
||||
*/
|
||||
|
||||
void _TimerStart(struct nano_timer *timer, /* timer to start */
|
||||
void _timer_start(struct nano_timer *timer, /* timer to start */
|
||||
int ticks /* number of system ticks
|
||||
before expiry */
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue