Rename microkernel struct field 'fabort' to 'fn_abort'.

Rename field 'fabort' of the struct:
- 'k_proc' in the file include/microkernel/base_api.h

Also rename variable instances related to this struct field.

Change-Id: I9523a567b23c578e73c20810e33a15ba733ba238
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-08-24 10:28:51 -05:00 committed by Anas Nashif
commit 3d0f283cb9
3 changed files with 8 additions and 8 deletions

View file

@ -232,7 +232,7 @@ static void start_task(struct k_task *X, /* ptr to task control block */
task_options /* options */
);
X->fabort = NULL;
X->fn_abort = NULL;
_k_state_bit_reset(X, TF_STOP | TF_TERM);
}
@ -259,8 +259,8 @@ static void abort_task(struct k_task *X)
/* Invoke abort function, if there is one */
if (X->fabort != NULL) {
X->fabort();
if (X->fn_abort != NULL) {
X->fn_abort();
}
}
@ -312,7 +312,7 @@ FUNC_NORETURN void _TaskAbort(void)
void task_abort_handler_set(void (*func)(void) /* abort handler */
)
{
_k_current_task->fabort = func;
_k_current_task->fn_abort = func;
}
/**