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