Merge tag 'uml-for-linus-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / drivers / firmware / efi / libstub / x86-stub.h
blob1c20e99a6494423787ef1dd091739ed9cbc89a24
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <linux/efi.h>
5 extern void trampoline_32bit_src(void *, bool);
6 extern const u16 trampoline_ljmp_imm_offset;
8 efi_status_t efi_adjust_memory_range_protection(unsigned long start,
9 unsigned long size);
11 #ifdef CONFIG_X86_64
12 efi_status_t efi_setup_5level_paging(void);
13 void efi_5level_switch(void);
14 #else
15 static inline efi_status_t efi_setup_5level_paging(void) { return EFI_SUCCESS; }
16 static inline void efi_5level_switch(void) {}
17 #endif