Disabled ser_putc for reporting debug internal to tty over the serial line.
Disabled return statement for serial debug input in the kernel.
This commit is contained in:
parent
a3c8619923
commit
bb659b1ad6
@ -1170,6 +1170,9 @@ int c; /* character to print */
|
|||||||
if (c != 0) {
|
if (c != 0) {
|
||||||
if (c == '\n') cons_putk('\r');
|
if (c == '\n') cons_putk('\r');
|
||||||
out_char(&cons_table[0], (int) c);
|
out_char(&cons_table[0], (int) c);
|
||||||
|
#if 0
|
||||||
|
ser_putc(c);
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
flush(&cons_table[0]);
|
flush(&cons_table[0]);
|
||||||
}
|
}
|
||||||
|
@ -891,6 +891,10 @@ register rs232_t *rs; /* line with input interrupt */
|
|||||||
|
|
||||||
unsigned long c;
|
unsigned long c;
|
||||||
|
|
||||||
|
#if 0 /* Enable this if you want serial input in the kernel */
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (MACHINE == IBM_PC)
|
#if (MACHINE == IBM_PC)
|
||||||
sys_inb(rs->recv_port, &c);
|
sys_inb(rs->recv_port, &c);
|
||||||
#else /* MACHINE == ATARI */
|
#else /* MACHINE == ATARI */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user