Exemplo n.º 1
0
/*ARGSUSED*/
static void
repeat_handler(void *arg)
{
	tout_pending = 0;
	if (last_char)
		ite_filter(last_char, ITEFILT_REPEATER);
}
Exemplo n.º 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);
}