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

6b3c76
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
6b3c76
Subject: [PATCH 062/261] * grub-core/loader/i386/multiboot_mbi.c
a85e8e
 (grub_multiboot_make_mbi): Limit location to 640K.
a85e8e
a85e8e
---
d41074
 ChangeLog                             | 5 +++++
6b3c76
 grub-core/loader/i386/multiboot_mbi.c | 2 +-
a85e8e
 2 files changed, 6 insertions(+), 1 deletion(-)
a85e8e
6b3c76
diff --git a/ChangeLog b/ChangeLog
6b3c76
index 4f6f6d6d3..bbaed2691 100644
6b3c76
--- a/ChangeLog
6b3c76
+++ b/ChangeLog
6b3c76
@@ -1,5 +1,10 @@
6b3c76
 2014-02-28  Vladimir Serbinenko  <phcoder@gmail.com>
6b3c76
 
6b3c76
+	* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi): Limit
6b3c76
+	location to 640K.
6b3c76
+
6b3c76
+2014-02-28  Vladimir Serbinenko  <phcoder@gmail.com>
6b3c76
+
6b3c76
 	* grub-core/kern/i386/coreboot/mmap.c: Filter out 0xa0000-0x100000
6b3c76
 	region.
6b3c76
 
a85e8e
diff --git a/grub-core/loader/i386/multiboot_mbi.c b/grub-core/loader/i386/multiboot_mbi.c
6b3c76
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)
6b3c76
-- 
6b3c76
2.13.5
6b3c76