u-boot-brain/lib/efi_loader
Alexander Graf c6fa5df6aa efi_loader: Always use EFIAPI instead of asmlinkage
EFI calls are usually defined as asmlinkage. That means we pass all parameters
to functions via the stack x86_32.

On x86_64 however, we need to also stick to the MS ABI calling conventions,
which the EFIAPI define conveniently handles for us. Most EFI functions were
also marked with EFIAPI, except for the entry call.

So this patch adjusts all entry calls to use EFIAPI instead of the manual
asmlinkage attribute.

While at it, we also change the prototype of the entry point to return
efi_status_t instead of ulong, as this is the correct prototype definition.

Signed-off-by: Alexander Graf <agraf@suse.de>

---

v1 -> v2:

  - Use efi_status_t in all occurences
2018-01-28 21:37:13 +01:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_bootmgr.c efi_loader: add bootmgr 2017-09-20 11:08:01 +02:00
efi_boottime.c efi_loader: Always use EFIAPI instead of asmlinkage 2018-01-28 21:37:13 +01:00
efi_console.c efi_loader: add check_tpl parameter to efi_signal_event 2018-01-22 23:09:14 +01:00
efi_device_path_to_text.c efi_loader: text output for device path end node 2018-01-22 23:09:12 +01:00
efi_device_path.c efi_loader: allow creation of more device part nodes 2018-01-22 23:10:05 +01:00
efi_disk.c efi_loader: correct EFI_BLOCK_IO_PROTOCOL definitions 2018-01-22 23:09:14 +01:00
efi_file.c efi_loader: add file/filesys support 2017-09-20 10:43:54 +02:00
efi_gop.c efi_loader: helper function to add EFI object to list 2017-12-01 13:41:01 +01:00
efi_image_loader.c efi_loader: allocate correct memory type for EFI image 2018-01-22 23:09:13 +01:00
efi_memory.c efi_loader: add comments to memory functions 2018-01-22 23:09:12 +01:00
efi_net.c efi_loader: helper function to add EFI object to list 2017-12-01 13:41:01 +01:00
efi_runtime.c efi_loader: efi variable support 2017-09-20 11:00:57 +02:00
efi_smbios.c smbios: Expose in efi_loader as table 2016-10-19 09:01:52 +02:00
efi_variable.c efi_loader: print GUIDs 2017-09-20 11:10:42 +02:00
efi_watchdog.c efi_loader: implement SetWatchdogTimer 2017-12-01 13:22:55 +01:00
helloworld.c efi_loader: check tables in helloworld.efi 2018-01-22 23:09:13 +01:00
Kconfig efi: Conflict efi_loader with different stub bitness 2018-01-28 21:37:13 +01:00
Makefile efi_loader helloworld.efi: Fix building with -Os 2017-12-01 22:31:00 +01:00