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

Gerd Hoffmann kraxel at redhat.com
Wed Jun 13 10:51:55 CEST 2018


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.

Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 src/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config.h b/src/config.h
index 93c8dbc2d5..5912c0dd29 100644
--- a/src/config.h
+++ b/src/config.h
@@ -17,7 +17,7 @@
 // Maximum number of map entries in the e820 map
 #define BUILD_MAX_E820 32
 // Space to reserve in high-memory for tables
-#define BUILD_MAX_HIGHTABLE (256*1024)
+#define BUILD_MAX_HIGHTABLE (4*1024*1024)
 // Largest supported externaly facing drive id
 #define BUILD_MAX_EXTDRIVE 16
 // Number of bytes the smbios may be and still live in the f-segment
-- 
2.9.3




More information about the SeaBIOS mailing list