Ignore:
File:
1 edited

Legend:

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

    r7a0359b r7c13c55  
    4343#include <trace.h>
    4444
    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 */
    4649NO_TRACE static inline void cpu_sleep(void)
    4750{
     51#ifdef PROCESSOR_armv7
     52        asm volatile (
     53                "wfe"::
     54        );
     55#endif
    4856}
    4957
Note: See TracChangeset for help on using the changeset viewer.