linux/arch/x86/platform/efi
Ricardo Neri 982e239cd2 x86/efi: Implement a __efi_call_virt macro
For i386, all the EFI system runtime services functions return efi_status_t
except efi_reset_system_system. Therefore, not all functions can be covered
by the same macro in case the macro needs to do more than calling the function
(i.e., return a value). The purpose of the __efi_call_virt macro is to be used
when no return value is expected.

For x86_64, this macro would not be needed as all the runtime services return
u64. However, the same code is used for both x86_64 and i386. Thus, the macro
__efi_call_virt is also defined to not break compilation.

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
2014-04-17 13:26:32 +01:00
..
early_printk.c x86/efi: Fix earlyprintk off-by-one bug 2013-11-28 20:16:56 +00:00
efi_32.c x86/efi: Make efi virtual runtime map passing more robust 2014-03-04 16:17:18 +00:00
efi_64.c x86/efi: Restore 'attr' argument to query_variable_info() 2014-03-17 21:55:04 +00:00
efi_stub_32.S x86: Move efi to platform 2010-10-27 14:30:01 +02:00
efi_stub_64.S x86/efi: Delete most of the efi_call* macros 2014-04-17 13:26:30 +01:00
efi_thunk_64.S x86/efi: Add mixed runtime services support 2014-03-04 21:43:14 +00:00
efi-bgrt.c x86/efi: Check status field to validate BGRT header 2014-02-14 10:07:15 +00:00
efi.c x86/efi: Implement a __efi_call_virt macro 2014-04-17 13:26:32 +01:00
Makefile x86/efi: Add mixed runtime services support 2014-03-04 21:43:14 +00:00