diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-08-12 10:44:05 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-08-12 10:44:05 +0000 |
commit | 15dafe6228319925897f71b6a78bb04ebfb3abc4 (patch) | |
tree | 2bfbe764cfc6f9b1e3c6ca9d29d0881a4283149e /sys/arch/sparc/dev/cons.h | |
parent | a83486fe3ff711d8b3727f8abae7995141bb7562 (diff) |
Convert sparc console code from rcons and pseudo-devices to rasops and wscons.
For most framebuffers it is faster.
Other changes include:
o 24 bit support in tcx(4) for the S24 framebuffer
o accelerated cgsix(4) text console
o new cgtwelve(4) driver for the GS framebuffer
o improved serial driver code
o better keyboard support
The following framebuffers have not been tested but should work: cgfour,
cgeight and cgfourteen
These changes will require XF4 changes, to use Xwsfb instead of Xsun*, to be
commited later today.
Most of the work by me during the LSM and the week after, with code borrowed
from jason@, NetBSD (new serial code), and feedback from mickey@. Work on
pnozz(4) done by millert@
Diffstat (limited to 'sys/arch/sparc/dev/cons.h')
-rw-r--r-- | sys/arch/sparc/dev/cons.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/arch/sparc/dev/cons.h b/sys/arch/sparc/dev/cons.h new file mode 100644 index 00000000000..d419a73fa3a --- /dev/null +++ b/sys/arch/sparc/dev/cons.h @@ -0,0 +1,18 @@ +/* $OpenBSD: cons.h,v 1.1 2002/08/12 10:44:04 miod Exp $ */ + +struct consdev; +struct zs_chanstate; + +extern void *zs_conschan; + +extern void nullcnprobe(struct consdev *); + +extern int zs_getc(void *arg); +extern void zs_putc(void *arg, int c); + +struct zschan *zs_get_chan_addr(int zsc_unit, int channel); + +#ifdef KGDB +void zs_kgdb_init(void); +void zskgdb(struct zs_chanstate *); +#endif |