[SeaBIOS] Running out of space in e/f-segments

Avi Kivity avi at redhat.com
Sun Aug 22 20:23:36 CEST 2010

  On 08/22/2010 09:21 PM, Gleb Natapov wrote:
> On Sun, Aug 22, 2010 at 09:18:43PM +0300, Avi Kivity wrote:
>>   On 08/22/2010 08:40 PM, Kevin O'Connor wrote:
>>> On Sun, Aug 22, 2010 at 08:07:53PM +0300, Avi Kivity wrote:
>>>> I see that ld has some support for overlays, perhaps we can use that?
>>> The overlay support is basically just another way of manipulating the
>>> run-time addresses of the code at build time.  Unfortunately, it can
>>> only specify static addresses, and I don't think there is any safe
>>> static address that can be used (outside of 0xc0000-0xfffff).
>> Is that not useful?  We can push, say the IDE and virtio drivers to
>> overlay the same address range in the e/f segments, and have the
>> stubs pull them in as necessary.
> And if you need both?

That's the thing, the overlay is swapped dynamically.

You can't need both at the same time, since the BIOS runtime is single 

I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

More information about the SeaBIOS mailing list