diff options
author | simokawa <simokawa@FreeBSD.org> | 2003-10-24 15:44:10 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2003-10-24 15:44:10 +0000 |
commit | c96f6e4f1d827076592526a3f1f3e7887a9732a4 (patch) | |
tree | 2bed02c82f165be07e877314c53ec276a84990ec /sys/modules | |
parent | 7248844c9b0757577411885916b1314dfedc3cae (diff) | |
download | FreeBSD-src-c96f6e4f1d827076592526a3f1f3e7887a9732a4.zip FreeBSD-src-c96f6e4f1d827076592526a3f1f3e7887a9732a4.tar.gz |
Add dumb console driver and related bits.
dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons
Tested with: i386, i386-PAE, and sparc64.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/dcons/Makefile | 18 | ||||
-rw-r--r-- | sys/modules/dcons_crom/Makefile | 14 |
3 files changed, 34 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index fe84da9..f2762d2 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -32,6 +32,8 @@ SUBDIR= accf_data \ ${_cryptodev} \ cue \ dc \ + dcons \ + dcons_crom \ de \ digi \ dummynet \ diff --git a/sys/modules/dcons/Makefile b/sys/modules/dcons/Makefile new file mode 100644 index 0000000..e063f61 --- /dev/null +++ b/sys/modules/dcons/Makefile @@ -0,0 +1,18 @@ +# $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../dev/dcons + +KMOD = dcons +SRCS = dcons.c dcons.h \ + opt_dcons.h opt_ddb.h opt_comconsole.h + +opt_ddb.h: + echo "#define DDB 1" > $@ + +opt_comconsole.h: + echo "#define ALT_BREAK_TO_DEBUGGER 1" > $@ + +CFLAGS+= -I${.CURDIR}/../.. + +.include <bsd.kmod.mk> diff --git a/sys/modules/dcons_crom/Makefile b/sys/modules/dcons_crom/Makefile new file mode 100644 index 0000000..74c168e --- /dev/null +++ b/sys/modules/dcons_crom/Makefile @@ -0,0 +1,14 @@ +# $Id: Makefile,v 1.6 2003/10/24 15:43:24 simokawa Exp $ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../dev/dcons + +KMOD = dcons_crom +SRCS = dcons_crom.c dcons.h \ + bus_if.h device_if.h + +#KMODDEPS = firewire dcons + +CFLAGS+= -I${.CURDIR}/../.. + +.include <bsd.kmod.mk> |