lkml.org 
[lkml]   [2008]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86-boot: don't request VBE2 information
From
Date
>>>>> "H" == H Peter Anvin <hpa@zytor.com> writes:

>> Disassembing the video BIOS shows that it overflows the vesa_general_info
>> structure when VBE2 data is requested because the source addresses for the
>> information strings which get strcpy'ed to the buffer lie outside the 32K
>> BIOS code (and hence contain long sequences of 0xff's).
>>

H> I'm slightly concerned about this, because we *do* use VBE2 data -
H> just not the stuff that this particular BIOS seems to key on (and
H> break.)

Well, we use the version info to know if we can request EDID data, but
otherwise I don't see any VBE2 stuff in vesa_general_info used.

A VBE2+ compatible BIOS should still put the correct version number in
the VBE info block even if you don't request VBE2 data (E.G. the
version gets set to 3.0 independently of VBE2 or not in the disasm I
sent).

H> On the other hand, until we get an example on something that breaks
H> with the change, we might as well try it, since we have an example on
H> something that breaks with it. We should monitor carefully, though.

Great. This was how the old asm version used to do it as well.

--
Bye, Peter Korsgaard


\
 
 \ /
  Last update: 2008-03-06 17:19    [W:0.289 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site