aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/syslinux/biosboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/syslinux/biosboot.c')
-rw-r--r--com32/lib/syslinux/biosboot.c4
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__ */