|
@@ -264,7 +264,7 @@ ENTRY(efi_pe_entry)
|
|
/*
|
|
/*
|
|
* Relocate efi_config->call().
|
|
* Relocate efi_config->call().
|
|
*/
|
|
*/
|
|
- addq %rbp, efi64_config+32(%rip)
|
|
|
|
|
|
+ addq %rbp, efi64_config+40(%rip)
|
|
|
|
|
|
movq %rax, %rdi
|
|
movq %rax, %rdi
|
|
call make_boot_params
|
|
call make_boot_params
|
|
@@ -284,7 +284,7 @@ handover_entry:
|
|
* Relocate efi_config->call().
|
|
* Relocate efi_config->call().
|
|
*/
|
|
*/
|
|
movq efi_config(%rip), %rax
|
|
movq efi_config(%rip), %rax
|
|
- addq %rbp, 32(%rax)
|
|
|
|
|
|
+ addq %rbp, 40(%rax)
|
|
2:
|
|
2:
|
|
movq efi_config(%rip), %rdi
|
|
movq efi_config(%rip), %rdi
|
|
call efi_main
|
|
call efi_main
|
|
@@ -456,14 +456,14 @@ efi_config:
|
|
#ifdef CONFIG_EFI_MIXED
|
|
#ifdef CONFIG_EFI_MIXED
|
|
.global efi32_config
|
|
.global efi32_config
|
|
efi32_config:
|
|
efi32_config:
|
|
- .fill 4,8,0
|
|
|
|
|
|
+ .fill 5,8,0
|
|
.quad efi64_thunk
|
|
.quad efi64_thunk
|
|
.byte 0
|
|
.byte 0
|
|
#endif
|
|
#endif
|
|
|
|
|
|
.global efi64_config
|
|
.global efi64_config
|
|
efi64_config:
|
|
efi64_config:
|
|
- .fill 4,8,0
|
|
|
|
|
|
+ .fill 5,8,0
|
|
.quad efi_call
|
|
.quad efi_call
|
|
.byte 1
|
|
.byte 1
|
|
#endif /* CONFIG_EFI_STUB */
|
|
#endif /* CONFIG_EFI_STUB */
|