[syslinux:nocomapi] biosboot: This file is not for EFI
syslinux-bot for H. Peter Anvin
hpa at linux.intel.com
Thu Mar 13 14:24:03 PDT 2014
Commit-ID: 710eab5aae1892b8d2b4dde13a62e818033b0ecc
Gitweb: http://www.syslinux.org/commit/710eab5aae1892b8d2b4dde13a62e818033b0ecc
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Thu, 13 Mar 2014 14:20:47 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Thu, 13 Mar 2014 14:20:47 -0700
biosboot: This file is not for EFI
This file causes dynamic link failures on EFI, and of course has
no use in the EFI environment.
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
com32/lib/syslinux/biosboot.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/com32/lib/syslinux/biosboot.c b/com32/lib/syslinux/biosboot.c
index 9bdf84f..5e599bb 100644
--- a/com32/lib/syslinux/biosboot.c
+++ b/com32/lib/syslinux/biosboot.c
@@ -28,6 +28,8 @@
#include <syslinux/boot.h>
#include <syslinux/movebits.h>
+#ifdef __FIRMWARE_BIOS__
+
void bios_do_shuffle_and_boot(uint16_t bootflags, uint32_t descaddr,
const void *descbuf, uint32_t dsize)
{
@@ -37,3 +39,5 @@ void bios_do_shuffle_and_boot(uint16_t bootflags, uint32_t descaddr,
do_raw_shuffle_and_boot(descaddr, descbuf, dsize);
/* Should not return */
}
+
+#endif /* __FIRMWARE_BIOS__ */
More information about the Syslinux-commits
mailing list