Renaming K_dealloc_timer to _k_timer_dealloc
Updating micro 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 "Checking C, CPP, H, HPP, and s files..."
find . -type f \( -iname \*.[ch] -o -iname \*.[ch]pp -o -iname \*.s \) \
-not \( -path host/src/genIdt -prune \) \
-not \( -path host/src/gen_tables -prune \) \
-print | xargs sed -i "s/"${1}"/"${2}"/g"
echo "Checking KCONF, LST, and PY files..."
find . -type f \( -iname \*.lst -o -iname \*.kconf -o -iname \*.py \) \
-not \( -path host/src/genIdt -prune \) \
-not \( -path host/src/gen_tables -prune \) \
-print | xargs sed -i "s/"${1}"/"${2}"/g"
Change-Id: I3119cb67a64398426ef783c915b865fe02f7127a
Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
7a21cc0d2d
commit
f23bb63606
4 changed files with 5 additions and 5 deletions
|
|
@ -86,7 +86,7 @@ extern void _k_task_yield(struct k_args *);
|
|||
extern void K_alloc(struct k_args *);
|
||||
extern void K_dealloc(struct k_args *);
|
||||
extern void _k_timer_alloc(struct k_args *);
|
||||
extern void K_dealloc_timer(struct k_args *);
|
||||
extern void _k_timer_dealloc(struct k_args *);
|
||||
extern void K_start_timer(struct k_args *);
|
||||
extern void K_stop_timer(struct k_args *);
|
||||
extern void _k_mem_map_alloc_timeout(struct k_args *);
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ extern void enlist_timeout(struct k_args *P);
|
|||
extern void delist_timeout(K_TIMER *T);
|
||||
extern void force_timeout(struct k_args *A);
|
||||
extern void _k_timer_alloc(struct k_args *P);
|
||||
extern void K_dealloc_timer(struct k_args *P);
|
||||
extern void _k_timer_dealloc(struct k_args *P);
|
||||
extern void K_start_timer(struct k_args *P);
|
||||
extern void K_stop_timer(struct k_args *P);
|
||||
extern void K_sleep(struct k_args *P);
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ ktimer_t task_timer_alloc(void)
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_dealloc_timer - handle timer deallocation request
|
||||
* _k_timer_dealloc - handle timer deallocation request
|
||||
*
|
||||
* This routine, called by K_swapper(), handles the request for deallocating a
|
||||
* timer.
|
||||
|
|
@ -248,7 +248,7 @@ ktimer_t task_timer_alloc(void)
|
|||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_dealloc_timer(struct k_args *P)
|
||||
void _k_timer_dealloc(struct k_args *P)
|
||||
{
|
||||
K_TIMER *T = P->Args.c1.timer;
|
||||
struct k_args *A = T->Args;
|
||||
|
|
|
|||
|
|
@ -804,7 +804,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 47 */ K_alloc,", # depends on memory maps
|
||||
"/* 48 */ K_dealloc,", # depends on memory maps
|
||||
"/* 49 */ _k_timer_alloc,", # depends on timers
|
||||
"/* 50 */ K_dealloc_timer,", # depends on timers
|
||||
"/* 50 */ _k_timer_dealloc,", # depends on timers
|
||||
"/* 51 */ K_start_timer,", # depends on timers
|
||||
"/* 52 */ K_stop_timer,", # depends on timers
|
||||
"/* 53 */ _k_mem_map_alloc_timeout,",# depends on memory maps [and timers?]
|
||||
|
|
|
|||
Loading…
Reference in a new issue