VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Ard Biesheuvel <ardb@kernel.org> 2021-01-18 13:38:42 +0100 committer: Ard Biesheuvel <ardb@kernel.org> 2021-01-18 13:50:37 +0100 commit: 8ff059b8531f3b98e14f0461859fc7cdd95823e4 parent: 5c8fe583cce542aa0b84adc939ce85293de36e5e
Commit Summary:
efi: ia64: move IA64-only declarations to new asm/efi.h header
Diffstat:
1 file changed, 10 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/efi.h b/arch/ia64/include/asm/efi.h
new file mode 100644
index 000000000000..6a4a50d8f19a
--- /dev/null
+++ b/arch/ia64/include/asm/efi.h
@@ -0,0 +1,13 @@
+/* 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