[SeaBIOS] [PATCH 09/13] Add UmbStart, UmbEnd fields to EFI_COMPATIBILITY16_TABLE

David Woodhouse dwmw2 at infradead.org
Mon Jan 28 17:23:42 CET 2013


From: David Woodhouse <David.Woodhouse at intel.com>

We need this proposed addition to the CSM spec, or OVMF will make the whole
region from 0xC0000 to 0xFFFFF read-only before invoking our Legacy16Boot
method. Read-only stack considered harmful.

http://www.sourceforge.net/mailarchive/forum.php?thread_name=50FD7290.9060003%40redhat.com&forum_name=edk2-devel

Not-yet-signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 src/LegacyBios.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/LegacyBios.h b/src/LegacyBios.h
index 65ace3b..69eabd1 100644
--- a/src/LegacyBios.h
+++ b/src/LegacyBios.h
@@ -228,6 +228,17 @@ typedef struct {
   /// Maximum PCI bus number assigned.
   ///
   UINT8                             LastPciBus;
+
+  ///
+  /// Start address of UMB RAM (>> 12)
+  ///
+  UINT8                             UmbStart;
+
+  ///
+  /// End address of UMB RAM (>> 12)
+  ///
+  UINT8                             UmbEnd;
+
 } EFI_COMPATIBILITY16_TABLE;
 
 ///
-- 
1.8.0.2




More information about the SeaBIOS mailing list