arch: arm: aarch32: correct documentation of arch_cpu_atomic_idle
z_CpuIdleInit has been renamed to z_arm_cpu_idle_init, so we need to correct that function's name in the documentation of arch_cpu_atomic_idle. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
3f395f5698
commit
fec399e74a
1 changed files with 5 additions and 3 deletions
|
@ -128,15 +128,17 @@ SECTION_FUNC(TEXT, arch_cpu_atomic_idle)
|
||||||
cpsid i
|
cpsid i
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* No need to set SEVONPEND, it's set once in z_CpuIdleInit() and never
|
* No need to set SEVONPEND, it's set once in z_arm_cpu_idle_init()
|
||||||
* touched again.
|
* and never touched again.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* r0: interrupt mask from caller */
|
/* r0: interrupt mask from caller */
|
||||||
|
|
||||||
#if defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE) \
|
#if defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE) \
|
||||||
|| defined(CONFIG_ARMV7_R)
|
|| defined(CONFIG_ARMV7_R)
|
||||||
/* No BASEPRI, call wfe directly (SEVONPEND set in z_CpuIdleInit()) */
|
/* No BASEPRI, call wfe directly
|
||||||
|
* (SEVONPEND is set in z_arm_cpu_idle_init())
|
||||||
|
*/
|
||||||
wfe
|
wfe
|
||||||
|
|
||||||
cmp r0, #0
|
cmp r0, #0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue