* grub-core/kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Pass

unknown types through.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2013-10-19 01:01:36 +02:00
1 parent f90a3cc0a8
commit fc3182c799
2 files changed
+6 -2

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Pass
unknown types through.
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/osdep/unix/getroot.c (grub_util_check_block_device): Remove.
+1 -2
View File
@@ -156,8 +156,7 @@ grub_machine_mmap_iterate (grub_memory_hook_t hook, void *hook_data)
if (hook (entry->addr, entry->len,
/* GRUB mmaps have been defined to match with the E820 definition.
Therefore, we can just pass type through. */
((entry->type <= GRUB_MACHINE_MEMORY_BADRAM) && (entry->type >= GRUB_MACHINE_MEMORY_AVAILABLE)) ? entry->type : GRUB_MEMORY_RESERVED,
hook_data))
entry->type, hook_data))
break;
if (! cont)