Add support for on-the-fly switching of console devices interactively

from the i386 biosboot via the "consdev" command.
This commit is contained in:
jhawk 2000-05-13 05:25:20 +00:00
parent 1dac4cd666
commit a72e1e9c59
2 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,6 @@
.\" $NetBSD: boot_console.8,v 1.5 2000/04/17 21:28:49 jhawk Exp $ .\" $NetBSD: boot_console.8,v 1.6 2000/05/13 05:25:20 jhawk Exp $
.\" .\"
.Dd December 31, 1998 .Dd May 12, 2000
.Os .Os
.Dt BOOT_CONSOLE 8 i386 .Dt BOOT_CONSOLE 8 i386
.Sh NAME .Sh NAME
@ -14,7 +14,8 @@ i386 bootloader selects a console device for its user interaction and
passes information about it to the passes information about it to the
.Nx .Nx
kernel. The selection process is controlled by bootloader compile-time kernel. The selection process is controlled by bootloader compile-time
options and system setup at the bootloader startup time. options and system setup at the bootloader startup time, and may
be changed on-the-fly from within the bootloader.
.\" .\"
.Ss Serial Console Options .Ss Serial Console Options
The compile-time options (to be set in the booter's The compile-time options (to be set in the booter's

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 2000/04/23 19:57:13 tsarna Exp $ # $NetBSD: Makefile,v 1.27 2000/05/13 05:25:20 jhawk Exp $
S= ${.CURDIR}/../../../../ S= ${.CURDIR}/../../../../
@ -17,7 +17,9 @@ CLEANFILES+= ${BSSTART}
CPPFLAGS+= -DCOMPAT_OLDBOOT -DCOMPAT_386BSD_MBRPART CPPFLAGS+= -DCOMPAT_OLDBOOT -DCOMPAT_386BSD_MBRPART
#Sample use of serial line debugger # Various serial line configurations
CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_PC -DDIRECT_SERIAL
# or
#CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_COM0KBD #CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_COM0KBD
# or # or
#CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_AUTO #CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_AUTO