summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2009-01-07 03:05:51 +0100
committerMichael Brown2009-01-07 23:59:05 +0100
commit314779eb369db746be5373b398111d5b746d67de (patch)
tree0856694401b250357ad6ece6e2845c4611b58d01 /src/include
parent[build] Avoid strict-aliasing warnings when building with gcc 4.4 (diff)
downloadipxe-314779eb369db746be5373b398111d5b746d67de.tar.gz
ipxe-314779eb369db746be5373b398111d5b746d67de.tar.xz
ipxe-314779eb369db746be5373b398111d5b746d67de.zip
[efi] Use elf2efi utility in place of efilink
elf2efi converts a suitable ELF executable (containing relocation information, and with appropriate virtual addresses) into an EFI executable. It is less tightly coupled with the gPXE build process and, in particular, does not require the use of a hand-crafted PE image header in efiprefix.S. elf2efi correctly handles .bss sections, which significantly reduces the size of the gPXE EFI executable.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/efi/efi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gpxe/efi/efi.h b/src/include/gpxe/efi/efi.h
index b46d5ca52..2f9951419 100644
--- a/src/include/gpxe/efi/efi.h
+++ b/src/include/gpxe/efi/efi.h
@@ -124,5 +124,7 @@ extern EFI_HANDLE efi_image_handle;
extern EFI_SYSTEM_TABLE *efi_systab;
extern const char * efi_strerror ( EFI_STATUS efirc );
+extern EFI_STATUS efi_init ( EFI_HANDLE image_handle,
+ EFI_SYSTEM_TABLE *systab );
#endif /* _EFI_H */