![Ard Biesheuvel](/assets/img/avatar_default.png)
commit 8ff059b8531f3b98e14f0461859fc7cdd95823e4 upstream. Move some EFI related declarations that are only referenced on IA64 to a new asm/efi.h arch header. Cc: Tony Luck <tony.luck@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Cc: Frank Scheiner <frank.scheiner@web.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 lines
374 B
C
13 lines
374 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_EFI_H
|
|
#define _ASM_EFI_H
|
|
|
|
typedef int (*efi_freemem_callback_t) (u64 start, u64 end, void *arg);
|
|
|
|
void *efi_get_pal_addr(void);
|
|
void efi_map_pal_code(void);
|
|
void efi_memmap_walk(efi_freemem_callback_t, void *);
|
|
void efi_memmap_walk_uc(efi_freemem_callback_t, void *);
|
|
void efi_gettimeofday(struct timespec64 *ts);
|
|
|
|
#endif
|