diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2016-01-01 02:47:40 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2016-01-01 02:47:40 +0000 |
commit | e13a7f7a36d05e1e0c6d72b3d0c4cd76bf28ffb1 (patch) | |
tree | b6d22b953c5f3ecd118777f5ad688cc08248ddef /sys/powerpc/include | |
parent | b8e70bf7efef670381034d0f5a8ded060def0121 (diff) | |
download | FreeBSD-src-e13a7f7a36d05e1e0c6d72b3d0c4cd76bf28ffb1.zip FreeBSD-src-e13a7f7a36d05e1e0c6d72b3d0c4cd76bf28ffb1.tar.gz |
Extend idle support for newer Book-E cores.
Newer Book-E cores (e500mc, e5500, e6500) do not support the WE bit in the MSR,
and instead delegate CPU idling to the SoC.
Perhaps in the future the QORIQ_DPAA option for the mpc85xx platform will become
a subclass, which will eliminate most of the #ifdef's.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r-- | sys/powerpc/include/platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/platform.h b/sys/powerpc/include/platform.h index 28f83cc..8c92e26 100644 --- a/sys/powerpc/include/platform.h +++ b/sys/powerpc/include/platform.h @@ -57,6 +57,8 @@ void platform_smp_ap_init(void); const char *installed_platform(void); void platform_probe_and_attach(void); +void platform_cpu_idle(int); + void platform_sleep(void); #endif /* _MACHINE_PLATFORM_H_ */ |