[kvm-unit-tests PATCH v3 21/27] arm64: Change GNU-EFI imported file to use defined types

Nikos Nikoleris
2022-06-30T10:04:28Z

Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
---
arm/efi/reloc_aarch64.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/arm/efi/reloc_aarch64.c b/arm/efi/reloc_aarch64.c
index 0867279..fa0cd6b 100644
--- a/arm/efi/reloc_aarch64.c
+++ b/arm/efi/reloc_aarch64.c
@@ -34,14 +34,11 @@
SUCH DAMAGE.
*/

-#include <efi.h>
-#include <efilib.h>
-
+#include "efi.h"
#include <elf.h>

-EFI_STATUS _relocate (long ldbase, Elf64_Dyn *dyn,
- EFI_HANDLE image EFI_UNUSED,
- EFI_SYSTEM_TABLE *systab EFI_UNUSED)
+efi_status_t _relocate(long ldbase, Elf64_Dyn *dyn, efi_handle_t image,
+ efi_system_table_t *sys_tab)
{
long relsz = 0, relent = 0;
Elf64_Rela *rel = 0;
--
2.25.1