diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2019-12-24 18:10:25 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-12-25 12:49:26 +0300 |
commit | 0679715e714345d273c0e1eb78078535ffc4b2a1 (patch) | |
tree | 2f16e5a2898318fc0d08ea77f7c12d6a6d1919b5 /drivers/firmware | |
parent | 7d4e323d02c9a37d68c067f5a951307f3af14694 (diff) | |
download | linux-0679715e714345d273c0e1eb78078535ffc4b2a1.tar.xz |
efi/libstub/x86: Avoid globals to store context during mixed mode calls
Instead of storing the return address in a global variable when calling
a 32-bit EFI service from the 64-bit stub, avoid the indirection via
efi_exit32, and take the return address from the stack.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Cc: Arvind Sankar <nivedita@alum.mit.edu>
Cc: Borislav Petkov <bp@alien8.de>
Cc: James Morse <james.morse@arm.com>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: https://lkml.kernel.org/r/20191224151025.32482-26-ardb@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions