Changeset d085df10 in mainline for kernel/arch/arm32/include/asm.h
- Timestamp:
- 2012-09-23T16:19:26Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 21aab25
- Parents:
- 47d2ca9 (diff), 40ad375 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/asm.h
r47d2ca9 rd085df10 46 46 * 47 47 * ARMv7 introduced wait for event and wait for interrupt (wfe/wfi). 48 * ARM920T has custom coprocessor action to do the same. See ARM920T Technical 49 * Reference Manual ch 4.9 p. 4-23 (103 in the PDF) 48 50 */ 49 51 NO_TRACE static inline void cpu_sleep(void) … … 51 53 #ifdef PROCESSOR_armv7_a 52 54 asm volatile ( "wfe" :: ); 55 #elif defined(MACHINE_gta02) 56 asm volatile ( "mcr p15,0,R0,c7,c0,4" :: ); 53 57 #endif 54 58 }
Note:
See TracChangeset
for help on using the changeset viewer.