Changeset 7c13c55 in mainline
- Timestamp:
- 2012-03-11T19:28:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 096d4a6b
- Parents:
- 46a808f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/asm.h
r46a808f5 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.