From owner-freebsd-mobile Sat Feb 10 18: 4:57 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 5695537B401 for ; Sat, 10 Feb 2001 18:04:39 -0800 (PST) Received: from v-ger.we.lc.ehu.es (lxpx300.lx.ehu.es [158.227.26.200]) by polaris.we.lc.ehu.es (8.11.1/8.11.1) with ESMTP id f1B24Zb02078; Sun, 11 Feb 2001 03:04:35 +0100 (MET) Received: from we.lc.ehu.es (localhost [127.0.0.1]) by v-ger.we.lc.ehu.es (8.11.1/8.11.1) with ESMTP id f1B245n05792; Sun, 11 Feb 2001 03:04:05 +0100 (CET) (envelope-from jose@we.lc.ehu.es) Message-ID: <3A85F315.140F3657@we.lc.ehu.es> Date: Sun, 11 Feb 2001 03:04:05 +0100 From: "Jose M. Alcaide" Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: Marco S Hyman Cc: mobile@FreeBSD.ORG Subject: Re: Inspiron fan problems (was: laptop cpu fan) References: <26785.981742590@hana.snafu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Marco S Hyman wrote: > > "Jose M. Alcaide" writes: > > > A NOP loop won't make the processor run any cooler. A HLT instruction > > > will, and that's what FreeBSD does, at any rate. I'd be surprised if > > > OpenBSD didn't do the same thing. > > > > I wonder why apm_cpu_idle() (in sys/i386/apm.c) is referenced from > > nowhere in the kernel. > > /sys/arch/i386/i386/locore.s:1670: call _apm_cpu_idle > What FreeBSD version? In 4.2-RELEASE and 5.0-CURRENT, the file sys/i386/i386/locore.s does _not_ contain any reference to apm_cpu_idle(). In fact, a grep search on all kernel source files does not find any reference to this function. Whether this is important or not, I dont't know. Probably it is not. -- JMA ****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** ** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message