mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Pass
unknown types through.
This commit is contained in:
1 parent
f90a3cc0a8
commit
fc3182c799
2 files changed
+6
-2
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user