xnu: supply ramsize to the kernel.

Without this info recent kernels crash as they allocate no heap.
This commit is contained in:
Vladimir Serbinenko 2016-02-11 11:58:28 +01:00
parent 67dba97e45
commit 2d425ffdd5
2 changed files with 25 additions and 1 deletions

View file

@ -89,7 +89,8 @@ struct grub_xnu_boot_params_v2
grub_uint64_t efi_runtime_first_page_virtual;
grub_uint32_t efi_system_table;
grub_uint32_t unused2[11];
grub_uint32_t unused2[9];
grub_uint64_t ram_size;
grub_uint64_t fsbfreq;
grub_uint32_t unused3[734];
} GRUB_PACKED;