1 #ifndef _EFI_H_ 2 #define _EFI_H_ 3 4 /* 5 * EFI-related functions in . This file's name "efi.h" is in 6 * conflict with GNU-EFI library's "efi.h", but does not include 7 * GNU-EFI headers or links against GNU-EFI. 8 * 9 * Copyright (c) 2021, Google Inc, Zixuan Wang <zixuanwang@google.com> 10 * 11 * SPDX-License-Identifier: LGPL-2.0-or-later 12 */ 13 #include "linux/efi.h" 14 #include <elf.h> 15 16 efi_status_t _relocate(long ldbase, Elf64_Dyn *dyn, efi_handle_t handle, efi_system_table_t *sys_tab); 17 efi_status_t efi_get_memory_map(struct efi_boot_memmap *map); 18 efi_status_t efi_exit_boot_services(void *handle, unsigned long mapkey); 19 efi_status_t efi_get_system_config_table(efi_guid_t table_guid, void **table); 20 efi_status_t efi_main(efi_handle_t handle, efi_system_table_t *sys_tab); 21 22 #endif /* _EFI_H_ */ 23