* grub-core/kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Pass
unknown types through.
This commit is contained in:
parent
f90a3cc0a8
commit
fc3182c799
2 changed files with 6 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue