*** empty log message ***
This commit is contained in:
parent
0946d128cd
commit
1198491af2
2 changed files with 3 additions and 0 deletions
|
@ -584,6 +584,7 @@ tty_t *tp; /* which TTY */
|
||||||
irq = (line & 1) == 0 ? RS232_IRQ : SECONDARY_IRQ;
|
irq = (line & 1) == 0 ? RS232_IRQ : SECONDARY_IRQ;
|
||||||
|
|
||||||
rs->irq = 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) {
|
if(sys_irqsetpolicy(irq, IRQ_REENABLE, &rs->irq_hook_id) != OK) {
|
||||||
printf("RS232: Couldn't obtain hook for irq %d\n", irq);
|
printf("RS232: Couldn't obtain hook for irq %d\n", irq);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -41,6 +41,7 @@ PUBLIC int do_fkey_pressed(message *m)
|
||||||
if (pressed(F11)) timing_dmp();
|
if (pressed(F11)) timing_dmp();
|
||||||
if (pressed(F12)) sched_dmp();
|
if (pressed(F12)) sched_dmp();
|
||||||
|
|
||||||
|
#if DEAD_CODE
|
||||||
if (pressed(F9)) {
|
if (pressed(F9)) {
|
||||||
printf("IS server going into infinite loop... hit 5x a function key\n");
|
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("Five times a function key is fine as well ...\n");
|
||||||
|
@ -52,6 +53,7 @@ PUBLIC int do_fkey_pressed(message *m)
|
||||||
printf("IS server back to normal ... \n");
|
printf("IS server back to normal ... \n");
|
||||||
return(EDONTREPLY);
|
return(EDONTREPLY);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Also check Shift F1-F6 keys. */
|
/* Also check Shift F1-F6 keys. */
|
||||||
if (pressed(SF1)) mproc_dmp();
|
if (pressed(SF1)) mproc_dmp();
|
||||||
|
|
Loading…
Reference in a new issue