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