aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/config.h
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-11-27 15:01:12 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-11-27 15:59:54 +0000
commit9f284ea6ad3215ab609b733424121fbfe7ab7edb (patch)
tree673a78be9c5cffba903b4b60b7ddc73b4d01bd2e /com32/elflink/ldlinux/config.h
parent75afaf55d70cda7a24533df124183f8624190438 (diff)
downloadsyslinux-9f284ea6ad3215ab609b733424121fbfe7ab7edb.tar.gz
syslinux-9f284ea6ad3215ab609b733424121fbfe7ab7edb.tar.xz
syslinux-9f284ea6ad3215ab609b733424121fbfe7ab7edb.zip
ldlinux: Reset the console whenever we execute a module
Each module expects the console to start in text mode and will make explicit calls to openconsole() when another console is required, e.g. in vesamenu.c32. This mimics the behaviour found in 4.0x. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/config.h')
-rw-r--r--com32/elflink/ldlinux/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
index 9b7ce4a4..c551fb19 100644
--- a/com32/elflink/ldlinux/config.h
+++ b/com32/elflink/ldlinux/config.h
@@ -48,6 +48,7 @@ extern int new_linux_kernel(char *okernel, char *ocmdline);
extern void pm_load_high(com32sys_t *regs);
extern void ldlinux_enter_command(void);
+extern void ldlinux_console_init(void);
extern const char *apply_extension(const char *kernel, const char *ext);
#endif /* __CONFIG_H__ */