diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2014-03-13 14:20:47 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-03-13 14:20:47 -0700 |
commit | 710eab5aae1892b8d2b4dde13a62e818033b0ecc (patch) | |
tree | d7440a70df1455f45ac2bfac7092e88743024d44 | |
parent | 908c3fa1c3ea57e2bba148a590ebb788b453af09 (diff) | |
download | syslinux-710eab5aae1892b8d2b4dde13a62e818033b0ecc.tar.gz syslinux-710eab5aae1892b8d2b4dde13a62e818033b0ecc.tar.xz syslinux-710eab5aae1892b8d2b4dde13a62e818033b0ecc.zip |
biosboot: This file is not for EFInocomapi
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@linux.intel.com>
-rw-r--r-- | com32/lib/syslinux/biosboot.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/lib/syslinux/biosboot.c b/com32/lib/syslinux/biosboot.c index 9bdf84fb..5e599bb5 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__ */ |