Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 23:05:27 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        Mitsuru IWASAKI <iwasaki@jp.FreeBSD.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:  <200110250505.f9P55R739324@harmony.village.org>
In-Reply-To: Your message of "Thu, 25 Oct 2001 13:33:04 %2B0900." <20011025.133304.74756197.iwasaki@jp.FreeBSD.org> 
References:  <20011025.133304.74756197.iwasaki@jp.FreeBSD.org>  <200110241653.f9OGrsL58421@freefall.freebsd.org> <XFMail.011024104456.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20011025.133304.74756197.iwasaki@jp.FreeBSD.org> Mitsuru IWASAKI writes:
: True.  Also we should make apm loadable on only loader.  Loading by
: kldload makes situation very complicated, I think.
: Also we need some sort of arbitration mechanism for APM and ACPI.
: They are no able to co-exist together at the same time.
: I'll make patches tonight or tomorrow.

I've been able to have both acpi and apm in a kernel and have it boot
and survive for a time.  I'm not sure that I'd like to be able to do that.

: > 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.

Warner

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?200110250505.f9P55R739324>