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