Messages in this thread | | | Date | Wed, 07 Jan 2004 09:32:05 +0100 | From | Helge Hafting <> | Subject | Re: 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/
| |