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

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