Changes in kernel/arch/arm32/include/asm.h [ea106a6:7a0359b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/asm.h
rea106a6 r7a0359b 43 43 #include <trace.h> 44 44 45 /** No such instruction on old ARM to sleep CPU. 46 * 47 * ARMv7 introduced wait for event and wait for interrupt (wfe/wfi). 48 */ 45 /** No such instruction on ARM to sleep CPU. */ 49 46 NO_TRACE static inline void cpu_sleep(void) 50 47 { 51 #ifdef PROCESSOR_armv752 asm volatile ( "wfe" :: );53 #endif54 48 } 55 49
Note:
See TracChangeset
for help on using the changeset viewer.