lkml.org 
[lkml]   [2004]   [Jan]   [7]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateWed, 07 Jan 2004 09:32:05 +0100
FromHelge Hafting <>
SubjectRe: PCI memory allocation bug with CONFIG_HIGHMEM
Adam Belay wrote:

> 2.) Windows works with buggy BIOSes because of the way it calls them.
> 
> I looked into how Windows handles the PnPBIOS and may have discovered why it
> works on buggy BIOS.  It turns out that exclusively realmode calls are used.
> See www.missl.cs.umd.edu/Projects/sebos/winint/index2.html#pnpbios.  My
> knowledge is limited in this area of the x86 architecture but it is my
> impression that it would not be possible, or perhaps worth it, to implement
> realmode calls for the Linux PnPBIOS driver because of the time it is
> initialized.

Are these PnPBIOS calls needed at boot only?  If so, consider
querying the bios early in the boot code - before
switching to protected mode.  Just store the results,
and let the driver read them later instead of doing
calls that crash.

Helge Hafting

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:59    [from the cache]
©2003-2008