static  void receive_chars(struct tty_struct *tty, struct pt_regs *regs){	unsigned char ch;	static unsigned char seen_esc = 0;	while ( (ch = ia64_ssc(0, 0, 0, 0, SSC_GETCHAR)) ) {		if ( ch == 27 && seen_esc == 0 ) {			seen_esc = 1;			continue;		} else {			if ( seen_esc==1 && ch == 'O' ) {				seen_esc = 2;				continue;			} else if ( seen_esc == 2 ) {				if ( ch == 'P' ) show_state();		/* F1 key */#ifdef CONFIG_KDB				if ( ch == 'S' )					kdb(KDB_REASON_KEYBOARD, 0, (kdb_eframe_t) regs);#endif				seen_esc = 0;				continue;			}		}		seen_esc = 0;		if (tty->flip.count >= TTY_FLIPBUF_SIZE) break;		*tty->flip.char_buf_ptr = ch;		*tty->flip.flag_buf_ptr = 0;		tty->flip.flag_buf_ptr++;		tty->flip.char_buf_ptr++;		tty->flip.count++;	}	tty_flip_buffer_push(tty);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/819c67e69c4e0062787e27dd989f5f9d00d4834e/simserial.c/clean/arch/ia64/hp/sim/simserial.c