diff options
author | Ingo Molnar <mingo@kernel.org> | 2020-03-08 08:59:47 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-03-08 09:23:36 +0100 |
commit | 3be5f0d286dc944dee65fdcbddfc4d314f7d4482 (patch) | |
tree | e9ae173868cc3d984aa1e916f94e5f3cef18a265 /include/linux/efi.h | |
parent | c98a76eabbb6e7755f3d4a4c33f8fe869dda6383 (diff) | |
parent | f0df68d5bae8825ee5b62f00af237ae82247f045 (diff) | |
download | linux-stable-3be5f0d286dc944dee65fdcbddfc4d314f7d4482.tar.gz linux-stable-3be5f0d286dc944dee65fdcbddfc4d314f7d4482.tar.bz2 linux-stable-3be5f0d286dc944dee65fdcbddfc4d314f7d4482.zip |
Merge tag 'efi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi into efi/core
More EFI updates for v5.7
- Incorporate a stable branch with the EFI pieces of Hans's work on
loading device firmware from EFI boot service memory regions
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r-- | include/linux/efi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index e8a08a499131..abfc98e4dfe1 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -775,6 +775,7 @@ extern int __init efi_setup_pcdp_console(char *); #define EFI_NX_PE_DATA 9 /* Can runtime data regions be mapped non-executable? */ #define EFI_MEM_ATTR 10 /* Did firmware publish an EFI_MEMORY_ATTRIBUTES table? */ #define EFI_MEM_NO_SOFT_RESERVE 11 /* Is the kernel configured to ignore soft reservations? */ +#define EFI_PRESERVE_BS_REGIONS 12 /* Are EFI boot-services memory segments available? */ #ifdef CONFIG_EFI /* @@ -1097,6 +1098,12 @@ static inline void efi_enable_reset_attack_mitigation(void) { } #endif +#ifdef CONFIG_EFI_EMBEDDED_FIRMWARE +void efi_check_for_embedded_firmwares(void); +#else +static inline void efi_check_for_embedded_firmwares(void) { } +#endif + efi_status_t efi_random_get_seed(void); void efi_retrieve_tpm2_eventlog(void); |