Renaming _ContextEntryRtn to _context_entry
Updating nano 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" Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
522b9ad432
commit
1cc59ccce9
6 changed files with 21 additions and 21 deletions
|
@ -122,7 +122,7 @@ void *_NewContext(
|
|||
pInitCtx = (struct __esf *)(STACK_ROUND_DOWN(stackEnd) -
|
||||
sizeof(struct __esf));
|
||||
|
||||
pInitCtx->pc = ((uint32_t)_ContextEntryRtn) & 0xfffffffe;
|
||||
pInitCtx->pc = ((uint32_t)_context_entry) & 0xfffffffe;
|
||||
pInitCtx->a1 = (uint32_t)pEntry;
|
||||
pInitCtx->a2 = (uint32_t)parameter1;
|
||||
pInitCtx->a3 = (uint32_t)parameter2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue