Renaming K_GetBlock_Waiters to _k_block_waiters_get
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 "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" Change-Id: I1a4bdbb5d7248896830ea25d2126b1bb9b918878 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
5a8528cf23
commit
770c5fc42c
3 changed files with 4 additions and 4 deletions
|
@ -97,7 +97,7 @@ extern void K_event_set_handler(struct k_args *);
|
|||
extern void K_event_signal(struct k_args *);
|
||||
extern void K_GetBlock(struct k_args *);
|
||||
extern void K_RelBlock(struct k_args *);
|
||||
extern void K_GetBlock_Waiters(struct k_args *);
|
||||
extern void _k_block_waiters_get(struct k_args *);
|
||||
extern void K_gtbltmo(struct k_args *);
|
||||
extern void _k_defrag(struct k_args *);
|
||||
|
||||
|
|
|
@ -412,7 +412,7 @@ static char *get_block_recusive(struct pool_struct *P, int index, int startindex
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_GetBlock_Waiters - examine tasks that are waiting for memory pool blocks
|
||||
* _k_block_waiters_get - examine tasks that are waiting for memory pool blocks
|
||||
*
|
||||
* This routine attempts to satisfy any incomplete block allocation requests for
|
||||
* the specified memory pool. It can be invoked either by the explicit freeing
|
||||
|
@ -422,7 +422,7 @@ static char *get_block_recusive(struct pool_struct *P, int index, int startindex
|
|||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_GetBlock_Waiters(struct k_args *A)
|
||||
void _k_block_waiters_get(struct k_args *A)
|
||||
{
|
||||
struct pool_struct *P = _k_mem_pool_list + OBJ_INDEX(A->Args.p1.poolid);
|
||||
char *found_block;
|
||||
|
|
|
@ -817,7 +817,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 60 */ K_event_signal,", # required
|
||||
"/* 61 */ K_GetBlock,", # depends on memory pools
|
||||
"/* 62 */ K_RelBlock,", # depends on memory pools
|
||||
"/* 63 */ K_GetBlock_Waiters,", # depends on memory pools
|
||||
"/* 63 */ _k_block_waiters_get,", # depends on memory pools
|
||||
"/* 64 */ K_gtbltmo,", # depends on memory pools
|
||||
"/* 65 */ _k_defrag,", # depends on memory pools
|
||||
"/* 66 */ (kernelfunc) NULL,", # unused
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue