Subject: Re: Crusoe LongRun Support
To: Curt Sampson <cjs@cynic.net>
From: Jaromír <jdolecek@netbsd.org>
List: tech-kern
Date: 08/21/2001 19:49:02
Curt Sampson wrote:
> Some (all?) Transmeta CPUs, particularly the Crusoe, include support
> for LongRun, which controls power usage and temperature by dynamically
> changing the current speed and core voltage of the CPU.
Cool.
> I want to add suport for this to NetBSD, and I'm wondering what the
> best way to do it is. FreeBSD did this by adding sysctl variables. I've
> currently got a device driver and userland program for doing queries.
> Which way is better? Or should I be doing something else entirely?
Yeah, I think a pseudo device might be a good way, it at least
makes the access permission matter of file properties :)
I wonder if this might not be handled partially via the envsys(4) API,
possibly when expanded a little to accomodate for additional
LongRun features. Or is LongRun something entirely different
and this would not make sense?
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
NetBSD - just plain best OS! -=*=- Got spare MCA cards or docs? Hand me them!