xnu: supply ramsize to the kernel.
Without this info recent kernels crash as they allocate no heap.
This commit is contained in:
parent
67dba97e45
commit
2d425ffdd5
2 changed files with 25 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue