]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - arch/arm64/include/asm/efi.h
8 extern void efi_init(void);
9 extern void efi_idmap_init(void);
12 #define efi_idmap_init()
15 #define efi_call_virt(f, ...) \
17 efi_##f##_t *__f = efi.systab->runtime->f; \
20 kernel_neon_begin(); \
21 __s = __f(__VA_ARGS__); \
26 #define __efi_call_virt(f, ...) \
28 efi_##f##_t *__f = efi.systab->runtime->f; \
30 kernel_neon_begin(); \
35 /* arch specific definitions used by the stub code */
38 * AArch64 requires the DTB to be 8-byte aligned in the first 512MiB from
39 * start of kernel and may not cross a 2MiB boundary. We set alignment to
40 * 2MiB so we know it won't cross a 2MiB boundary.
42 #define EFI_FDT_ALIGN SZ_2M /* used by allocate_new_fdt_and_exit_boot() */
43 #define MAX_FDT_OFFSET SZ_512M
45 #define efi_call_early(f, ...) sys_table_arg->boottime->f(__VA_ARGS__)
47 #endif /* _ASM_EFI_H */