lkml.org 
[lkml]   [2004]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 13:59    [W:0.152 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site