From: John Tsiombikas Date: Sat, 9 Jun 2018 11:47:30 +0000 (+0300) Subject: removed waiting for CTS in serial out and reinstated the serial output by default... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootcensus;a=commitdiff_plain;h=0626040a5133ff8f8e071a20e9165c9618eb8c4a removed waiting for CTS in serial out and reinstated the serial output by default. This needs to become an option of some sort. --- diff --git a/src/config.h b/src/config.h index be99bf7..58a6147 100644 --- a/src/config.h +++ b/src/config.h @@ -22,6 +22,6 @@ along with this program. If not, see . #define TICK_FREQ_HZ 250 #define CON_TEXTMODE -#undef CON_SERIAL +#define CON_SERIAL #endif /* PCBOOT_CONFIG_H_ */ diff --git a/src/serial.c b/src/serial.c index 792f296..e833672 100644 --- a/src/serial.c +++ b/src/serial.c @@ -234,7 +234,7 @@ void ser_putc(int fd, char c) } while(!can_send(fd)); - while((inb(base + UART_MSTAT) & MST_CTS) == 0); + /*while((inb(base + UART_MSTAT) & MST_CTS) == 0);*/ outb(c, base + UART_DATA); }