aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/config.h
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-03-03 11:53:42 +0000
committerMatt Fleming <matt.fleming@linux.intel.com>2011-03-09 14:32:36 +0000
commit9caf6cce661a627ff2fd414fc27417f586d2b2f4 (patch)
treece180bffb80b3ac9a58c5e435ff36e42f1d276f3 /com32/elflink/ldlinux/config.h
parentf8c8e0e0f1556280a983e281f7ef0ed3af2d36b9 (diff)
downloadsyslinux-9caf6cce661a627ff2fd414fc27417f586d2b2f4.tar.gz
syslinux-9caf6cce661a627ff2fd414fc27417f586d2b2f4.tar.xz
syslinux-9caf6cce661a627ff2fd414fc27417f586d2b2f4.zip
elflink: Move config data into config.h
Move some definitions that other compilation units need to know about into config.h. In subsequent patches ldlinux.c will use the global options set by readconfig.c to decide which kernel to boot. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/config.h')
-rw-r--r--com32/elflink/ldlinux/config.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
new file mode 100644
index 00000000..3125b27f
--- /dev/null
+++ b/com32/elflink/ldlinux/config.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2011 Intel Corporation - All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston MA 02110-1301, USA; either version 2 of the License, or
+ * (at your option) any later version; incorporated herein by reference.
+ *
+ */
+
+#ifndef __CONFIG_H__
+#define __CONFIG_H__
+
+extern short uappendlen; //bytes in append= command
+extern short ontimeoutlen; //bytes in ontimeout command
+extern short onerrorlen; //bytes in onerror command
+extern short forceprompt; //force prompt
+extern short noescape; //no escape
+extern short nocomplete; //no label completion on TAB key
+extern short allowimplicit; //allow implicit kernels
+extern short allowoptions; //user-specified options allowed
+extern short includelevel; //nesting level
+extern short defaultlevel; //the current level of default
+extern short vkernel; //have we seen any "label" statements?
+extern short displaycon; //conio.inc
+extern short nohalt; //idle.inc
+
+#endif /* __CONFIG_H__ */