Renaming nanoTimeInit to nano_time_init
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
2d5fa0198f
commit
55af242704
2 changed files with 5 additions and 5 deletions
|
@ -48,20 +48,20 @@ struct nano_timer *nanoTimerList = NULL;
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* nanoTimeInit - constructor that initializes nanokernel time tracking system
|
||||
* nano_time_init - constructor that initializes nanokernel time tracking system
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*
|
||||
*/
|
||||
|
||||
NANO_INIT_SYS_NORMAL void nanoTimeInit(void)
|
||||
NANO_INIT_SYS_NORMAL void nano_time_init(void)
|
||||
{
|
||||
timer_driver(0); /* note: priority parameter is unused */
|
||||
}
|
||||
|
||||
#ifdef VXMICRO_ARCH_arm
|
||||
void (*__ctor_nanoTimeInit)(void) __attribute__((section(".ctors.250"))) =
|
||||
nanoTimeInit;
|
||||
void (*__ctor_nano_time_init)(void) __attribute__((section(".ctors.250"))) =
|
||||
nano_time_init;
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
|
@ -36,7 +36,7 @@ This module tests the following timer related routines:
|
|||
nano_timer_init(), nano_fiber_timer_start(), nano_fiber_timer_stop(),
|
||||
nano_fiber_timer_test(), nano_fiber_timer_wait(), nano_task_timer_start(),
|
||||
nano_task_timer_stop(), nano_task_timer_test(), nano_task_timer_wait(),
|
||||
nanoTimeInit(), nano_node_tick_get_32(), nano_node_cycle_get_32(), nano_node_tick_delta()
|
||||
nano_time_init(), nano_node_tick_get_32(), nano_node_cycle_get_32(), nano_node_tick_delta()
|
||||
*/
|
||||
|
||||
/* includes */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue