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

1992/0222/pc/kbd.c (diff list | history)

1992/0221/sys/src/9/pc/kbd.c:296,3031992/0222/sys/src/9/pc/kbd.c:296,303 (short | long | prev | next)
1991/0911    
/* 
1991/0703    
 *  keyboard interrupt 
 */ 
1992/0221    
void 
kbdintr(Ureg *ur) 
1992/0222    
int 
kbdintr0(void) 
1991/0703    
{ 
1991/1211    
	int s, c, i, nk, nc; 
1991/0703    
	static int esc1, esc2; 
1992/0221/sys/src/9/pc/kbd.c:309,3161992/0222/sys/src/9/pc/kbd.c:309,314
1991/1211    
	static uchar kc[5]; 
1991/0703    
	int keyup; 
1991/0702    
 
1992/0221    
	USED(ur); 
                 
1991/0703    
	/* 
1991/0731    
	 *  get status 
1991/0703    
	 */ 
1992/0221/sys/src/9/pc/kbd.c:449,4521992/0222/sys/src/9/pc/kbd.c:447,456
1991/0703    
	} 
	kbdputc(&kbdq, c); 
1991/0731    
	return 0; 
1992/0222    
} 
 
void 
kbdintr(Ureg *ur) 
{ 
	kbdintr0(); 
1991/0703    
} 


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