summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorMichael Brown2005-04-17 16:08:40 +0200
committerMichael Brown2005-04-17 16:08:40 +0200
commit8e4c991c24104361c71e8d42ed455083d9d99cec (patch)
tree5c50a9d5dfbfc2c667977ad8a468aff69950ee09 /src/config.h
parentFound a home for MAKEROM_FLAGS_3c503. (diff)
downloadipxe-8e4c991c24104361c71e8d42ed455083d9d99cec.tar.gz
ipxe-8e4c991c24104361c71e8d42ed455083d9d99cec.tar.xz
ipxe-8e4c991c24104361c71e8d42ed455083d9d99cec.zip
Experiment; let's see if we can get individual config header files working.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
new file mode 100644
index 00000000..bace0495
--- /dev/null
+++ b/src/config.h
@@ -0,0 +1,36 @@
+/*
+ * This file defines the configuration for Etherboot.
+ *
+ * The build system splits this file into several individual header
+ * files, so that changing one option doesn't necessitate a rebuild of
+ * every single object. For this reason, it is important to maintain
+ * the strict formatting in this file.
+ *
+ */
+
+/* BEGIN config_serial.h
+ *
+ * Serial port configuration
+ *
+ * These options affect the operation of the serial console. They
+ * take effect only if the serial console is included using the
+ * CONSOLE_SERIAL option.
+ *
+ */
+
+#define COMCONSOLE 0x3f8 /* I/O port address */
+
+/* Keep settings from a previous user of the serial port (e.g. lilo or
+ * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
+ */
+#define COMPRESERVE 0
+
+#if ! COMPRESERVE
+#define COMSPEED 9600 /* Baud rate */
+#define COMDATA 8 /* Data bits */
+#define COMPARITY N /* Parity */
+#define COMSTOP 1 /* Stop bits */
+#endif
+
+/* END config_serial.h */
+