mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +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
@@ -171,7 +171,7 @@ malloc_hook (void)
|
||||
|
||||
reentry = 1;
|
||||
hooktarget
|
||||
= grub_mmap_malign_and_register (16, hooksize, &mmapregion,
|
||||
= grub_mmap_malign_and_register (16, ALIGN_UP (hooksize, 16), &mmapregion,
|
||||
GRUB_MEMORY_RESERVED,
|
||||
GRUB_MMAP_MALLOC_LOW);
|
||||
reentry = 0;
|
||||
|
||||
Reference in new issue
Block a user