summaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-02-26 21:57:11 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-02-26 21:57:11 +0100
commitdd687a62dfb81ec125f41a257229f58d80b7044d (patch)
treea7c7d54acf611248e4c64a508717e8dd076e47c7 /i386/intel
parent3d095d907e0047621950b3dcd9ff8b1f3d596797 (diff)
Add console=comN boot option to enable serial console
* i386/configfrag.ac (RCLINE, RCADDR): Remove defines. * i386/i386at/com.c: Include <string.h> and <util/atoi.h> [!RCLINE] (RCBAUD, comcndev, comcnprobe, comcninit, comcngetc, comcnputc): Declare and define macro, variable, and functions. (rcline): New variable. (kernel_cmdline): New declaration. (comcnprobe): Detect "console=comN" option and set rcline accordingly, use rcline instead of RCLINE for serial console selection. * i386/i386at/cons_conf.c [NCOM>0 && !RCLINE] (comcnprobe, comcninit, comcngetc, comcnputc): Declare functions. [NCOM>0 && !RCLINE] (constab): Enable "com" console. * i386/i386at/kd_event.c (kbdopen): Call kdinit function, for when the VGA+pckbd console was not initialized.
Diffstat (limited to 'i386/intel')
0 files changed, 0 insertions, 0 deletions