1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _ASM_EFI_H 3 #define _ASM_EFI_H 4 5 typedef int (*efi_freemem_callback_t) (u64 start, u64 end, void *arg); 6 7 void *efi_get_pal_addr(void); 8 void efi_map_pal_code(void); 9 void efi_memmap_walk(efi_freemem_callback_t, void *); 10 void efi_memmap_walk_uc(efi_freemem_callback_t, void *); 11 void efi_gettimeofday(struct timespec64 *ts); 12 13 #endif 14