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

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