]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
For AIM, have cpu_idle() set MSR_POW when the powerpc_pow_enabled
authorMarcel Moolenaar <marcel@FreeBSD.org>
Fri, 7 Mar 2008 22:27:06 +0000 (22:27 +0000)
committerMarcel Moolenaar <marcel@FreeBSD.org>
Fri, 7 Mar 2008 22:27:06 +0000 (22:27 +0000)
commit8a109fa3d8bc61faf98e34ffbfacf926d8f57ff0
tree9f48ed3f05e5d512df0ddf1e6bef225e75ecc82d
parentd6f59297101012b310393a2e0cd1d05e2d6f3d23
For AIM, have cpu_idle() set MSR_POW when the powerpc_pow_enabled
variable is set. On my Mac Mini this puts the CPU in NAP mode when
the kernel is idle and, any technical or environmental reasons
aside, avoids that I have to listen to the fan all day :-)
sys/powerpc/aim/locore.S
sys/powerpc/aim/machdep.c
sys/powerpc/include/md_var.h
sys/powerpc/powerpc/cpu.c