Changes in kernel/arch/arm32/include/asm.h [f65b8e0c:3896974] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/asm.h
rf65b8e0c r3896974 48 48 * ARM920T has custom coprocessor action to do the same. See ARM920T Technical 49 49 * Reference Manual ch 4.9 p. 4-23 (103 in the PDF) 50 * ARM926EJ-S uses the same coprocessor instruction as ARM920T. See ARM926EJ-S51 * chapter 2.3.8 p.2-22 (52 in the PDF)52 *53 * @note Although mcr p15, 0, R0, c7, c0, 4 is defined in ARM Architecture54 * reference manual for armv4/5 CP15 implementation is mandatory only for55 * armv6+.56 50 */ 57 51 NO_TRACE static inline void cpu_sleep(void) 58 52 { 59 #ifdef PROCESSOR_ ARCH_armv7_a60 asm volatile ( "wfe" );61 #elif defined( PROCESSOR_ARCH_armv6) | defined(PROCESSOR_arm926ej_s) | defined(PROCESSOR_arm920t)62 asm volatile ( "mcr p15, 0, R0, c7, c0, 4");53 #ifdef PROCESSOR_armv7_a 54 asm volatile ( "wfe" :: ); 55 #elif defined(MACHINE_gta02) 56 asm volatile ( "mcr p15,0,R0,c7,c0,4" :: ); 63 57 #endif 64 58 }
Note:
See TracChangeset
for help on using the changeset viewer.