* 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:
Vladimir 'phcoder' Serbinenko committed 2012-06-03 18:00:37 +02:00
1 parent 15a940bbd8
commit efbeefe90f
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -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;