Renaming _SysPowerSaveIdleExit to _sys_power_save_idle_exit
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: Ife7e4fcd5a3f550d3da28d0c13f83c4adabe48a9 Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
bae67b2b58
commit
c05d780c96
4 changed files with 12 additions and 11 deletions
|
@ -79,7 +79,8 @@ SECTION_FUNC(TEXT, _isr_wrapper)
|
|||
* the device for the next timer deadline is not interrupted.
|
||||
* For non-tickless idle, this ensures that the clearing of the kernel idle
|
||||
* state is not interrupted.
|
||||
* In each case, _SysPowerSaveIdleExit is called with interrupts disabled.
|
||||
* In each case, _sys_power_save_idle_exit is called with interrupts
|
||||
* disabled.
|
||||
*/
|
||||
cpsid i /* PRIMASK = 1 */
|
||||
|
||||
|
@ -90,7 +91,7 @@ SECTION_FUNC(TEXT, _isr_wrapper)
|
|||
ittt ne
|
||||
movne r1, #0
|
||||
strne r1, [r2, #__tNANO_idle_OFFSET] /* clear kernel idle state */
|
||||
blxne _SysPowerSaveIdleExit
|
||||
blxne _sys_power_save_idle_exit
|
||||
|
||||
cpsie i /* re-enable interrupts (PRIMASK = 0) */
|
||||
#endif /* CONFIG_ADVANCED_POWER_MANAGEMENT */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue