qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH] register a single area for vga bios and opt


From: Carl-Daniel Hailfinger
Subject: Re: [Qemu-devel] Re: [PATCH] register a single area for vga bios and option roms
Date: Thu, 09 Apr 2009 22:49:44 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081213 SUSE/1.1.14-1.1 SeaMonkey/1.1.14

On 09.04.2009 19:48, Anthony Liguori wrote:
> Glauber Costa wrote:
>> Those guys are not different in nature. They're all roms,
>> not blessed with the graces of being written to. So there's
>> not need to issue multiple requests to memory registration areas:
>> just treat them as brothers, and put them all in the same
>> region.
>>
>> It also has the nice side effect of improving the loading code
>> a little bit.
>>
>> Signed-off-by: Glauber Costa <address@hidden>
>>   
>
> The vga bios is just an option rom, right?  So why can't we treat the
> vga bios as an option rom and eliminate the specific code for dealing
> with VGA bios.
>
> The real problem here is that we should be registering the option rom
> space once and doing that in page boundaries.

AFAIK shadowed option ROMs can be aligned at 1 kB boundaries and may
modify themselves. Quite a few VGA BIOSes do that to reduce their memory
footprint after hardware initialization is complete.


Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]