[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] [0.12] Map BIOS f-segment as RAM, not as ROM
From: |
Alexander Graf |
Subject: |
[Qemu-devel] Re: [PATCH] [0.12] Map BIOS f-segment as RAM, not as ROM |
Date: |
Fri, 4 Dec 2009 01:48:36 +0100 |
On 04.12.2009, at 01:44, Kevin O'Connor wrote:
> On Fri, Dec 04, 2009 at 01:24:52AM +0100, Alexander Graf wrote:
>> SeaBIOS needs to write to the f-segment. So it needs to have some way to set
>> that from read-only to read-write, write in it and when it's done set it to
>> read-only again.
>>
>> On PCI we have a mechanism for that. The ISA machine does not though. To stay
>> regression free and happily enable users to continue using the -M isapc
>> machine
>> let's just map it as RAM on the ISA PC.
>>
>> Signed-off-by: Alexander Graf <address@hidden>
>
> Thanks Alexander.
>
> Why not always map the f-segment as ram? On a PCI machine, both bochs
> bios and seabios will make it read-only at the end of POST regardless
> of how it started.
I merely wanted to fix the regression. If you think it's a good idea to always
map it R/W, I'll gladly change the patch.
Alex