Explorar el Código

Experiment; let's see if we can get individual config header files working.

tags/v0.9.3
Michael Brown hace 19 años
padre
commit
8e4c991c24
Se han modificado 1 ficheros con 36 adiciones y 0 borrados
  1. 36
    0
      src/config.h

+ 36
- 0
src/config.h Ver fichero

@@ -0,0 +1,36 @@
1
+/*
2
+ * This file defines the configuration for Etherboot.
3
+ *
4
+ * The build system splits this file into several individual header
5
+ * files, so that changing one option doesn't necessitate a rebuild of
6
+ * every single object.  For this reason, it is important to maintain
7
+ * the strict formatting in this file.
8
+ *
9
+ */
10
+
11
+/* BEGIN config_serial.h
12
+ *
13
+ * Serial port configuration
14
+ *
15
+ * These options affect the operation of the serial console.  They
16
+ * take effect only if the serial console is included using the
17
+ * CONSOLE_SERIAL option.
18
+ *
19
+ */
20
+
21
+#define COMCONSOLE	0x3f8		/* I/O port address */
22
+
23
+/* Keep settings from a previous user of the serial port (e.g. lilo or
24
+ * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
25
+ */
26
+#define COMPRESERVE	0
27
+
28
+#if ! COMPRESERVE
29
+#define COMSPEED	9600		/* Baud rate */
30
+#define COMDATA		8		/* Data bits */ 
31
+#define COMPARITY	N		/* Parity */
32
+#define COMSTOP		1		/* Stop bits */
33
+#endif
34
+
35
+/* END config_serial.h */
36
+

Loading…
Cancelar
Guardar