mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
efi_loader: fix StartImage bootservice
The calling convention for the entry point of an EFI image is always 'asmlinkage'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
0aaabbb2c8
commit
5e55543e65
1 changed files with 2 additions and 1 deletions
|
@ -1533,7 +1533,8 @@ static efi_status_t EFIAPI efi_start_image(efi_handle_t image_handle,
|
|||
unsigned long *exit_data_size,
|
||||
s16 **exit_data)
|
||||
{
|
||||
ulong (*entry)(efi_handle_t image_handle, struct efi_system_table *st);
|
||||
asmlinkage ulong (*entry)(efi_handle_t image_handle,
|
||||
struct efi_system_table *st);
|
||||
struct efi_loaded_image *info = image_handle;
|
||||
efi_status_t ret;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue