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