/* tty1 is the screen tty2 is the serial port tty3 is MIDI */
/* Output for the system console (kprintf etc) */
-void kputchar(char c)
+void kputchar(uint8_t c)
{
if (c == '\n')
tty_putc(1, '\r');
/* Output for the system console (kprintf etc) */
-void kputchar(char c)
+void kputchar(uint_fast8_t c)
{
uint8_t minor = minor(TTYDEV);
#define PUTB(x,y) uart_base[(x)] = (y)
/* Output for the system console (kprintf etc). Polled. */
-void kputchar(char c)
+void kputchar(uint8_t c)
{
if (c == '\n') {
while(!(GETB(UART_SRA) & 4));
#define PUTB(x,y) uart_base[(x)] = (y)
/* Output for the system console (kprintf etc). Polled. */
-void kputchar(char c)
+void kputchar(uint8_t c)
{
if (c == '\n') {
while(!(GETB(UART_SRA) & 4));