summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/cons.h
blob: 623ad90a30bbdc13cd7734c96fb07aaa79480733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*	$OpenBSD: cons.h,v 1.2 2015/02/28 17:54:54 miod Exp $	*/

extern void *zs_conschan;

extern int  zs_getc(void *arg);
extern void zs_putc(void *arg, int c);

struct zschan;
struct zschan *zs_get_chan_addr(int zsc_unit, int channel);

#ifdef	KGDB
struct zs_chanstate;

void zs_kgdb_init(void);
void zskgdb(struct zs_chanstate *);
#endif