"Kevin O'Connor" <kevin@koconnor.net> wrote on 11/23/2010 08:26:32 AM:

>
> On Tue, Nov 23, 2010 at 06:31:41AM -0500, Stefan Berger wrote:
> > Yes, this block is duplicated, but the code around it is different than
> > what exists.
> >
> > Would you want the same type of transparency in the code, i.e., using the
> > function tables and
> > the tricks with the #defines? Either way is fine, but it gives me
> > direction on how to proceed.
>
> I think you should just use call32() and not do anything special.  I
> don't see why you need a function table or any defines.
>
> BTW, do you really need to be in 32bit mode, or can this just be done
> in 16bit mode?


I'll need to at least use big real mode since the device addresses are at
0xfed40000 and will need to write data into ACPI tables.

   Stefan