minix/kernel/arch/earm/direct_tty_utils.c
Antoine Leca da82f9b2e8 <a.out.h>, MINIX style: remove as obsolete
Change-Id: Icc8b7210d60a93ac9cc4610d676dcba270756410
2013-08-06 11:43:35 +02:00

30 lines
373 B
C

#include "kernel/kernel.h"
#include "direct_utils.h"
#include "serial.h"
#include "glo.h"
void direct_cls(void)
{
/* Do nothing */
}
void direct_print_char(char c)
{
if(c == '\n')
ser_putc('\r');
ser_putc(c);
}
void direct_print(const char *str)
{
while (*str) {
direct_print_char(*str);
str++;
}
}
int direct_read_char(unsigned char *ch)
{
return 0;
}