/* * (C) P. Horton 2006 */ #include #include #include #include #include #include static void putchar(int c) { if(c == '\n') putchar('\r'); while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE)) ; COBALT_UART[UART_TX] = c; }