Skip to content

Commit 204b0a1

Browse files
Matt FlemingH. Peter Anvin
authored andcommitted
x86, efi: Abstract x86 efi_early calls
The ARM EFI boot stub doesn't need to care about the efi_early infrastructure that x86 requires in order to do mixed mode thunking. So wrap everything up in an efi_call_early() macro. This allows x86 to do the necessary indirection jumps to call whatever firmware interface is necessary (native or mixed mode), but also allows the ARM folks to mask the fact that they don't support relocation in the boot stub and need to pass 'sys_table_arg' to every function. [ hpa: there are no object code changes from this patch ] Signed-off-by: Matt Fleming <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Cc: Roy Franz <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
1 parent 9a11040 commit 204b0a1

File tree

2 files changed

+98
-101
lines changed

2 files changed

+98
-101
lines changed

0 commit comments

Comments
 (0)