Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/powerpc/cpu.c
Show First 20 Lines • Show All 778 Lines • ▼ Show 20 Lines | cpu_idle_e500mc(sbintime_t sbt) | ||||
*/ | */ | ||||
__asm __volatile(".long 0x7c00007c"); | __asm __volatile(".long 0x7c00007c"); | ||||
} | } | ||||
#endif | #endif | ||||
static void | static void | ||||
cpu_idle_booke(sbintime_t sbt) | cpu_idle_booke(sbintime_t sbt) | ||||
{ | { | ||||
#ifdef BOOKE_E500 | |||||
register_t msr; | register_t msr; | ||||
msr = mfmsr(); | msr = mfmsr(); | ||||
#ifdef BOOKE_E500 | |||||
powerpc_sync(); | powerpc_sync(); | ||||
mtmsr(msr | PSL_WE); | mtmsr(msr | PSL_WE); | ||||
#endif | #endif | ||||
} | } | ||||
#if defined(__powerpc64__) && defined(AIM) | #if defined(__powerpc64__) && defined(AIM) | ||||
static void | static void | ||||
cpu_idle_powerx(sbintime_t sbt) | cpu_idle_powerx(sbintime_t sbt) | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |