Renaming K_taskirqalloc to _k_task_irq_alloc
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}" 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: I098a03afcef8319c8ce8410a67de250143713498 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
e91808154e
commit
c6f22be75f
1 changed files with 3 additions and 3 deletions
|
@ -192,14 +192,14 @@ int _task_irq_test(kirq_t irq_obj, /* IRQ object identifier */
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_taskirqalloc - allocate a task IRQ object
|
||||
* _k_task_irq_alloc - allocate a task IRQ object
|
||||
*
|
||||
* This routine allocates a task IRQ object to a task.
|
||||
*
|
||||
* RETURNS: ptr to allocated task IRQ object if successful, NULL if not
|
||||
*/
|
||||
|
||||
static int K_taskirqalloc(
|
||||
static int _k_task_irq_alloc(
|
||||
void *arg /* ptr to registration request arguments */
|
||||
)
|
||||
{
|
||||
|
@ -261,7 +261,7 @@ uint32_t task_irq_alloc(
|
|||
arg.irq = irq;
|
||||
arg.taskId = task_id_get();
|
||||
|
||||
irq_obj_ptr = (struct task_irq_info *)task_offload_to_fiber(K_taskirqalloc,
|
||||
irq_obj_ptr = (struct task_irq_info *)task_offload_to_fiber(_k_task_irq_alloc,
|
||||
(void *)&arg);
|
||||
if (irq_obj_ptr == NULL) {
|
||||
return INVALID_VECTOR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue