This commit is contained in:
Vladimir Serbinenko committed 2016-02-22 03:27:39 +01:00
1 parent ee52ea80d6
commit f51e8d0dda
4 files changed
+11 -2

No files matched your search

+4
View File
@@ -83,6 +83,10 @@ heap_init (grub_uint64_t addr, grub_uint64_t size, grub_memory_type_t type,
begin = modend;
}
/* Avoid DMA problems. */
if (end >= 0xfe000000)
end = 0xfe000000;
if (end <= begin)
return 0;