freebsd5/sys/i386/apm/apm.c
/* inform APM BIOS that CPU is busy */
inform APM BIOS that CPU is busy
inform APM BIOS that CPU is busy
void
apm_cpu_busy(void)
{
	struct apm_softc *sc = &apm_softc;
	if (sc->slow_idle_cpu && sc->active) {
		sc->bios.r.eax = (APM_BIOS <<8) | APM_CPUBUSY;
		sc->bios.r.edx = sc->bios.r.ecx = sc->bios.r.ebx = 0;
		apm_bioscall();
	}
}
void apm_cpu_busy ( void ) { struct apm_softc * sc = & apm_softc ; if ( sc -> slow_idle_cpu && sc -> active ) { sc -> bios . r . eax = ( APM_BIOS << 8 ) | APM_CPUBUSY ; sc -> bios . r . edx = sc -> bios . r . ecx = sc -> bios . r . ebx = 0 ; apm_bioscall ( ) ; } }
inform APM BIOS that CPU is busy
inform APM BIOS that CPU is busy
/*
	 * The APM specification says this is only necessary if your BIOS
	 * slows down the processor in the idle task, otherwise it's not
	 * necessary.
	 */