Renaming K_eventtesttmo to _k_event_test_timeout
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: I3919b2dda4a37c2c81e070179eae251131b14be4 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
58d8a4020c
commit
e91808154e
4 changed files with 5 additions and 5 deletions
|
@ -117,7 +117,7 @@ extern void K_ChRecvTmo(struct k_args *Reader);
|
|||
extern void K_ChRecvRpl(struct k_args *Reader);
|
||||
extern void K_ChRecvAck(struct k_args *Reader);
|
||||
extern void K_ChMovedAck(struct k_args *pEOXfer);
|
||||
extern void K_eventtesttmo(struct k_args *A);
|
||||
extern void _k_event_test_timeout(struct k_args *A);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ extern const int _k_num_events;
|
|||
extern void K_event_signal(struct k_args *A);
|
||||
extern void K_event_set_handler(struct k_args *A);
|
||||
extern void K_event_test(struct k_args *A);
|
||||
extern void K_eventtesttmo(struct k_args *A);
|
||||
extern void _k_event_test_timeout(struct k_args *A);
|
||||
extern void K_sigevent(kevent_t event);
|
||||
|
||||
#endif /* _KEVENT_H */
|
||||
|
|
|
@ -103,12 +103,12 @@ int task_event_set_handler(kevent_t event, /* event upon which to reigster *
|
|||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* K_eventtesttmo - finish handling a test for event request that timed out
|
||||
* _k_event_test_timeout - finish handling a test for event request that timed out
|
||||
*
|
||||
* RETURNS: N/A
|
||||
*/
|
||||
|
||||
void K_eventtesttmo(struct k_args *A)
|
||||
void _k_event_test_timeout(struct k_args *A)
|
||||
{
|
||||
kevent_t event = A->Args.e1.event;
|
||||
struct evstr *E = EVENTS + event;
|
||||
|
|
|
@ -835,7 +835,7 @@ def kernel_main_c_kernel_services():
|
|||
"/* 78 */ K_ChRecvRpl,", # depends on pipes
|
||||
"/* 79 */ K_ChRecvAck,", # depends on pipes
|
||||
"/* 80 */ K_ChMovedAck,", # depends on pipes
|
||||
"/* 81 */ K_eventtesttmo" # required
|
||||
"/* 81 */ _k_event_test_timeout" # required
|
||||
]
|
||||
|
||||
# eliminate table entries for kernel services that project doesn't utilize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue