use oxpcie only if enabled to avoid baud bottleneck of uart.
This commit is contained in:
parent
9ba760e603
commit
6d0e53c2ca
1 changed files with 2 additions and 2 deletions
|
@ -229,8 +229,7 @@ PUBLIC void ser_putc(char c)
|
||||||
|
|
||||||
#if CONFIG_OXPCIE
|
#if CONFIG_OXPCIE
|
||||||
oxpcie_putc(c);
|
oxpcie_putc(c);
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
lsr= COM1_LSR;
|
lsr= COM1_LSR;
|
||||||
thr= COM1_THR;
|
thr= COM1_THR;
|
||||||
for (i= 0; i<100000; i++)
|
for (i= 0; i<100000; i++)
|
||||||
|
@ -239,6 +238,7 @@ PUBLIC void ser_putc(char c)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
outb( thr, c);
|
outb( thr, c);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
|
|
Loading…
Reference in a new issue