Blame SOURCES/0062-grub-core-loader-i386-multiboot_mbi.c-grub_multiboot.patch

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