mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
* grub-core/mmap/i386/pc/mmap.c (malloc_hook):
Allocate in multiples of 16 to avoid adding a few bytes free region the windows bugs upon.
This commit is contained in:
1 parent
15a940bbd8
commit
efbeefe90f
2 files changed
+7
-1
No files matched your search
@@ -1,3 +1,9 @@
|
|||||||
|
2012-06-03 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/mmap/i386/pc/mmap.c (malloc_hook):
|
||||||
|
Allocate in multiples of 16 to avoid adding a few bytes free region the
|
||||||
|
windows bugs upon.
|
||||||
|
|
||||||
2012-06-03 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-06-03 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/commands/i386/pc/drivemap.c (install_int13_handler):
|
* grub-core/commands/i386/pc/drivemap.c (install_int13_handler):
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ malloc_hook (void)
|
|||||||
|
|
||||||
reentry = 1;
|
reentry = 1;
|
||||||
hooktarget
|
hooktarget
|
||||||
= grub_mmap_malign_and_register (16, hooksize, &mmapregion,
|
= grub_mmap_malign_and_register (16, ALIGN_UP (hooksize, 16), &mmapregion,
|
||||||
GRUB_MEMORY_RESERVED,
|
GRUB_MEMORY_RESERVED,
|
||||||
GRUB_MMAP_MALLOC_LOW);
|
GRUB_MMAP_MALLOC_LOW);
|
||||||
reentry = 0;
|
reentry = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user