xnu: Include relocated EFI in heap size.

This commit is contained in:
Vladimir Serbinenko 2016-02-11 12:30:45 +01:00
parent 2d425ffdd5
commit df4df4d887
1 changed files with 1 additions and 1 deletions

View File

@ -1103,7 +1103,7 @@ grub_xnu_boot (void)
bootparams_common->efi_mmap = memory_map_target;
bootparams_common->efi_mmap_size = memory_map_size;
bootparams_common->heap_start = grub_xnu_heap_target_start;
bootparams_common->heap_size = grub_xnu_heap_size;
bootparams_common->heap_size = curruntimepage * GRUB_XNU_PAGESIZE - grub_xnu_heap_target_start;
/* Parameters for asm helper. */
grub_xnu_stack = bootparams_common->heap_start