Subject: Re: Where to put firmware?
To: Martin Husemann <martin@duskware.de>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 08/23/2002 21:17:13
> LKMs can do anything to the whole system.
This is the best one I ever wrote:
#include <....>
static int
fourgo()
{
int numcpu = 4;
limit( 0x10001, &numcpu );
return 0;
}
MOD_MISC_WRAPPER( fourcpu, fourgo, 0, "fourcpu" );
int fourcpudevflag = 0;
Lets you run four cpus under Unixware 2/7 with a standard license.
I did let the load succeed - but it could return an error,
the load routine does all the necessary work.
David
--
David Laight: david@l8s.co.uk