Fix compilation for x86_64-efi.
This commit is contained in:
parent
1b18d6b0d3
commit
78d2b81bd1
2 changed files with 5 additions and 1 deletions
|
@ -143,7 +143,7 @@ efi_boot (struct grub_relocator *rel,
|
|||
#else
|
||||
struct grub_relocator_efi_state state_efi = MULTIBOOT_EFI_INITIAL_STATE;
|
||||
#endif
|
||||
state_efi.MULTIBOOT_EFI_ENTRY_REGISTER = grub_multiboot_payload_eip;
|
||||
state_efi.MULTIBOOT_EFI_ENTRY_REGISTER = GRUB_MULTIBOOT (payload_eip);
|
||||
state_efi.MULTIBOOT_EFI_MBI_REGISTER = target;
|
||||
|
||||
grub_relocator_efi_boot (rel, state_efi);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue