示例#1
0
文件: main.c 项目: EtchedPixels/FUZIX
void platform_interrupt(void)
{
 tty_pollirq();
 timer_interrupt();
// netat_poll();
// netz_poll();
}
示例#2
0
文件: main.c 项目: EtchedPixels/FUZIX
/* On idle we spin checking for the terminals. Gives us more responsiveness
   for the polled ports */
void platform_idle(void)
{
  /* We don't want an idle poll and IRQ driven tty poll at the same moment */
  irqflags_t irq = di();
  tty_pollirq(); 
  irqrestore(irq);
}
示例#3
0
文件: main.c 项目: EtchedPixels/FUZIX
void platform_interrupt(void)
{
 tty_pollirq();
 tty_polluart();
 timer_interrupt();
 poll_input();
 if (timer_wait)
   wakeup(&timer_interrupt);
}
示例#4
0
文件: main.c 项目: geijoenr/FUZIX
void platform_interrupt(void)
{
 tty_pollirq();
 mdv_timer();
 timer_interrupt();
}
示例#5
0
文件: main.c 项目: 8l/FUZIX
/* On idle we spin checking for the terminals. Gives us more responsiveness
   for the polled ports */
void platform_idle(void)
{
  tty_pollirq(); 
}