Re: ADLO committed (NO FUNCTION TABLES!)

2002-11-26 Thread Ronald G. Minnich
On Tue, 26 Nov 2002, Ronald G. Minnich wrote: > On Tue, 26 Nov 2002, Adam Sulmicki wrote: > > > well it always could be intermediate solution. In this way we only have 4 > > data structures and no functions. > > sounds like we need a union, with a tag, and then the descriptors. In the > limit,

Re: ADLO committed (NO FUNCTION TABLES!)

2002-11-26 Thread Ronald G. Minnich
On Tue, 26 Nov 2002, Adam Sulmicki wrote: > well it always could be intermediate solution. In this way we only have 4 > data structures and no functions. sounds like we need a union, with a tag, and then the descriptors. In the limit, the tag can be TAG_CODE, meaning you have to call the attache

Re: ADLO committed (NO FUNCTION TABLES!)

2002-11-26 Thread Adam Sulmicki
> well, looks like my beautiful theory just got killed by a brutal gang of > facts. Now it's somebody else's turn to figure this out :-) well it always could be intermediate solution. In this way we only have 4 data structures and no functions. -- Adam Sulmicki http://www.eax.com The Suprem

Re: ADLO committed (NO FUNCTION TABLES!)

2002-11-26 Thread Ronald G. Minnich
On 26 Nov 2002, Christer Weinigel wrote: > "Ronald G. Minnich" <[EMAIL PROTECTED]> writes: > > > One thing we should keep in mind for the shadow ram thing: > > Just about every chipset I have seen has shadow ram registers that can > > correctly be set with the following info: > > > > VendorID,

RE: ADLO committed (NO FUNCTION TABLES!)

2002-11-26 Thread Steve M. Gehlbach
> > One thing we should keep in mind for the shadow ram thing: > > Just about every chipset I have seen has shadow ram registers that can > > correctly be set with the following info: > > > > VendorID, DeviceID, Function, register, AndMask, OrMask. > > > > ... > > I haven't stumbled across a ch

Re: ADLO committed (NO FUNCTION TABLES!)

2002-11-26 Thread Christer Weinigel
"Ronald G. Minnich" <[EMAIL PROTECTED]> writes: > One thing we should keep in mind for the shadow ram thing: > Just about every chipset I have seen has shadow ram registers that can > correctly be set with the following info: > > VendorID, DeviceID, Function, register, AndMask, OrMask. > > Thi

Re: ADLO committed (NO FUNCTION TABLES!)

2002-11-25 Thread Eric W. Biederman
"Ronald G. Minnich" <[EMAIL PROTECTED]> writes: > On 25 Nov 2002, Eric W. Biederman wrote: > > > Except for the Athlons? Which control this in the CPU? > > yes but ... that's a test for cpuid. > > > For the most part we should just enable these area in LinuxBIOS. > > For motherboards that w

Re: ADLO committed (NO FUNCTION TABLES!)

2002-11-25 Thread Ronald G. Minnich
On 25 Nov 2002, Eric W. Biederman wrote: > Except for the Athlons? Which control this in the CPU? yes but ... that's a test for cpuid. > For the most part we should just enable these area in LinuxBIOS. For motherboards that will work if we do that. There are still weirdo ones out there that

Re: ADLO committed (NO FUNCTION TABLES!)

2002-11-25 Thread Eric W. Biederman
"Ronald G. Minnich" <[EMAIL PROTECTED]> writes: > One thing we should keep in mind for the shadow ram thing: > Just about every chipset I have seen has shadow ram registers that can > correctly be set with the following info: > > VendorID, DeviceID, Function, register, AndMask, OrMask. > > Thi

Re: ADLO committed (NO FUNCTION TABLES!)

2002-11-25 Thread Ronald G. Minnich
One thing we should keep in mind for the shadow ram thing: Just about every chipset I have seen has shadow ram registers that can correctly be set with the following info: VendorID, DeviceID, Function, register, AndMask, OrMask. This rapidly leads to a simple table something like this: struct

Re: ADLO committed (NO FUNCTION TABLES!)

2002-11-25 Thread Eric W. Biederman
steven james <[EMAIL PROTECTED]> writes: > Greetings, > > I was thinking of locating the function table somewhere in ram. Perhaps it > and the code itself could go in the 64 K at 0x10 and A20 could be > turned on to access that small highmem area with the segment register set > at 0x. I h