irq = (line & 1) == 0 ? RS232_IRQ : SECONDARY_IRQ;
rs->irq = irq;
+ rs->irq_hook_id = rs->irq; /* call back with irq line number */
if(sys_irqsetpolicy(irq, IRQ_REENABLE, &rs->irq_hook_id) != OK) {
printf("RS232: Couldn't obtain hook for irq %d\n", irq);
} else {
if (pressed(F11)) timing_dmp();
if (pressed(F12)) sched_dmp();
+#if DEAD_CODE
if (pressed(F9)) {
printf("IS server going into infinite loop... hit 5x a function key\n");
printf("Five times a function key is fine as well ...\n");
printf("IS server back to normal ... \n");
return(EDONTREPLY);
}
+#endif
/* Also check Shift F1-F6 keys. */
if (pressed(SF1)) mproc_dmp();