plan 9 kernel history: overview | file list | diff list

1991/0606/gnot/devduart.c (diff list | history)

1991/0605/sys/src/9/gnot/devduart.c:100,1061991/0606/sys/src/9/gnot/devduart.c:100,106 (short | long | prev | next)
1991/0605    
	Alarm	*a;		/* alarm for waking the kernel process */ 
	int	delay;		/* between character input and waking kproc */ 
 	int	kstarted;	/* kproc started */ 
	uchar	delim[256];	/* characters that act as delimiters */ 
1991/0606    
	uchar	delim[256/8];	/* characters that act as delimiters */ 
1991/0605    
}; 
Duartport	duartport[1]; 
 
1991/0605/sys/src/9/gnot/devduart.c:424,4301991/0606/sys/src/9/gnot/devduart.c:424,430
1991/0605    
		(*cq->putc)(cq, ch); 
	else { 
		putc(cq, ch); 
		if(dp->delim[ch]) 
1991/0606    
		if(dp->delim[ch/8] & (1<<(ch&7)) ) 
1991/0605    
			wakeup(&cq->r); 
	} 
} 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)