[SeaBIOS] [PATCH 1/3] config: reserve more high memory (for ramfb)

Kevin O'Connor kevin at koconnor.net
Wed Jun 13 17:34:30 CEST 2018


On Wed, Jun 13, 2018 at 10:51:55AM +0200, Gerd Hoffmann wrote:
> qemu ramfb allows to place a boot framebuffer in normal ram.  The ramfb
> vgabios needs a bigger chunk of ram for that, so increase the amout of
> reserved memory.
> 
> Obvious drawback is we waste the memory in case ramfb isn't used.
> Better ideas are welcome.

One possibility would be to detect large permanent high memory
allocations in the SeaBIOS PMM interface and have it directly allocate
them from the e820 map.  It would be a bit of a hack though - not sure
which is better.

-Kevin



More information about the SeaBIOS mailing list