[SeaBIOS] [PATCH] mark VBE mapping as reserved in e820

Anthony Liguori anthony at codemonkey.ws
Sun Jan 24 14:58:29 CET 2010

On 01/24/2010 04:16 AM, Avi Kivity wrote:
> On 01/24/2010 09:51 AM, Avi Kivity wrote:
>> On 01/24/2010 04:09 AM, Kevin O'Connor wrote:
>>>> VESA standard is unrelated to pci devices,
>>>> and therefore it can be used with isa devices...
>>> VGA shows up as a PCI device under qemu.  Is there a reason why making
>>> the LFB part of a PCI bar of the VGA device will not work?  Doing it
>>> that way seems like a simpler solution.  It's also probably what real
>>> modern machines do.
>> -vga std is not a PCI device, therefore no BAR.  Incidentally, we 
>> have a regression where VBE is not detected with qemu-0.12 and 
>> sesbios, this may be the cause.
> That's not correct - when running with PCI -vga std _is_ a PCI device 
> (and it has a BAR).  What's needed is to make the VBE BIOS aware of it.

I was under the impression that 0xE000... has a certain amount of 
significance beyond the fact that it was hardcoded in VGABIOS.

Certain versions of the VMware VGA driver assumed that the first region 
was mapped at 0xE000.. regardless of the contents of the BAR.  We've had 
lots of problems with this over the years (in std vga too).


Anthony Liguori

More information about the SeaBIOS mailing list