Date: Thu, 25 Oct 2001 23:13:48 +0900 (JST) From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org> To: imp@harmony.village.org Cc: jhb@FreeBSD.org, ume@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/modules Makefile src/sys/modules/apm Mak Message-ID: <20011025.231348.92585814.iwasaki@jp.FreeBSD.org> In-Reply-To: <200110250505.f9P55R739324@harmony.village.org> References: <200110241653.f9OGrsL58421@freefall.freebsd.org> <XFMail.011024104456.jhb@FreeBSD.org> <200110250505.f9P55R739324@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > : > How does this work with things like the timecounter code which disables the TSC > : > timecounter in the APM case? > : > : Yes, and maybe syscons too? Anyway, I'll change releated code with > : `#ifdev DEV_APM'. > : > : # sorry, I'll be away until tonight... > > Maybe > if (apm_attached) > return; > /* do tsc */ > > and have apm_attached always in the kernel and have it set when apm is > attached. Ditto for other users. Yes like that, but it's not so easy :) Because startrtclock() is launched from cpu_startup() which is part of SI_SUB_CPU subsystem. APM is attached later stage than SI_SUB_CPU. Maybe we need to exchange priority of SI_SUB_CPU and SI_SUB_KLD at least to tell startrtclock() presence of apm(4). I'm working on this based on http://people.freebsd.org/~iwasaki/acpi/power-20010113.tar.gz few more hours to complete... Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011025.231348.92585814.iwasaki>