3f2879c
From e1c64869c163e44957cca04844753c1dae60ebad Mon Sep 17 00:00:00 2001
78a3d7d
From: Vladimir Serbinenko <phcoder@gmail.com>
78a3d7d
Date: Fri, 28 Feb 2014 09:48:57 +0100
3f2879c
Subject: [PATCH 061/103] 	* grub-core/loader/i386/multiboot_mbi.c
78a3d7d
 (grub_multiboot_make_mbi): Limit 	location to 640K.
78a3d7d
78a3d7d
---
78a3d7d
 ChangeLog                             | 5 +++++
78a3d7d
 grub-core/loader/i386/multiboot_mbi.c | 2 +-
78a3d7d
 2 files changed, 6 insertions(+), 1 deletion(-)
78a3d7d
78a3d7d
diff --git a/ChangeLog b/ChangeLog
3f2879c
index 6af559a..8087595 100644
78a3d7d
--- a/ChangeLog
78a3d7d
+++ b/ChangeLog
78a3d7d
@@ -1,5 +1,10 @@
78a3d7d
 2014-02-28  Vladimir Serbinenko  <phcoder@gmail.com>
78a3d7d
 
78a3d7d
+	* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi): Limit
78a3d7d
+	location to 640K.
78a3d7d
+
78a3d7d
+2014-02-28  Vladimir Serbinenko  <phcoder@gmail.com>
78a3d7d
+
78a3d7d
 	* grub-core/kern/i386/coreboot/mmap.c: Filter out 0xa0000-0x100000
78a3d7d
 	region.
78a3d7d
 
78a3d7d
diff --git a/grub-core/loader/i386/multiboot_mbi.c b/grub-core/loader/i386/multiboot_mbi.c
78a3d7d
index 7431aa4..f10c087 100644
78a3d7d
--- a/grub-core/loader/i386/multiboot_mbi.c
78a3d7d
+++ b/grub-core/loader/i386/multiboot_mbi.c
78a3d7d
@@ -446,7 +446,7 @@ grub_multiboot_make_mbi (grub_uint32_t *target)
78a3d7d
   bufsize = grub_multiboot_get_mbi_size ();
78a3d7d
 
78a3d7d
   err = grub_relocator_alloc_chunk_align (grub_multiboot_relocator, &ch,
78a3d7d
-					  0x10000, 0x100000 - bufsize,
78a3d7d
+					  0x10000, 0xa0000 - bufsize,
78a3d7d
 					  bufsize, 4,
78a3d7d
 					  GRUB_RELOCATOR_PREFERENCE_NONE, 0);
78a3d7d
   if (err)
78a3d7d
-- 
3f2879c
1.9.0
78a3d7d