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