Follow-up Comment #6, bug #23615 (project grub):
Could you try this?
=== modified file 'grub-core/kern/efi/mm.c'
--- grub-core/kern/efi/mm.c 2010-08-25 01:25:18 +0000
+++ grub-core/kern/efi/mm.c 2010-09-05 22:18:53 +0000
@@ -25,7 +25,7 @@
#define NEXT_MEMORY_DESCRIPTOR(desc, size)
((grub_efi_memory_descriptor_t *) ((char *) (desc) + (size)))
-#define BYTES_TO_PAGES(bytes) ((bytes) >> 12)
+#define BYTES_TO_PAGES(bytes) ((bytes + 0xfff) >> 12)
#define PAGES_TO_BYTES(pages) ((pages) << 12)
/* The size of a memory map obtained from the firmware. This must be
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23615>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub