sys/sparc/dev/zs.c
/*
 * Get a character from the given kgdb channel.  Called at splhigh().
 */
Get a character from the given kgdb channel.  Called at splhigh().
Get a character from the given kgdb channel . Called at splhigh () .
static int
zs_kgdb_getc(void *arg)
{
	register volatile struct zschan *zc = (volatile struct zschan *)arg;
	while ((zc->zc_csr & ZSRR0_RX_READY) == 0)
		continue;
	return (zc->zc_data);
}
static int zs_kgdb_getc ( void * arg ) { register volatile struct zschan * zc = ( volatile struct zschan * ) arg ; while ( ( zc -> zc_csr & ZSRR0_RX_READY ) == 0 ) continue ; return ( zc -> zc_data ) ; }
Get a character from the given kgdb channel.
Get a character from the given kgdb channel .