mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
xnu: Include relocated EFI in heap size.
This commit is contained in:
1 parent
2d425ffdd5
commit
df4df4d887
1 file changed
+1
-1
@@ -1103,7 +1103,7 @@ grub_xnu_boot (void)
|
|||||||
bootparams_common->efi_mmap = memory_map_target;
|
bootparams_common->efi_mmap = memory_map_target;
|
||||||
bootparams_common->efi_mmap_size = memory_map_size;
|
bootparams_common->efi_mmap_size = memory_map_size;
|
||||||
bootparams_common->heap_start = grub_xnu_heap_target_start;
|
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. */
|
/* Parameters for asm helper. */
|
||||||
grub_xnu_stack = bootparams_common->heap_start
|
grub_xnu_stack = bootparams_common->heap_start
|
||||||
|
|||||||
Reference in new issue
Block a user