[SeaBIOS] [PATCH] Increase maximum size of permanent high memory area.

Kevin O'Connor kevin at koconnor.net
Fri Jan 24 05:57:18 CET 2014


Some XHCI controllers can request a significant chunk of reserved
memory for scratch pad buffers.  (At least one controller Intel
Haswell based controller has been seen to request 64KiB.)  Unused
memory is returned after POST completes, so it should be okay to
increase the maximum permanent high memory zone from 64K to 256K.

Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
---

I have pushed this to the xhci testing branch at:

https://github.com/KevinOConnor/seabios/tree/xhci-testing

---
 src/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config.h b/src/config.h
index 64e3c92..2fee0c7 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 (64*1024)
+#define BUILD_MAX_HIGHTABLE (256*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
-- 
1.8.3.1




More information about the SeaBIOS mailing list