|
|
d41074 |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
a85e8e |
From: Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
a85e8e |
Date: Fri, 28 Feb 2014 09:48:57 +0100
|
|
|
d41074 |
Subject: [PATCH] * grub-core/loader/i386/multiboot_mbi.c
|
|
|
a85e8e |
(grub_multiboot_make_mbi): Limit location to 640K.
|
|
|
a85e8e |
|
|
|
a85e8e |
---
|
|
|
a85e8e |
grub-core/loader/i386/multiboot_mbi.c | 2 +-
|
|
|
d41074 |
ChangeLog | 5 +++++
|
|
|
a85e8e |
2 files changed, 6 insertions(+), 1 deletion(-)
|
|
|
a85e8e |
|
|
|
a85e8e |
diff --git a/grub-core/loader/i386/multiboot_mbi.c b/grub-core/loader/i386/multiboot_mbi.c
|
|
|
d41074 |
index 7431aa49bbe..f10c087f724 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)
|
|
|
d41074 |
diff --git a/ChangeLog b/ChangeLog
|
|
|
d41074 |
index 4f6f6d6d35a..bbaed2691c7 100644
|
|
|
d41074 |
--- a/ChangeLog
|
|
|
d41074 |
+++ b/ChangeLog
|
|
|
d41074 |
@@ -1,3 +1,8 @@
|
|
|
d41074 |
+2014-02-28 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
d41074 |
+
|
|
|
d41074 |
+ * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi): Limit
|
|
|
d41074 |
+ location to 640K.
|
|
|
d41074 |
+
|
|
|
d41074 |
2014-02-28 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
d41074 |
|
|
|
d41074 |
* grub-core/kern/i386/coreboot/mmap.c: Filter out 0xa0000-0x100000
|