Date: Tue, 15 Feb 2000 10:51:31 +0100 From: "Jose M. Alcaide" <jose@we.lc.ehu.es> To: freebsd-mobile@FreeBSD.org Subject: wondering about apm_cpu_{idle,busy}() in sys/i386/apm/apm.c Message-ID: <38A921A3.2DFAC51D@we.lc.ehu.es>
next in thread | raw e-mail | index | archive | help
[I posted this question to -hackers one week ago; since I did not get any answers I am trying again in -mobile :-)] Hello, I am doing some experiments with my new laptop and APM, so I carefully read the apm(4) source (sys/i386/apm/apm.c), and I found the functions apm_cpu_idle() and apm_cpu_busy(). I understand the double CPU halting issue. However, I wonder about where are these two functions invoked from: jose@v-ger[~]$ find /usr/src/sys -name "*.[chsS]" | xargs fgrep apm_cpu_idle /usr/src/sys/i386/apm/apm.c:apm_cpu_idle(void) /usr/src/sys/i386/include/apm_bios.h:void apm_cpu_idle(void); And the same happens with apm_cpu_busy(). Are these functions actually used in the kernel? What did I miss? Cheers, -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | mailto:jmas@FreeBSD.org Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-946013071 ----------------------------------------------------------------------- "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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38A921A3.2DFAC51D>