Changeset 26e550c2 in mainline


Ignore:
Timestamp:
2012-12-29T23:12:18Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2826998
Parents:
b26396e
Message:

arm: Implement WFI routine for icp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/include/asm.h

    rb26396e r26e550c2  
    4848 * ARM920T has custom coprocessor action to do the same. See ARM920T Technical
    4949 * Reference Manual ch 4.9 p. 4-23 (103 in the PDF)
     50 * ARM926EJ-S uses the same coprocessor instruction as ARM920T. See ARM926EJ-S
     51 * chapter 2.3.8 p.2-22 (52 in the PDF)
    5052 */
    5153NO_TRACE static inline void cpu_sleep(void)
     
    5355#ifdef PROCESSOR_armv7_a
    5456        asm volatile ( "wfe" :: );
    55 #elif defined(MACHINE_gta02)
     57#elif defined(MACHINE_gta02) | defined(MACHINE_integratorcp)
    5658        asm volatile ( "mcr p15,0,R0,c7,c0,4" :: );
    5759#endif
Note: See TracChangeset for help on using the changeset viewer.