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:[EMAIL PROTECTED]
Universidad del Pa�s Vasco              | mailto:[EMAIL PROTECTED]
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to