aboutsummaryrefslogtreecommitdiff
path: root/lib/physmem.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2018-01-24 00:18:08 +0100
committerAlexander Graf <agraf@suse.de>2018-01-28 21:37:13 +0100
commitc6fa5df6aab48b12803ea9634b7f7becdc90810d (patch)
treeec6517d5714b7e59f178ffaeebfa9e1eda7842fa /lib/physmem.c
parent6698bb343fec66a2167dcdfe5cd645e09166440e (diff)
downloadu-boot-c6fa5df6aab48b12803ea9634b7f7becdc90810d.zip
u-boot-c6fa5df6aab48b12803ea9634b7f7becdc90810d.tar.gz
u-boot-c6fa5df6aab48b12803ea9634b7f7becdc90810d.tar.bz2
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
Diffstat (limited to 'lib/physmem.c')
0 files changed, 0 insertions, 0 deletions