]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg-paging/vga-overlay.c
add serial output to aseg-paging
[netwatch.git] / aseg-paging / vga-overlay.c
index 4d19c3bd6366f18a02ae899ce89190e848dacd72..7b33a7bd03f09dfd691516ea61b8fbca3eaa6de5 100644 (file)
@@ -4,6 +4,7 @@
 #include <minilib.h>
 #include <stdarg.h>
 #include <output.h>
+#include <serial.h>
 
 #define LOGLEN 96
 #define LOG_ONSCREEN 4
@@ -86,6 +87,8 @@ void dolog(const char *s)
 {
        strcpy(logents[prodptr], s);
        prodptr = (prodptr + 1) % LOGLEN;
+       while (*s)
+               serial_tx(*s);
        if (flush_imm)
                outlog();
 }
This page took 0.023517 seconds and 4 git commands to generate.