Subject: Re: AMD Power Now!
To: Christian Hattemer <chris@heaven.riednet.wh.tu-darmstadt.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 12/09/2002 09:39:46
On Mon, Dec 09, 2002 at 01:18:41AM +0100, Christian Hattemer wrote:
> Hello Manuel,
> 
> On 08-Dez-02, you wrote:
> 
> >> I noticed the same thing after installing zo.. er, xp on an Athlon box.
> >> The CPU barely gets warm, but when I was running NetBSD on the same
> >> machine, CPU temperature was 50...60 °C..
> 
> > Do you have APM defined in the kernel ? If so, maybe you also have
> > APM_NO_IDLE ?
> > The BIOS has to support APM too.
> 
> I thought the only use of APM on a line-powered desktop machine is that it
> makes shutdown -p work.
> 
> So it also makes the CPU run cooler while the system is idle?

From 1.6 locore.s:
#if NAPM > 0
        call    _C_LABEL(apm_cpu_idle)
#endif
        hlt
#if NAPM > 0
        call    _C_LABEL(apm_cpu_busy)
#endif

apm_cpu_idle() calls the APM_CPU_IDLE APM function.

But I just figured that these calls have dissapeared from the current locore.s

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 23 ans d'experience feront toujours la difference
--