Changeset ea106a6 in mainline
- Timestamp:
- 2012-04-08T18:53:46Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3a01483
- Parents:
- 87739fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/asm.h
r87739fb rea106a6 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 46 * 47 * ARMv7 introduced wait for event and wait for interrupt .47 * ARMv7 introduced wait for event and wait for interrupt (wfe/wfi). 48 48 */ 49 49 NO_TRACE static inline void cpu_sleep(void) 50 50 { 51 51 #ifdef PROCESSOR_armv7 52 asm volatile ( 53 "wfe":: 54 ); 52 asm volatile ( "wfe" :: ); 55 53 #endif 56 54 }
Note:
See TracChangeset
for help on using the changeset viewer.