예제 #1
0
파일: ite.c 프로젝트: lacombar/netbsd-alc
/*ARGSUSED*/
static void
repeat_handler(void *arg)
{
	tout_pending = 0;
	if (last_char)
		ite_filter(last_char, ITEFILT_REPEATER);
}
예제 #2
0
void
kbdsoftint(void *arg)			/* what if ite is not configured? */
{
	struct kbd_softc *sc = arg;
	int s;

	s = spltty();

	if (sc->sc_event_mode)
		EV_WAKEUP(&sc->sc_events);

	while(kbdgetoff < kbdputoff)
		ite_filter(kbdbuf[kbdgetoff++ & KBDBUFMASK]);
	kbdgetoff = kbdputoff = 0;

	splx(s);
}