diff options
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r-- | include/linux/efi.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index ec45ccd8708a..8670eb1eb8cd 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
@@ -496,6 +496,14 @@ extern void efi_map_pal_code (void); | |||
496 | extern void efi_memmap_walk (efi_freemem_callback_t callback, void *arg); | 496 | extern void efi_memmap_walk (efi_freemem_callback_t callback, void *arg); |
497 | extern void efi_gettimeofday (struct timespec *ts); | 497 | extern void efi_gettimeofday (struct timespec *ts); |
498 | extern void efi_enter_virtual_mode (void); /* switch EFI to virtual mode, if possible */ | 498 | extern void efi_enter_virtual_mode (void); /* switch EFI to virtual mode, if possible */ |
499 | #ifdef CONFIG_X86 | ||
500 | extern void efi_late_init(void); | ||
501 | extern void efi_free_boot_services(void); | ||
502 | #else | ||
503 | static inline void efi_late_init(void) {} | ||
504 | static inline void efi_free_boot_services(void) {} | ||
505 | #endif | ||
506 | extern void __iomem *efi_lookup_mapped_addr(u64 phys_addr); | ||
499 | extern u64 efi_get_iobase (void); | 507 | extern u64 efi_get_iobase (void); |
500 | extern u32 efi_mem_type (unsigned long phys_addr); | 508 | extern u32 efi_mem_type (unsigned long phys_addr); |
501 | extern u64 efi_mem_attributes (unsigned long phys_addr); | 509 | extern u64 efi_mem_attributes (unsigned long phys_addr); |