aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/config.h
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-05-01 08:55:45 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-06-07 14:19:20 +0100
commitc0d18deeee22f3466fd863d64b432660965ec66e (patch)
tree8fce613ef56efd6d112ede4e394051a99490a66f /com32/elflink/ldlinux/config.h
parent4fc3fd1e14f4c1b9208ef262e5b6aef853e9fce4 (diff)
downloadsyslinux-c0d18deeee22f3466fd863d64b432660965ec66e.tar.gz
syslinux-c0d18deeee22f3466fd863d64b432660965ec66e.tar.xz
syslinux-c0d18deeee22f3466fd863d64b432660965ec66e.zip
elflink: Fix boot sector booting
This adds missing support for booting from a boot sector file such as .bs, .bss or .0, by re-implementing the old asm bootsec code from core/bootsect.inc in C. This has resulted in some external changes. We've had to make StackBuf a global symbol because we access it directly from execute.c. Also, we need to move dsinfo.c into MINLIBOBJS because ldlinux now needs to reference __syslinux_derivative_info. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/config.h')
-rw-r--r--com32/elflink/ldlinux/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
index b15a0828..45832022 100644
--- a/com32/elflink/ldlinux/config.h
+++ b/com32/elflink/ldlinux/config.h
@@ -45,4 +45,6 @@ extern void eprintf(const char *filename, ...);
extern int new_linux_kernel(char *okernel, char *ocmdline);
+extern void pm_load_high(com32sys_t *regs);
+
#endif /* __CONFIG_H__ */